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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov cl, 0x93
mov dl, 0x8f
call fcn.00567f54
xor ebx, ebx
jmp 0x59af01
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x3c], 0
je 0x59af00
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
cmp byte [eax + 0x437], 0
je 0x59aa8d
mov dword [ebp - 0x1c], ebx
jmp 0x59aa6e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.00566a44
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
call fcn.00566abc
mov edi, eax
mov esi, 0x80000000
mov eax, dword [ebp - 0x1c]
mov edx, edi
sub edx, eax
jl 0x59aa13
inc edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, dword [ebp - 0x20]
call fcn.005f28cc
test al, al
je 0x59a9f0
mov esi, dword [ebp - 0x20]
jmp 0x59aa13
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4]
cmp byte [eax + 0x3c], 0
je 0x59aa13
inc dword [ebp - 0x20]
dec dword [ebp - 0x34]
jne 0x59a9d9
cmp esi, 0x80000000
je 0x59aa1f
cmp ebx, esi
jne 0x59aa5e
sub edi, ebx
jl 0x59aa51
inc edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4]
cmp byte [eax + 0x3c], 0
je 0x59aa51
mov byte [eax + 0x3c], 0
inc dword [ebp - 0x20]
dec dword [ebp - 0x34]
jne 0x59aa2a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
call fcn.005f3000
jmp 0x59aa6e
mov dword [ebp - 0x1c], esi
push ebp
mov eax, dword [ebp - 0x1c]
call fcn.0059a71c
pop ecx
inc dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [eax + edx*4]
cmp byte [eax + 0x3c], 0
jne 0x59a9a7
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x3c], 0
je 0x59af01
call fcn.00651de8
mov dword [ebp - 4], eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov ecx, dword [ebp - 4]
mov edx, ebx
call fcn.005f2f50
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
jle 0x59aef5
push 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov ecx, dword [ebp - 4]
mov edx, ebx
call fcn.005f358c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 4
imul edx, dword [eax + 0xd8], 0x27
mov edx, dword [eax + edx*4 + 0x40]
sub edx, dword [eax + 4]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
dec eax
test eax, eax
jl 0x59aeed
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x38]
lea esi, [eax + 0x18]
lea edi, [edx + 0x14]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
call fcn.0054a10c
mov edx, dword [ebp - 0x38]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0xc], 0
jne 0x59aba0
xor eax, eax
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0xd8]
dec edx
cmp edx, 0
jl 0x59ab8b
mov dword [ebp - 0x20], edx
imul edx, dword [ebp - 0x20], 0x27
mov ecx, dword [ebp - 0x38]
cmp byte [ecx + edx*4 + 0xf3], 0
je 0x59ab82
inc eax
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xffffffff
jne 0x59ab70
mov edx, dword [ebp - 0x38]
cmp eax, dword [edx + 0xd8]
jne 0x59aba0
mov eax, dword [ebp - 0x38]
mov dword [eax + 0xc], 0xb4
cmp dword [ebp - 0x1c], 0
jle 0x59ac09
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [eax + edx*4 - 4]
cmp byte [eax + 0x2755], 0
jne 0x59abc8
mov eax, dword [ebp - 0x38]
mov byte [eax + 0x2751], 0
jmp 0x59ac09
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xd8]
dec eax
cmp eax, 0
jl 0x59ac09
mov dword [ebp - 0x20], eax
imul eax, dword [ebp - 0x20], 0x27
mov edx, dword [ebp - 0x38]
lea eax, [edx + eax*4 + 0xdc]
cmp byte [eax + 0x17], 0
je 0x59ac00
cmp byte [eax + 0x16], 0
jne 0x59ac00
mov eax, dword [ebp - 0x38]
mov byte [eax + 0x2751], 1
jmp 0x59ac09
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xffffffff
jne 0x59abda
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0xd4], 0x2710
jne 0x59ac39
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0xd0], 0x80000000
je 0x59ac39
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xd0]
mov edx, dword [ebp - 0x38]
mov dword [edx + 0xcc], eax
mov eax, dword [ebp - 0x38]
add eax, 0x24
xor edx, edx
call fcn.0059a8f8
mov eax, dword [ebp - 0x38]
add eax, 0x40
xor edx, edx
call fcn.0059a8f8
mov eax, dword [ebp - 0x38]
add eax, 0x5c
xor edx, edx
call fcn.0059a8f8
mov eax, dword [ebp - 0x38]
add eax, 0x78
xor edx, edx
call fcn.0059a8f8
mov eax, dword [ebp - 0x38]
add eax, 0x94
xor edx, edx
call fcn.0059a8f8
mov eax, dword [ebp - 0x38]
add eax, 0xb0
xor edx, edx
call fcn.0059a8f8
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xd8]
dec eax
cmp eax, 0
jl 0x59aeb9
mov dword [ebp - 0x20], eax
imul eax, dword [ebp - 0x20], 0x27
mov edx, dword [ebp - 0x38]
lea edi, [edx + eax*4 + 0xdc]
mov edx, dword [ebp - 8]
mov eax, dword [edi]
call fcn.0054a10c
mov dword [edi], eax
cmp word [edi + 0x90], 0x2710
jne 0x59acde
cmp dword [edi + 0x8c], 0x80000000
je 0x59acde
mov eax, dword [edi + 0x8c]
mov dword [edi + 0x88], eax
cmp dword [ebp - 0x20], 0
jne 0x59acec
mov eax, dword [ebp - 0x10]
add eax, 0x28
jmp 0x59acf4
mov eax, dword [ebp - 0x10]
add eax, 0xb4
lea edx, [edi + 0x18]
xchg edx, eax
call fcn.0059a8f8
cmp dword [ebp - 0x1c], 0
jne 0x59ad0b
mov eax, dword [ebp - 0x10]
add eax, 0x44
jmp 0x59ad13
mov eax, dword [ebp - 0x10]
add eax, 0x98
lea edx, [edi + 0x34]
xchg edx, eax
call fcn.0059a8f8
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xd8]
dec eax
cmp eax, dword [ebp - 0x20]
jne 0x59ad33
mov eax, dword [ebp - 0x10]
add eax, 0x60
jmp 0x59ad3b
mov eax, dword [ebp - 0x10]
add eax, 0xb4
lea edx, [edi + 0x50]
xchg edx, eax
call fcn.0059a8f8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
dec eax
cmp eax, dword [ebp - 0x1c]
jne 0x59ad58
mov eax, dword [ebp - 0x10]
add eax, 0x7c
jmp 0x59ad60
mov eax, dword [ebp - 0x10]
add eax, 0x98
lea edx, [edi + 0x6c]
xchg edx, eax
call fcn.0059a8f8
cmp byte [edi + 0x16], 0
je 0x59aeac
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
inc eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18]
dec edx
sub edx, eax
jl 0x59ae31
inc edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x2d], 0
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + 0xdc]
dec ebx
cmp ebx, 0
jl 0x59ae1f
imul eax, ebx, 0x27
mov edx, dword [ebp - 0x14]
lea esi, [edx + eax*4 + 0xe0]
mov edx, dword [edi]
mov eax, dword [esi]
call fcn.0054a0f4
test al, al
je 0x59ae19
cmp byte [esi + 0x17], 0
je 0x59ae1f
cmp byte [esi + 0x16], 0
jne 0x59ae1f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
dec eax
cmp ebx, eax
jne 0x59adee
mov eax, dword [ebp - 0x14]
add eax, 0x7c
jmp 0x59adf6
mov eax, dword [ebp - 0x14]
add eax, 0x98
lea edx, [esi + 0x6c]
xchg edx, eax
call fcn.0059a8f8
push esi
push edi
add esi, 0x6c
add edi, 0x6c
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov byte [ebp - 0x2d], 1
inc dword [ebp - 0x28]
jmp 0x59ae1f
dec ebx
cmp ebx, 0xffffffff
jne 0x59adb5
cmp byte [ebp - 0x2d], 0
je 0x59ae31
inc dword [ebp - 0x24]
dec dword [ebp - 0x3c]
jne 0x59ad93
mov eax, dword [ebp - 0x1c]
inc eax
mov edx, dword [ebp - 0x28]
sub edx, eax
jl 0x59aeac
inc edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + 0xdc]
dec ebx
cmp ebx, 0
jl 0x59aea4
imul eax, ebx, 0x27
mov edx, dword [ebp - 0x14]
lea esi, [edx + eax*4 + 0xe0]
mov edx, dword [edi]
mov eax, dword [esi]
call fcn.0054a0f4
test al, al
je 0x59ae9e
cmp byte [esi + 0x17], 0
je 0x59aea4
cmp byte [esi + 0x16], 0
jne 0x59aea4
imul eax, dword [ebp - 0x20], 0x27
mov edx, dword [ebp - 0x38]
lea eax, [edx + eax*4 + 0xdc]
mov edx, esi
call fcn.0054a0c0
jmp 0x59aea4
dec ebx
cmp ebx, 0xffffffff
jne 0x59ae61
inc dword [ebp - 0x24]
dec dword [ebp - 0x3c]
jne 0x59ae43
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xffffffff
jne 0x59aca1
mov eax, dword [ebp - 0x38]
imul eax, dword [eax + 0xd8], 0x27
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + eax*4 + 0x40]
mov edx, dword [ebp - 0x38]
sub eax, dword [edx + 4]
cmp eax, dword [ebp - 0x2c]
jne 0x59aee1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x38]
mov dword [edx + 0x10], eax
inc dword [ebp - 0x1c]
dec dword [ebp - 0x34]
jne 0x59ab14
mov eax, dword [ebp - 8]
call fcn.00652408
mov ebx, dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
call fcn.00652408
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0xb0]
cmp ebx, dword [eax + 0x18]
jl 0x59a973
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, 2
call fcn.00567fe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret