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

Disassembly:
push 0xffffffffffffffff
push 0x6106f9
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0xbc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0xe4]
mov esi, dword [esp + 0xec]
mov ebp, dword [esp + 0xe8]
movzx ebx, ax
mov dword [esp + 0x18], esi
mov dword [esp + 0xcc], 0xf
mov dword [esp + 0xc8], 0
mov byte [esp + 0xb8], 0
mov dword [esp + 0xb4], 0x4ca328
mov eax, dword [edi + 0x28]
and eax, 3
mov dword [esp + 0xdc], 0
dec eax
je 0x5998d4
dec eax
je 0x59999b
dec eax
jne 0x599971
push 0xffffffffffffffff
push esi
push ebp
push ebx
lea eax, [esp + 0x88]
mov ecx, edi
push eax
call fcn.00598b30
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe0], 1
call fcn.00542680
cmp dword [esp + 0x90], 0x10
mov byte [esp + 0xdc], 0
mov dword [esp + 0x78], 0x4ca328
jb 0x599923
push dword [esp + 0x7c]
call fcn.005df995
add esp, 4
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], 0
mov byte [esp + 0x7c], 0
lea eax, [esp + 0xb4]
mov ecx, edi
push eax
call fcn.00596610
cmp dword [esp + 0xcc], 0x10
mov dword [esp + 0xb4], 0x4ca328
jb 0x599971
push dword [esp + 0xb8]
call fcn.005df995
add esp, 4
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.005e0482
add esp, 0xcc
ret 0xc
push 0xffffffffffffffff
push esi
push ebp
push ebx
lea eax, [esp + 0x34]
mov ecx, edi
push eax
call fcn.00598b30
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe0], 2
call fcn.00542680
cmp dword [esp + 0x3c], 0x10
mov byte [esp + 0xdc], 0
mov dword [esp + 0x24], 0x4ca328
jb 0x5999e4
push dword [esp + 0x28]
call fcn.005df995
add esp, 4
lea ecx, [esp + 0xb4]
mov dword [esp + 0x3c], 0xf
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0
push ecx
lea ecx, [edi + 0x88]
mov byte [esp + 0x30], 0
call fcn.0059a050
push dword [esp + 0x18]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push dword [esp + 0x28]
push dword [esp + 0x28]
call fcn.00580bd0
add esp, 0x10
cmp dword [esp + 0x14], 0
jne 0x599b2e
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 1
push eax
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x9c]
call fcn.00598610
movzx ecx, byte [0x638414]
push ecx
push eax
push 0
lea eax, [esp + 0x28]
mov byte [esp + 0xe8], 3
push eax
lea ecx, [edi + 0x88]
call fcn.00598930
cmp dword [esp + 0xac], 0x10
mov byte [esp + 0xdc], 0
mov dword [esp + 0x94], 0x4ca328
jb 0x599aad
push dword [esp + 0x98]
call fcn.005df995
add esp, 4
push 0
push esi
push ebp
push ebx
lea eax, [esp + 0x6c]
mov dword [esp + 0xbc], 0xf
push eax
mov ecx, edi
mov dword [esp + 0xbc], 0
mov byte [esp + 0xac], 0
call fcn.00598b30
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe0], 4
call fcn.00542680
cmp dword [esp + 0x74], 0x10
mov byte [esp + 0xdc], 0
mov dword [esp + 0x5c], 0x4ca328
jb 0x599b14
push dword [esp + 0x60]
call fcn.005df995
add esp, 4
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
jmp 0x59993e
lea eax, [esp + 0xb4]
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [edi + 0x88]
call fcn.0059a380
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x40]
mov ecx, edi
push dword [esi + 0x2c]
push dword [esp + 0x1c]
push ebp
push ebx
push eax
call fcn.00598b30
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe0], 5
call fcn.00542680
cmp dword [esp + 0x58], 0x10
mov byte [esp + 0xdc], 0
mov dword [esp + 0x40], 0x4ca328
jb 0x599b9f
push dword [esp + 0x44]
call fcn.005df995
add esp, 4
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
inc dword [esi + 0x2c]
jmp 0x59993e