Function at 0x405b50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x426c6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push esi
push edi
mov edi, ecx
xor esi, esi
lea ecx, [esp + 8]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
call fcn.0041f5c6
lea eax, [esp + 0x1c]
mov dword [esp + 0x94], esi
push eax
call fcn.0041f173
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x1c], ecx
call fcn.0041f173
push esi
push esi
push str.savep.dat
lea ecx, [esp + 0x14]
call fcn.0041f6d8
mov eax, dword [0x4312f0]
cmp eax, esi
jne 0x405c48
cmp dword [0x4312e8], esi
jne 0x405caf
cmp dword [0x4312ec], esi
jne 0x405caf
mov eax, dword [esp + 8]
push esi
push esi
lea ecx, [esp + 0x10]
call dword [eax + 0x28]
jmp 0x405caf
cmp eax, 1
jne 0x405c65
mov eax, dword [0x4312e8]
mov ecx, dword [0x4312ec]
cmp eax, esi
jne 0x405c82
cmp ecx, esi
jne 0x405c9b
push esi
push 0x60
jmp 0x405ca6
cmp eax, 2
jne 0x405caf
cmp dword [0x4312e8], esi
jne 0x405caf
cmp dword [0x4312ec], esi
jne 0x405caf
push esi
push 0xc0
jmp 0x405ca6
cmp eax, 1
jne 0x405c97
cmp dword [0x4312ec], esi
jne 0x405caf
push esi
push 0x120
jmp 0x405ca6
cmp eax, esi
jne 0x405caf
cmp ecx, 1
jne 0x405caf
push esi
push 0x180
lea ecx, [esp + 0x10]
call fcn.0041f87a
push ebx
lea ecx, [esp + 0x24]
push 0x60
push ecx
lea ecx, [esp + 0x14]
call fcn.0041f7f5
lea ecx, [esp + 0xc]
call fcn.0041f8f3
mov edx, dword [edi + 0xfdc]
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x88], edx
call fcn.0041f186
mov eax, dword [eax + 0x10]
push esi
inc eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x8c], eax
call fcn.0041f186
mov eax, dword [eax + 0xc]
mov ebx, 9
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x24]
mov edi, 8
mov ecx, dword [eax + 0xc]
mov edx, dword [eax]
cmp ecx, edx
jle 0x405d33
mov dword [eax + 0xc], edx
mov dword [eax], ecx
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x10], edx
mov dword [eax + 4], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0x14]
mov dword [eax + 0x14], edx
mov dword [eax + 8], ecx
add eax, 0xc
dec edi
jne 0x405d0d
dec ebx
jne 0x405d04
push esi
push 1
push str.savep.dat
lea ecx, [esp + 0x18]
call fcn.0041f6d8
test eax, eax
pop ebx
je 0x405dfe
mov eax, dword [0x4312f0]
cmp eax, esi
jne 0x405d7e
cmp dword [0x4312e8], esi
jne 0x405de5
cmp dword [0x4312ec], esi
jne 0x405de5
mov eax, dword [esp + 8]
push esi
push esi
lea ecx, [esp + 0x10]
call dword [eax + 0x28]
jmp 0x405de5
cmp eax, 1
jne 0x405d9b
mov eax, dword [0x4312e8]
mov ecx, dword [0x4312ec]
cmp eax, esi
jne 0x405db8
cmp ecx, esi
jne 0x405dd1
push esi
push 0x60
jmp 0x405ddc
cmp eax, 2
jne 0x405de5
cmp dword [0x4312e8], esi
jne 0x405de5
cmp dword [0x4312ec], esi
jne 0x405de5
push esi
push 0xc0
jmp 0x405ddc
cmp eax, 1
jne 0x405dcd
cmp dword [0x4312ec], esi
jne 0x405de5
push esi
push 0x120
jmp 0x405ddc
cmp eax, esi
jne 0x405de5
cmp ecx, 1
jne 0x405de5
push esi
push 0x180
lea ecx, [esp + 0x10]
call fcn.0041f87a
lea ecx, [esp + 0x20]
push 0x60
push ecx
lea ecx, [esp + 0x10]
call fcn.0041f82f
lea ecx, [esp + 8]
call fcn.0041f8f3
lea ecx, [esp + 8]
mov dword [esp + 0x94], 0xffffffff
call fcn.0041f61b
mov ecx, dword [esp + 0x8c]
pop edi
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x90
ret