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

Disassembly:
push 0xffffffffffffffff
push 0x66781a
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x705e7c]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
mov dword [0x70e098], esi
xor ebx, ebx
lea ecx, [esi + 0x50]
mov dword [esp + 0x88], ebx
mov dword [esi], 0x68eb00
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
call fcn.005d05e0
lea ecx, [esi + 0x70]
mov byte [esp + 0x88], 1
mov dword [esi + 0x6c], ebx
call fcn.005d05e0
lea eax, [esp + 0x17]
push eax
lea edx, [esp + 0x1b]
lea ecx, [esi + 0x9c]
push edx
mov byte [esp + 0x90], 2
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
call fcn.00596b60
lea ecx, [esi + 0xbc]
mov byte [esp + 0x88], 3
call fcn.005d05e0
lea ecx, [esi + 0xd8]
mov byte [esp + 0x88], 4
call fcn.005d05e0
lea ecx, [esi + 0xf8]
mov byte [esp + 0x88], 5
call fcn.005d05e0
lea eax, [esp + 0x17]
push eax
lea edx, [esp + 0x1b]
lea ecx, [esi + 0x114]
push edx
mov byte [esp + 0x90], 6
call fcn.005321f0
push 0xa4
mov byte [esp + 0x8c], 7
call fcn.00611363
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x88], 8
cmp eax, ebx
je 0x59a345
push ebx
mov ecx, eax
call fcn.005a5630
jmp 0x59a347
xor eax, eax
push 0x68eb30
mov ecx, eax
mov byte [esp + 0x8c], 7
mov dword [esi + 0xf4], eax
call fcn.005a5df0
mov ecx, dword [esi + 0xf4]
call fcn.005a3000
mov dword [esp + 0x30], 0x68eb04
mov dword [esp + 0x34], 0x68eb24
mov dword [esp + 0x38], 0x68eae0
mov dword [esp + 0x3c], 0x68eb18
mov dword [esp + 0x40], 0x68eb10
mov dword [esp + 0x18], ebx
push 0xa4
call fcn.00611363
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
mov byte [esp + 0x88], 9
cmp edi, ebx
je 0x59a3c7
push ebx
mov ecx, edi
call fcn.005a5630
mov dword [edi], 0x68ea34
jmp 0x59a3c9
xor edi, edi
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + eax*4 + 0x30]
push ebp
mov ecx, edi
mov byte [esp + 0x8c], 7
mov dword [esp + 0x20], edi
call fcn.005a5df0
mov ecx, edi
call fcn.005a3000
mov eax, ebp
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x59a401
sub eax, ecx
push eax
push ebp
lea ecx, [esp + 0x4c]
call fcn.00417c40
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x4c]
push ecx
mov ebp, 0xf
lea ecx, [esp + 0x6c]
mov byte [esp + 0x94], 0xa
mov dword [esp + 0x84], ebp
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
call fcn.00418140
mov dword [esp + 0x7c], edi
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esi + 0x114]
mov byte [esp + 0x90], 0xb
call fcn.00598e90
cmp dword [esp + 0x78], 0x10
jb 0x59a47a
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00611358
add esp, 4
cmp dword [esp + 0x5c], 0x10
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
mov byte [esp + 0x88], 7
jb 0x59a4a2
mov edx, dword [esp + 0x48]
push edx
call fcn.00611358
add esp, 4
mov ecx, dword [esi + 0xf4]
push edi
call fcn.005a6600
mov edi, dword [esi + 0x10c]
mov edx, dword [edi + 4]
lea ecx, [esi + 0xf8]
lea eax, [esp + 0x1c]
push eax
push edx
push edi
call fcn.005a7240
push 1
lea ecx, [esi + 0xf8]
mov ebp, eax
call fcn.00529a60
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, 5
jb 0x59a398
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 0x64]
mov dword [ecx + 4], ecx
mov dword [esi + 0x68], ebx
cmp eax, dword [esi + 0x64]
je 0x59a519
mov edi, dword [eax]
push eax
call fcn.00611358
add esp, 4
mov eax, edi
cmp edi, dword [esi + 0x64]
jne 0x59a507
mov ecx, dword [esi + 0x84]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 0x84]
mov dword [ecx + 4], ecx
mov dword [esi + 0x88], ebx
cmp eax, dword [esi + 0x84]
je 0x59a555
lea ebx, [ebx]
mov edi, dword [eax]
push eax
call fcn.00611358
add esp, 4
mov eax, edi
cmp edi, dword [esi + 0x84]
jne 0x59a540
push 0x68eb0c
call dword [0x673730]
mov dword [0x750698], eax
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret