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

Disassembly:
mov eax, 0x258
call fcn.005c5c30
mov eax, dword [0x65db30]
xor eax, esp
mov dword [esp + 0x254], eax
mov eax, dword [esp + 0x25c]
push ebx
push ebp
push esi
push edi
push 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x274]
push 1
push eax
lea ecx, [esp + 0x1b0]
push ecx
mov dword [esp + 0x24], 0
call fcn.005c0b50
mov ecx, 0x10
mov esi, 0x633808
lea edi, [esp + 0xf4]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
mov esi, 0x6337c8
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x34]
sub eax, 4
mov ecx, 0x10
lea esi, [esp + 0x1b4]
lea edi, [esp + 0x174]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x28], eax
mov ecx, 0x10
mov esi, 0x633808
lea edi, [esp + 0xb4]
lea eax, [esp + 0xb4]
add esp, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x1bf
sub eax, 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], eax
lea ebx, [esp + 0x64]
jmp 0x59d754
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x274]
mov eax, ecx
shr eax, 3
mov dl, byte [eax + edx]
test eax, eax
jne 0x59d76c
and dl, 0xfc
jmp 0x59d777
cmp ecx, 0x1bf
jne 0x59d777
or dl, 0xff
mov edi, dword [esp + 0x14]
movzx ecx, cl
movzx ebp, dl
and ecx, 7
shr ebp, cl
lea ecx, [esp + 0x164]
lea edx, [esp + 0xe4]
and ebp, 1
neg ebp
xor edi, ebp
call fcn.0059c720
lea ecx, [esp + 0xa4]
lea edx, [esp + 0x24]
call fcn.0059c720
lea eax, [esp + 0x124]
push eax
lea ecx, [esp + 0x28]
lea esi, [esp + 0xe8]
mov dword [esp + 0x18], ebp
call fcn.005c01b0
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0059c4d0
add esp, 8
xor eax, eax
nop
xor ecx, ecx
cmp eax, 8
setne cl
inc eax
lea ecx, [ecx + ecx + 0x1ffffffc]
add dword [esp + eax*4 + 0x60], ecx
cmp eax, 0x10
jb 0x59d7e0
mov ecx, dword [esp + 0xa0]
shr ecx, 0x1c
add dword [esp + 0x84], ecx
mov eax, 0xf
nop
mov esi, dword [esp + eax*4 + 0x64]
mov edx, dword [ebx + eax*4 - 4]
shr edx, 0x1c
and esi, 0xfffffff
add edx, esi
dec eax
mov dword [esp + eax*4 + 0x68], edx
jne 0x59d810
mov eax, dword [esp + 0x64]
and eax, 0xfffffff
add eax, ecx
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0xa8]
lea esi, [esp + 0x168]
mov dword [esp + 0x68], eax
call fcn.0059c4d0
add esp, 4
xor eax, eax
xor ecx, ecx
cmp eax, 8
setne cl
inc eax
lea ecx, [ecx + ecx + 0x1ffffffc]
add dword [esp + eax*4 + 0x20], ecx
cmp eax, 0x10
jb 0x59d856
mov ecx, dword [esp + 0x60]
shr ecx, 0x1c
add dword [esp + 0x44], ecx
mov eax, 0xf
nop
mov edx, dword [esp + 0x18]
mov edx, dword [edx + eax*4]
mov esi, dword [esp + eax*4 + 0x24]
shr edx, 0x1c
and esi, 0xfffffff
add edx, esi
dec eax
mov dword [esp + eax*4 + 0x28], edx
jne 0x59d880
mov eax, dword [esp + 0x24]
and eax, 0xfffffff
add eax, ecx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x128]
mov dword [esp + 0x28], eax
push edx
lea eax, [esp + 0xec]
push eax
call fcn.005c0c90
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x174]
lea esi, [esp + 0xb4]
call fcn.005c01b0
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x17c]
push ecx
call fcn.005c0c90
mov edx, esi
push edx
lea ecx, [esp + 0x184]
lea esi, [esp + 0x104]
call fcn.0059c4d0
add esp, 0x20
xor eax, eax
xor ecx, ecx
cmp eax, 8
setne cl
inc eax
lea ecx, [ecx + ecx + 0x1ffffffc]
add dword [esp + eax*4 + 0xa0], ecx
cmp eax, 0x10
jb 0x59d910
mov ecx, dword [esp + 0xe0]
shr ecx, 0x1c
add dword [esp + 0xc4], ecx
mov eax, 0xf
mov edx, dword [esp + 0x20]
mov edx, dword [edx + eax*4]
mov esi, dword [esp + eax*4 + 0xa4]
shr edx, 0x1c
and esi, 0xfffffff
add edx, esi
dec eax
mov dword [esp + eax*4 + 0xa8], edx
jne 0x59d942
mov eax, dword [esp + 0xa4]
and eax, 0xfffffff
add eax, ecx
lea ecx, [esp + 0xa4]
push ecx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0xac], eax
call fcn.005c15a0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1b0]
push ecx
lea edx, [esp + 0xb4]
push edx
call fcn.005c0c90
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x17c]
lea esi, [esp + 0xfc]
call fcn.005c01b0
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x180]
push edx
call fcn.005c15a0
lea eax, [esp + 0x144]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.005c15a0
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x150]
push eax
call fcn.005c15a0
lea ecx, [esp + 0x154]
push ecx
lea edx, [esp + 0x58]
push edx
mov eax, esi
push eax
call fcn.005c0c90
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x164]
lea esi, [esp + 0x64]
call fcn.0059c4d0
add esp, 0x40
xor eax, eax
lea esp, [esp]
xor ecx, ecx
cmp eax, 8
setne cl
inc eax
lea ecx, [ecx + ecx + 0x1ffffffc]
add dword [esp + eax*4 + 0x60], ecx
cmp eax, 0x10
jb 0x59da30
mov ecx, dword [esp + 0xa0]
shr ecx, 0x1c
add dword [esp + 0x84], ecx
mov eax, 0xf
nop
mov esi, dword [esp + eax*4 + 0x64]
mov edx, dword [ebx + eax*4 - 4]
shr edx, 0x1c
and esi, 0xfffffff
add edx, esi
dec eax
mov dword [esp + eax*4 + 0x68], edx
jne 0x59da60
mov eax, dword [esp + 0x64]
and eax, 0xfffffff
add eax, ecx
push 0x98a9
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x12c]
push edx
mov dword [esp + 0x70], eax
call fcn.005c11d0
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x34]
mov esi, eax
call fcn.005c01b0
mov ecx, esi
push ecx
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.005c0c90
add esp, 0x1c
dec dword [esp + 0x10]
jns 0x59d750
mov edi, ebp
lea ecx, [esp + 0x164]
lea edx, [esp + 0xe4]
call fcn.0059c720
lea ecx, [esp + 0xa4]
lea edx, [esp + 0x24]
call fcn.0059c720
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1e8]
push edx
call fcn.005c15a0
lea eax, [esp + 0x1ec]
push eax
lea ecx, [esp + 0x230]
push ecx
call fcn.005c05b0
lea edx, [esp + 0x234]
push edx
lea eax, [esp + 0x1f8]
push eax
call fcn.005c15a0
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x200]
push edx
lea eax, [esp + 0x244]
push eax
call fcn.005c0c90
mov ecx, 0x10
lea esi, [esp + 0x248]
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x10c]
push edx
lea eax, [esp + 0x1d0]
push eax
call fcn.005c0c90
mov edx, dword [esp + 0x4c]
push 1
lea ecx, [esp + 0x1d8]
push ecx
push edx
call fcn.005c09c0
lea eax, [esp + 0x1e0]
push 0x6337c8
push eax
call fcn.005c04d0
add esp, 0x44
lea ecx, [esp + 0x1a4]
mov esi, eax
push 0x40
push ecx
not esi
call fcn.004e60d0
lea edx, [esp + 0xec]
push 0x40
push edx
call fcn.004e60d0
lea eax, [esp + 0x34]
push 0x40
push eax
call fcn.004e60d0
lea ecx, [esp + 0x17c]
push 0x40
push ecx
call fcn.004e60d0
lea edx, [esp + 0xc4]
push 0x40
push edx
call fcn.004e60d0
lea eax, [esp + 0x14c]
push 0x40
push eax
call fcn.004e60d0
lea ecx, [esp + 0x94]
push 0x40
push ecx
call fcn.004e60d0
mov ecx, dword [esp + 0x29c]
add esp, 0x38
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005c5718
add esp, 0x258
ret