Function at 0x4631b0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5ad2f6
mov eax, dword fs:[0]
push eax
sub esp, 0xc3c
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0xc38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0xc50]
mov dword fs:[0], eax
cmp dword [0x5fe5b0], 0
mov esi, ecx
mov dword [esp + 0x20], esi
jne 0x463576
mov eax, dword [0x5fdb9c]
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
xor ebx, ebx
push esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
call fcn.00462f10
test eax, eax
jne 0x463457
call fcn.0040cbf0
mov ebp, dword [0x5fe584]
mov ecx, 0x304
mov esi, ebp
lea edi, [esp + 0x3c]
mov dword [0x5fe580], 1
rep movsd dword es:[edi], dword [esi]
jmp 0x463250
cmp ebx, 8
mov edx, dword [esp + 0x18]
mov esi, dword [edx + ebx*4 + 0x3c]
ja case.default.0x463261
jmp dword [ebx*4 + 0x4635a4]
mov ecx, ebp
mov edi, esi
call fcn.0041e880
jmp case.default.0x463261
push ebp
mov ebx, esi
call fcn.004353a0
mov ebx, dword [esp + 0x20]
add esp, 4
jmp case.default.0x463261
mov edi, ebp
call fcn.00425b10
jmp case.default.0x463261
push ebp
push esi
call fcn.00411ff0
add esp, 8
jmp case.default.0x463261
push ebp
call fcn.00413b40
add esp, 4
jmp case.default.0x463261
mov ecx, dword [esp + 0x20]
push ebp
add ecx, 0xf4
call fcn.004782f0
jmp case.default.0x463261
mov ecx, ebp
call fcn.00443910
jmp case.default.0x463261
mov eax, ebp
call fcn.004341b0
jmp case.default.0x463261
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0x2cc]
xor eax, eax
test ecx, ecx
je 0x4632e4
mov ecx, dword [ecx]
cmp ecx, dword [edx + 0x54]
jne 0x4632e4
mov eax, 1
mov ecx, ebp
mov edx, esi
call fcn.0042b0c0
add ebx, 1
cmp ebx, 9
mov dword [esp + 0x1c], ebx
jl 0x463250
call fcn.00464920
mov dword [esp + 0x28], eax
mov byte [eax + 0xf], 1
mov eax, dword [esp + 0x28]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x28]
mov dword [eax], eax
mov eax, dword [esp + 0x28]
xor esi, esi
mov dword [eax + 8], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0xc58], esi
movzx eax, word [ebp + 0x8aa]
cmp ax, si
je 0x463356
movzx edx, ax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ebx, [esp + 0x2c]
mov esi, 1
mov dword [esp + 0x20], edx
call fcn.00463a80
movzx eax, word [ebp + 0x8a4]
test ax, ax
je 0x46337f
movzx edx, ax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ebx, [esp + 0x2c]
add esi, 1
mov dword [esp + 0x20], edx
call fcn.00463a80
movzx eax, word [ebp + 0x8a6]
test ax, ax
je 0x4633a8
movzx edx, ax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ebx, [esp + 0x2c]
add esi, 1
mov dword [esp + 0x20], edx
call fcn.00463a80
movzx eax, word [ebp + 0x8a8]
test ax, ax
je 0x4633d1
movzx edx, ax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ebx, [esp + 0x2c]
add esi, 1
mov dword [esp + 0x20], edx
call fcn.00463a80
movzx eax, word [ebp + 0x8ac]
test ax, ax
je 0x4633fa
movzx edx, ax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ebx, [esp + 0x2c]
add esi, 1
mov dword [esp + 0x20], edx
call fcn.00463a80
movzx eax, word [ebp + 0x8ae]
test ax, ax
je 0x463423
movzx edx, ax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ebx, [esp + 0x2c]
add esi, 1
mov dword [esp + 0x20], edx
call fcn.00463a80
cmp dword [esp + 0x2c], esi
je 0x46345e
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
push 0
push 0x5bdca0
push 0x5c1810
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [esp + 0x24]
mov dword [esp + 0xc58], 0xffffffff
call fcn.004635d0
xor eax, eax
jmp 0x46357b
mov ecx, dword [esp + 0x9a0]
cmp ecx, dword [ebp + 0x964]
je 0x463474
mov byte [ebp + 0x99c], 1
mov edx, dword [esp + 0x9fc]
cmp edx, dword [ebp + 0x9c0]
jne 0x463492
mov eax, dword [esp + 0x4a0]
cmp eax, dword [ebp + 0x464]
je 0x463499
mov byte [ebp + 0x99d], 1
mov eax, dword [esp + 0x470]
cmp eax, 2
je 0x4634ae
cmp eax, 8
je 0x4634ae
xor ecx, ecx
jmp 0x4634b3
mov ecx, 1
mov eax, dword [ebp + 0x434]
cmp eax, 2
je 0x4634c7
cmp eax, 8
je 0x4634c7
xor eax, eax
jmp 0x4634cc
mov eax, 1
cmp ecx, eax
je 0x463520
lea edi, [esp + 0x1c]
call fcn.00474ab0
mov eax, edi
mov byte [esp + 0xc58], 1
call fcn.0047aca0
mov edx, str.phrase.ini
call fcn.00412930
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x463508
mov byte [ebp + 0x99c], 1
lea ecx, [esp + 0x1c]
mov byte [ebp + 0x99d], 1
mov byte [esp + 0xc58], 0
call fcn.00404510
mov ecx, 0x304
mov esi, ebp
mov edi, 0x601480
rep movsd dword es:[edi], dword [esi]
call fcn.0040cbf0
call fcn.00486380
test eax, eax
jne 0x463548
push 1
push ebp
call fcn.0040cc60
test eax, eax
jne 0x463562
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
push 0
push 0x5c1840
push 0x5c184c
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [esp + 0x24]
mov dword [esp + 0xc58], 0xffffffff
call fcn.004635d0
mov eax, 1
mov ecx, dword [esp + 0xc50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc38]
xor ecx, esp
call fcn.005787fd
add esp, 0xc48
ret