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

Disassembly:
jmp 0x659410
mov ecx, dword [esp + 4]
mov eax, ecx
and eax, 0x78000000
cmp eax, 0x8000000
je 0x659426
or eax, 0xffffffff
ret
mov edx, dword [0xbb27a8]
mov eax, ecx
and eax, 0x1ffff
add eax, eax
push ebx
add eax, eax
push esi
mov esi, dword [eax + edx]
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0xc], eax
jne 0x65944c
pop esi
or eax, 0xffffffff
pop ebx
ret
cmp esi, 1
je 0x6596ab
add dword [esi + 0x28], 0xffffffff
jne 0x6596bb
push ebp
push edi
push ecx
call fcn.0057b4dc
mov eax, dword [esi + 0x100]
push eax
call fcn.0057cf76
mov edi, dword [esi + 0x64]
add esp, 8
xor ebp, ebp
cmp dword [esi + 0x60], ebx
mov dword [esi + 0x108], ebx
mov dword [esi + 0x10c], ebx
mov dword [esi + 0x110], ebx
mov dword [esi + 0x114], ebx
mov dword [esi + 0x128], ebx
mov dword [esi + 0x118], ebx
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x124], ebx
mov dword [esi + 0x120], ebx
jle 0x659532
cmp dword [edi], ebx
je 0x6594c9
mov ecx, dword [edi + 4]
push ecx
call fcn.0057cf76
add esp, 4
mov dword [edi + 4], ebx
mov edx, dword [edi + 0x48]
push ebx
push edx
call fcn.0057d20a
add esp, 8
cmp dword [edi + 0x20], ebx
mov dword [edi + 0x48], ebx
je 0x6594ed
mov eax, dword [edi + 0x24]
push eax
call fcn.0057cf76
add esp, 4
mov dword [edi + 0x24], ebx
cmp dword [edi + 0xc], ebx
je 0x659501
mov ecx, dword [edi + 0x10]
push ecx
call fcn.0057cf76
add esp, 4
mov dword [edi + 0x10], ebx
mov eax, dword [edi + 0x2c]
cmp eax, ebx
je 0x659514
push eax
call fcn.0057cf76
add esp, 4
mov dword [edi + 0x2c], ebx
mov eax, dword [edi + 0x18]
cmp eax, ebx
je 0x659527
push eax
call fcn.0057cf76
add esp, 4
mov dword [edi + 0x18], ebx
add ebp, 1
add edi, 0x78
cmp ebp, dword [esi + 0x60]
jl 0x6594b6
cmp dword [esi + 0x68], ebx
je 0x659546
mov edx, dword [esi + 0x64]
push edx
call fcn.0057cf76
add esp, 4
mov dword [esi + 0x64], ebx
xor ebp, ebp
cmp dword [esi + 0xb0], ebx
jle 0x659583
xor edi, edi
mov eax, dword [esi + 0xb4]
add eax, edi
cmp dword [eax + 0xc], ebx
je 0x659575
mov ecx, dword [eax + 8]
push ecx
call fcn.0057cf76
mov edx, dword [esi + 0xb4]
add esp, 4
mov dword [edi + edx + 8], ebx
add ebp, 1
add edi, 0x10
cmp ebp, dword [esi + 0xb0]
jl 0x659552
xor ebp, ebp
cmp dword [esi + 0x3c], ebx
jle 0x6595c4
xor edi, edi
lea esp, [esp]
mov eax, dword [esi + 0x40]
add eax, edi
cmp dword [eax + 0x194], ebx
je 0x6595b6
mov ecx, dword [eax + 0x190]
push ecx
call fcn.0057cf76
mov edx, dword [esi + 0x40]
add esp, 4
mov dword [edi + edx + 0x190], ebx
add ebp, 1
add edi, 0x1b0
cmp ebp, dword [esi + 0x3c]
jl 0x659590
xor ebp, ebp
cmp dword [esi + 0x6c], ebx
jle 0x6595f8
xor edi, edi
lea ecx, [ecx]
mov eax, dword [esi + 0x70]
add eax, edi
cmp dword [eax + 0x60], ebx
je 0x6595ed
mov ecx, dword [eax + 0x5c]
push ecx
call fcn.0057cf76
mov edx, dword [esi + 0x70]
add esp, 4
mov dword [edi + edx + 0x5c], ebx
add ebp, 1
add edi, 0x7c
cmp ebp, dword [esi + 0x6c]
jl 0x6595d0
mov eax, dword [esi + 0xd8]
xor ebp, ebp
cmp dword [esi + 0xd4], ebx
jle 0x65966d
lea edi, [eax + 0xfc]
mov edi, edi
mov eax, dword [edi - 4]
cmp eax, ebx
je 0x659623
push eax
call fcn.0057cf76
add esp, 4
mov dword [edi - 4], ebx
mov eax, dword [edi]
cmp eax, ebx
je 0x659634
push eax
call fcn.0057cf76
add esp, 4
mov dword [edi], ebx
cmp dword [edi - 8], ebx
je 0x659648
mov eax, dword [edi - 0xc]
push eax
call fcn.0057cf76
add esp, 4
mov dword [edi - 0xc], ebx
cmp dword [edi + 8], ebx
je 0x65965c
mov ecx, dword [edi + 4]
push ecx
call fcn.0057cf76
add esp, 4
mov dword [edi + 4], ebx
add ebp, 1
add edi, 0x128
cmp ebp, dword [esi + 0xd4]
jl 0x659610
mov eax, dword [esi + 0x3fc]
cmp eax, ebx
je 0x659689
mov edi, dword [eax + 4]
push eax
call fcn.0057cf76
add esp, 4
cmp edi, ebx
mov eax, edi
jne 0x659677
mov eax, dword [esp + 0x14]
mov dword [esi + 0x3fc], ebx
mov edx, dword [0xbb27a8]
mov ecx, dword [eax + edx]
push ecx
call fcn.0057cf76
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop ebp
mov edx, dword [0xbb27a8]
mov dword [eax + edx], ebx
sub dword [0xbb279c], 1
pop esi
xor eax, eax
pop ebx
ret