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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x653eab
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x6a9fa4]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [0x6a9fa4]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov esi, ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x50], ecx
je 0x58bfef
mov ecx, esi
call fcn.00571a20
test al, al
je 0x58bcbf
mov ebx, dword [edx + 4]
mov eax, dword [edx + 8]
mov edi, dword [edx]
add eax, ebx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
cmp eax, 1
mov dword [esp + 0x1c], edi
jle 0x58bbe5
add eax, 0xffffffff
lea ecx, [edx + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
cmp eax, ebx
jge 0x58bbb0
mov ebx, eax
mov edx, dword [ecx + 4]
lea eax, [edx + eax - 1]
cmp eax, dword [esp + 0x18]
jle 0x58bbc1
mov dword [esp + 0x18], eax
mov eax, dword [ecx - 4]
cmp eax, edi
jge 0x58bbca
mov edi, eax
cmp eax, dword [esp + 0x1c]
jle 0x58bbd4
mov dword [esp + 0x1c], eax
add ecx, 0xc
sub dword [esp + 0x14], 1
jne 0x58bba8
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x58bbfd
mov ecx, dword [ebp + 0xc]
mov eax, edx
mov edi, edi
sub dword [eax + 4], ebx
sub dword [eax], edi
add eax, 0xc
sub ecx, 1
jne 0x58bbf0
lea eax, [esp + 0x64]
push eax
call fcn.00596240
mov eax, dword [esp + 0x1c]
sub eax, edi
lea ecx, [eax + 1]
mov eax, dword [esp + 0x18]
sub eax, ebx
add eax, 1
push ecx
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0xf0], 0
mov dword [esp + 0x38], eax
call fcn.00599030
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [esp + 0x58]
sub eax, edi
push eax
mov eax, dword [ebp + 0x14]
sub ecx, ebx
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
lea ecx, [esp + 0x88]
call fcn.0059fac0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebp + 0x14]
push ecx
push 0x7329bc
mov dword [esp + 0x68], edx
lea edx, [esp + 0x5c]
push edx
xor eax, eax
push edi
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
push ebx
lea ecx, [esp + 0x78]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x64]
mov dword [esp + 0xe8], 0xffffffff
call fcn.00596580
jmp 0x58bfef
mov eax, esi
call fcn.005726f0
mov eax, dword [esi]
mov edx, dword [eax + 0xbc]
mov ecx, esi
call edx
test al, al
je 0x58bfef
mov eax, dword [esi + 0xd4]
cmp eax, 0x10
mov edi, dword [esi + 0xd8]
mov ecx, dword [esi + 0xdc]
mov ebx, dword [esi + 0xe0]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], ebx
jne 0x58be78
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 4]
imul edx, ecx
shr edx, 8
and edx, ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax]
imul ecx, ebx
imul eax, edi
shr ecx, 8
and ecx, ebx
shr eax, 8
or edx, ecx
and eax, edi
or edx, eax
mov eax, dword [ebp + 0xc]
test eax, eax
movzx ecx, dx
mov edx, dword [esi + 0xa4]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x3c], edx
jle 0x58bfde
mov ecx, dword [esp + 0x10]
add ecx, 8
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], eax
lea ebx, [ebx]
mov esi, dword [esi + 0x24]
mov eax, dword [ecx - 8]
mov edx, dword [ecx - 4]
imul esi, eax
sub eax, dword [ebp + 0x20]
add esi, edx
imul eax, dword [ebp + 0x24]
sub eax, dword [ebp + 0x1c]
mov edx, dword [esp + 0x3c]
add eax, dword [esp + 0x50]
lea esi, [edx + esi*2]
add eax, dword [ecx - 4]
cmp dword [ecx], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], 0
jle 0x58be5d
movzx ecx, word [esp + 0x4c]
mov edx, ecx
and edx, dword [esp + 0x14]
mov dword [esp + 0x38], edx
mov edx, ecx
and edx, edi
and ecx, ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], ecx
jmp 0x58bdc4
mov eax, dword [esp + 0x44]
movzx ecx, byte [eax]
mov ebx, dword [esp + 0x34]
add eax, 1
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
add ecx, 1
imul ecx, dword [eax + 0xc]
movzx eax, word [esi]
movzx eax, ax
mov esi, eax
and esi, edi
sar ecx, 8
imul ebx, ecx
mov edx, pe_nt_image_headers32
sub edx, ecx
imul esi, edx
add esi, ebx
mov ebx, dword [esp + 0x38]
shr esi, 8
imul ebx, ecx
and esi, edi
mov edi, eax
and edi, dword [esp + 0x14]
imul edi, edx
add edi, ebx
mov ebx, dword [esp + 0x30]
and eax, ebx
imul eax, edx
mov edx, dword [esp + 0x40]
imul edx, ecx
mov ecx, dword [esp + 0x2c]
add eax, edx
shr edi, 8
and edi, dword [esp + 0x14]
shr eax, 8
or esi, edi
mov edi, dword [esp + 0x18]
and eax, ebx
or esi, eax
mov eax, esi
mov esi, dword [esp + 0x10]
mov word [esi], ax
mov eax, dword [esp + 0x28]
add eax, 1
add esi, 2
cmp eax, dword [ecx]
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], eax
jl 0x58bdc0
mov esi, dword [esp + 0x1c]
add ecx, 0xc
sub dword [esp + 0x20], 1
mov dword [esp + 0x2c], ecx
jne 0x58bd60
jmp 0x58bfde
cmp eax, 0x20
jne 0x58bfde
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 8]
mov edx, dword [edx + 4]
imul eax, ebx
imul edx, ecx
shr eax, 8
shr edx, 8
and edx, ecx
mov ecx, dword [esp + 0x24]
and eax, ebx
or eax, edx
mov edx, dword [ecx]
imul edx, edi
shr edx, 8
and edx, edi
or eax, edx
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0xa4]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x58bfde
mov ecx, dword [esp + 0x10]
add ecx, 8
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], eax
mov esi, dword [esi + 0x24]
mov eax, dword [ecx - 8]
mov edx, dword [ecx - 4]
imul esi, eax
sub eax, dword [ebp + 0x20]
add esi, edx
imul eax, dword [ebp + 0x24]
sub eax, dword [ebp + 0x1c]
mov edx, dword [esp + 0x48]
add eax, dword [ecx - 4]
lea esi, [edx + esi*4]
add eax, dword [esp + 0x50]
cmp dword [ecx], 0
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], 0
jle 0x58bfc8
mov ecx, dword [esp + 0x40]
mov edx, ecx
and edx, ebx
mov dword [esp + 0x4c], edx
mov edx, ecx
and edx, dword [esp + 0x14]
mov ebx, ecx
and ebx, edi
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], ebx
jmp 0x58bf38
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
movzx ecx, byte [eax]
add eax, 1
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
add ecx, 1
imul ecx, dword [eax + 0xc]
mov eax, dword [esi]
mov esi, eax
and esi, edi
sar ecx, 8
imul ebx, ecx
mov edx, pe_nt_image_headers32
sub edx, ecx
imul esi, edx
add esi, ebx
mov ebx, dword [esp + 0x44]
shr esi, 8
imul ebx, ecx
and esi, edi
mov edi, eax
and edi, dword [esp + 0x14]
imul edi, edx
add edi, ebx
mov ebx, dword [esp + 0x30]
and eax, ebx
imul eax, edx
mov edx, dword [esp + 0x4c]
imul edx, ecx
mov ecx, dword [esp + 0x28]
add eax, edx
shr edi, 8
and edi, dword [esp + 0x14]
shr eax, 8
or esi, edi
mov edi, dword [esp + 0x18]
and eax, ebx
or esi, eax
mov eax, esi
mov esi, dword [esp + 0x20]
mov dword [esi], eax
mov eax, dword [esp + 0x2c]
add eax, 1
add esi, 4
cmp eax, dword [ecx]
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], eax
jl 0x58bf30
mov esi, dword [esp + 0x1c]
add ecx, 0xc
sub dword [esp + 0x10], 1
mov dword [esp + 0x28], ecx
jne 0x58bed5
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
mov ecx, esi
call edx
call fcn.00572530
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.00626d59
mov esp, ebp
pop ebp
ret 0x24