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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
push 0x14
mov dword [ebp - 8], ebx
push dword [esi + 0x94]
push dword [esi + 0x90]
push dword [esi + 0x8c]
push dword [esi + 0x88]
push 0
push ebx
call dword [0x101472c8]
push 0
push 0
push dword [esi + 0x3c]
push dword [esi + 4]
push 0
push 0x1ff
push 1
push 0xff
push dword [esi + 0x2c]
push dword [esi + 0x10]
push dword [esi + 0x9c]
push dword [esi + 0x98]
push dword [esi]
push esi
push dword [esi + 0x1c]
push 0
push 0
push 0xff
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push 0
call fcn.00601b11
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x59df4e
cmp dword [eax + 4], 2
jle 0x59df4e
mov ebx, dword [esi + 0x50]
jmp 0x59df67
mov eax, dword [esi + 0x90]
sub eax, dword [esi + 0x50]
sub eax, dword [esi + 0x58]
sub eax, dword [esi + 0x78]
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
add ebx, dword [esi + 0x50]
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x59dfca
cmp dword [eax + 4], 0
je 0x59dfca
push 0
push 0
push 0
push 0
push 0
push 1
push 0
mov ecx, dword [esi + 0x78]
push 1
push eax
push dword [esi + 8]
mov eax, dword [esi + 0x94]
sub eax, dword [esi + 0x5c]
sub eax, dword [esi + 0x54]
push 0
push 0
push 0
push 0
push 0xff
push 0
push 1
push 0
sub eax, ecx
push 0
cdq
push ecx
sub eax, edx
push ecx
sar eax, 1
add eax, dword [esi + 0x54]
push eax
push ebx
mov ebx, dword [ebp - 4]
push 0
push ebx
call fcn.005ae211
jmp 0x59dfcd
mov ebx, dword [ebp - 4]
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x59e046
cmp dword [eax + 4], 2
jle 0x59e046
mov ecx, dword [esi + 0xa0]
test ecx, ecx
je 0x59dff8
cmp dword [ecx + 4], 0
je 0x59dff8
mov edx, dword [esi + 0x7c]
add edx, dword [esi + 0x50]
add edx, dword [esi + 0x78]
jmp 0x59dffb
mov edx, dword [esi + 0x50]
push 0
push 0
push 0
push dword [esi + 0x30]
mov ecx, dword [esi + 0x54]
push dword [esi + 0x14]
push 0
push 1
push eax
mov eax, dword [esi + 0x94]
sub eax, dword [esi + 0x5c]
push 0
push 0
push 0
push 0
push 0xff
push 0
push 1
push 0
push 0
sub eax, ecx
push eax
mov eax, dword [esi + 0x90]
sub eax, dword [esi + 0x58]
sub eax, edx
push eax
push ecx
push edx
push 0
push ebx
call fcn.0057cbc1
mov edx, dword [esi + 0x40]
test edx, edx
je 0x59e0e5
mov edi, dword [esi + 0x90]
sub edi, dword [esi + 0x4c]
sub edi, dword [esi + 0x58]
mov dword [ebp + 0xc], 0
test edx, edx
jle 0x59e0e5
mov eax, dword [esi + 0x44]
mov ebx, dword [ebp + 0xc]
push 0
push 0
push dword [esi + 0x3c]
mov ecx, dword [esi + 0x64]
push dword [esi + 0x34]
push dword [esi + 0x18]
push dword [eax + ebx*4]
mov eax, ebx
mov ebx, dword [ebp - 4]
push dword [esi + 0xc]
sub edx, eax
push eax
push dword [esi + 0x20]
add edx, 0x10000
push edx
mov edx, dword [esi + 0x48]
push 0
push 0xff
push 0
push 1
push 0
push 0x100b3e60
push ecx
push dword [edx + eax*4]
mov eax, dword [esi + 0x94]
sub eax, ecx
sub eax, dword [esi + 0x60]
push eax
push edi
push 0
push ebx
call fcn.004ff0e1
mov edx, dword [ebp + 0xc]
mov ecx, dword [esi + 0x24]
mov dword [ecx + edx*4], eax
mov ecx, edx
mov eax, dword [esi + 0x48]
mov edx, dword [esi + 0x40]
mov eax, dword [eax + ecx*4]
inc ecx
add eax, dword [esi + 0x70]
add edi, eax
mov dword [ebp + 0xc], ecx
cmp ecx, edx
jl 0x59e068
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x59e100
push dword [esi + 0xb8]
push 0
push 0
push 0
push 1
push ebx
call eax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x59e12a
push 0
push 1
push 1
push 0x46
push 0xffffff01
push 0x22
movzx eax, ax
push eax
push 0x3e8
push ebx
call fcn.00554ad1
mov edi, dword [ebp - 8]
jmp 0x59e150
mov edi, dword [ebp - 8]
push 0x43
push dword [esi + 0x94]
push dword [esi + 0x90]
push dword [esi + 0x8c]
push dword [esi + 0x88]
push 0xffffffffffffffff
push edi
call dword [0x101472c8]
call dword [0x101472bc]
cmp eax, edi
je 0x59e161
push edi
call dword [0x101472f0]
mov ecx, dword [esi + 0xac]
test ecx, ecx
js 0x59e170
cmp ecx, dword [esi + 0x40]
jl 0x59e17c
mov dword [esi + 0xac], 0
xor ecx, ecx
cmp dword [esi + 0x40], 0
je 0x59e18d
mov eax, dword [esi + 0x24]
push dword [eax + ecx*4]
call fcn.005361a1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8