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

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x8c
mov ecx, dword [ecx + 4]
mov edi, dword [ebx]
mov dword [esp + 0x28], 0
mov ebp, ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
sub ebp, edi
je 0x5b3470
cmp ebp, 0x7ffffff8
ja 0x5b3500
mov dword [esp], ebp
call fcn.005c2f70
mov ecx, dword [ebx + 4]
mov edi, dword [ebx]
mov esi, eax
add ebp, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], ebp
cmp edi, ecx
je 0x5b3290
mov eax, edi
mov edx, esi
mov ebp, dword [eax]
add eax, 0xc
add edx, 0xc
mov dword [edx - 0xc], ebp
mov ebp, dword [eax - 8]
mov dword [edx - 8], ebp
mov ebp, dword [eax - 4]
mov dword [edx - 4], ebp
cmp ecx, eax
jne 0x5b3260
lea eax, [ecx - 0xc]
sub eax, edi
shr eax, 2
imul eax, eax, 0x2aaaaaab
lea eax, [eax + eax*2]
lea esi, [esi + eax*4 + 0xc]
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x2c], esi
lea ebp, [esp + 0x28]
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x34], 0
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], eax
mov edi, dword [ebx + 0x44]
mov eax, dword [edx + 0x20]
sub eax, dword [edx + 0x1c]
mov dword [esp + 0x50], edx
mov esi, eax
mov dword [esp + 0x38], 0
sar esi, 3
mov dword [esp + 0x3c], 0
imul edx, esi, 0xaaaaaaab
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x54], ebp
mov esi, edx
test eax, eax
js 0x5b3505
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
test edx, edx
je 0x5b3480
lea esi, [edx*8]
mov dword [esp], esi
call fcn.005c2f70
lea edx, [eax + esi]
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], edx
mov dword [eax], 0
add eax, 8
mov dword [eax - 4], 0
cmp eax, edx
jne 0x5b3330
mov eax, dword [esp + 0x50]
mov esi, dword [eax + 0x20]
sub esi, dword [eax + 0x1c]
sar esi, 3
imul esi, esi, 0xaaaaaaab
mov dword [esp], esi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
call fcn.005c2f40
mov edx, eax
mov eax, esi
sub eax, 1
js 0x5b33a0
mov dword [esp], edx
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp + 0x1c], edx
call sub.msvcrt.dll_memset
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x70], edx
test edi, 0x80
je 0x5b33af
and edi, 0xfffffffa
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0x34]
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x40], eax
call fcn.00467df0
mov esi, eax
test al, al
jne 0x5b34a0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x5b33e9
mov dword [esp], eax
call fcn.005c2f10
mov edi, dword [esp + 0x68]
mov ebx, dword [esp + 0x64]
cmp edi, ebx
je 0x5b3412
lea esi, [esi]
mov eax, dword [ebx + 4]
test eax, eax
je 0x5b3460
mov dword [esp], eax
add ebx, 0x10
call fcn.005c2f20
cmp edi, ebx
jne 0x5b33f8
mov ebx, dword [esp + 0x64]
test ebx, ebx
je 0x5b341e
mov dword [esp], ebx
call fcn.005c2f20
mov eax, dword [esp + 0x58]
test eax, eax
je 0x5b342e
mov dword [esp], eax
call fcn.005c2f20
mov eax, dword [esp + 0x34]
test eax, eax
je 0x5b343e
mov dword [esp], eax
call fcn.005c2f20
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5b344e
mov dword [esp], eax
call fcn.005c2f20
add esp, 0x8c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 4
add ebx, 0x10
cmp edi, ebx
jne 0x5b33f8
jmp 0x5b340e
xor esi, esi
jmp 0x5b324e
mov dword [esp + 0x58], 0
xor edx, edx
mov dword [esp + 0x60], 0
jmp 0x5b3357
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
xor eax, eax
xor edx, edx
mov ebp, edi
sub ebp, ecx
sar ebp, 2
imul ebp, ebp, 0xaaaaaaab
cmp edi, ecx
je 0x5b33d9
mov dword [esp + 0x1c], edx
mov edx, esi
lea esi, cs:[esi]
nop
cmp byte [ecx + eax + 8], 0
je 0x5b34eb
mov edi, dword [ebx]
mov esi, dword [ecx + eax]
add edi, eax
mov dword [edi], esi
mov esi, dword [ecx + eax + 4]
mov byte [edi + 8], 1
mov dword [edi + 4], esi
add dword [esp + 0x1c], 1
add eax, 0xc
cmp dword [esp + 0x1c], ebp
jb 0x5b34d0
mov esi, edx
jmp 0x5b33d9
call fcn.005da180
mov dword [esp], 0x5f7228
call fcn.005da300
mov ebx, eax
jmp 0x5b352f
lea ecx, [esp + 0x34]
call fcn.0057da00
mov ecx, ebp
call fcn.0057da00
mov dword [esp], ebx
call fcn.004e5360
lea ecx, [esp + 0x34]
call fcn.005b4040
jmp 0x5b3538