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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xac
mov esi, dword [esp + 0xc0]
mov edi, dword [esp + 0xc4]
mov ebx, dword [edi]
test ebx, ebx
je 0x5885a0
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.005883b8
inc eax
je 0x588520
mov eax, dword [esi]
add eax, 2
mov dword [esp + 4], eax
lea ebp, [esp + 0x50]
mov dword [esp], ebp
call fcn.00588da8
mov ebx, eax
test eax, eax
je 0x588568
mov eax, ebx
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 0xcc]
test ecx, ecx
je 0x58859c
mov eax, dword [esp + 0xcc]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00587f80
mov ebx, eax
mov edx, dword [esp + 0xc8]
test edx, edx
je 0x588510
mov edx, dword [esp + 0xc8]
mov dword [esp], edx
call fcn.00588b78
mov eax, ebx
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi]
add eax, 2
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x80]
mov dword [esp], ecx
call fcn.0053b204
mov ebx, eax
test eax, eax
je 0x5885ac
mov dword [esp], ebp
call fcn.005226b8
mov eax, ebx
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
xor ebx, ebx
jmp 0x588540
mov ebx, 0xfffffffd
jmp 0x588510
lea eax, [esp + 0x90]
mov dword [esp], eax
call fcn.0053b204
mov ebx, eax
test eax, eax
je 0x5885d4
lea eax, [esp + 0x80]
mov dword [esp], eax
call fcn.005226b8
jmp 0x588586
mov dword [esp + 4], esi
lea edx, [esp + 0x60]
mov dword [esp], edx
call fcn.00522630
mov ebx, eax
test eax, eax
je 0x5885fb
lea esi, [esp + 0x90]
mov dword [esp], esi
call fcn.005226b8
jmp 0x5885c1
mov dword [esp + 4], edi
lea ecx, [esp + 0x70]
mov dword [esp], ecx
call fcn.00522630
mov ebx, eax
test eax, eax
je 0x58861f
lea ecx, [esp + 0x60]
mov dword [esp], ecx
call fcn.005226b8
jmp 0x5885ea
mov ecx, dword [esi + 8]
mov dword [esp + 0x3c], ecx
mov edi, dword [edi + 8]
mov dword [esp + 0x40], edi
mov dword [esp + 0x78], 0
mov dword [esp + 0x68], 0
lea eax, [esp + 0x70]
mov dword [esp], eax
call fcn.00587f18
mov ecx, 0x1c
cdq
idiv ecx
cmp edx, 0x1b
je 0x588695
mov dword [esp + 0x24], 0x1b
sub dword [esp + 0x24], edx
lea edx, [esp + 0x60]
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.005881b8
mov ebx, eax
test eax, eax
je 0x58871c
lea edx, [esp + 0x70]
mov dword [esp], edx
call fcn.005226b8
jmp 0x588611
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x60]
dec eax
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x34], ecx
dec ecx
mov dword [esp + 0x2c], ecx
mov edi, eax
sub edi, ecx
mov dword [esp + 4], edi
lea eax, [esp + 0x70]
mov dword [esp], eax
call fcn.00589c10
mov ebx, eax
test eax, eax
jne 0x588684
lea edx, [edi*4]
mov dword [esp + 0x28], edx
lea ecx, [esp + 0x70]
mov dword [esp + 4], ecx
lea eax, [esp + 0x60]
mov dword [esp], eax
call fcn.00589828
inc eax
je 0x588743
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x5c]
inc dword [eax]
lea edx, [esp + 0x60]
mov dword [esp + 8], edx
lea ecx, [esp + 0x70]
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.00588e1c
test eax, eax
je 0x5886d8
mov ebx, eax
jmp 0x588684
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.005881b8
mov ebx, eax
test eax, eax
jne 0x588684
jmp 0x58869d
mov dword [esp + 4], edi
lea eax, [esp + 0x70]
mov dword [esp], eax
call fcn.00589f64
mov ecx, dword [esp + 0x2c]
shl ecx, 2
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x2c]
lea ecx, [ecx*4 - 4]
mov dword [esp + 0x44], ecx
mov edi, dword [esp + 0x20]
shl edi, 2
imul ecx, dword [esp + 0x34], 0xfffffffc
mov dword [esp + 0x28], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], esi
jmp 0x588790
lea esi, [edi - 4]
dec dword [esp + 0x20]
mov edi, esi
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x20], esi
jle 0x588a27
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x60]
jg 0x588787
mov ebx, dword [esp + 0x6c]
mov eax, dword [ebx + edi]
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x38]
mov ecx, dword [edx + esi]
cmp eax, ecx
je 0x588a07
xor edx, edx
shld edx, eax, 0x1c
shl eax, 0x1c
or eax, dword [ebx + edi - 4]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005cb82c
mov ecx, dword [esp + 0x5c]
lea ebx, [ecx + edi]
add ebx, dword [esp + 0x28]
cmp edx, 0
ja 0x5887fe
cmp eax, 0xfffffff
jbe 0x588803
mov eax, 0xfffffff
mov dword [ebx], eax
mov ebx, dword [esp + 0x28]
add ebx, edi
lea edx, [ecx + ebx]
mov eax, dword [edx]
inc eax
and eax, 0xfffffff
mov dword [edx], eax
lea edx, [edi - 8]
mov dword [esp + 0x30], edx
lea esi, [edi - 4]
mov dword [esp + 0x1c], esi
lea edx, [ecx + ebx]
mov eax, dword [edx]
dec eax
and eax, 0xfffffff
mov dword [edx], eax
lea ecx, [esp + 0x80]
mov dword [esp], ecx
call fcn.00588b78
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x5888f9
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x44]
mov ecx, dword [eax + esi]
mov dword [edx], ecx
mov ecx, dword [esp + 0x38]
mov eax, dword [eax + ecx]
mov dword [edx + 4], eax
mov dword [esp + 0x80], 2
lea esi, [esp + 0x80]
mov dword [esp + 8], esi
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + ebx]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00588000
test eax, eax
jne 0x588715
mov edx, dword [esp + 0x9c]
cmp dword [esp + 0x20], 1
jle 0x588904
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x30]
mov ecx, dword [eax + esi]
mov dword [edx], ecx
mov esi, dword [esp + 0x1c]
mov ecx, dword [eax + esi]
mov dword [edx + 4], ecx
mov eax, dword [eax + edi]
mov dword [edx + 8], eax
mov dword [esp + 0x90], 3
lea eax, [esp + 0x90]
mov dword [esp + 4], eax
lea edx, [esp + 0x80]
mov dword [esp], edx
call fcn.005883b8
dec eax
jne 0x588918
mov ecx, dword [esp + 0x5c]
jmp 0x588826
xor ecx, ecx
mov eax, dword [esp + 0x7c]
jmp 0x588860
mov dword [edx], 0
je 0x588a1e
xor ecx, ecx
mov eax, dword [esp + 0x6c]
jmp 0x5888bf
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x80]
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + ebx]
mov dword [esp + 4], eax
lea eax, [esp + 0x70]
mov dword [esp], eax
call fcn.00588000
test eax, eax
jne 0x588715
mov edi, dword [esp + 0x20]
sub edi, dword [esp + 0x34]
mov dword [esp + 4], edi
lea edx, [esp + 0x80]
mov dword [esp], edx
call fcn.00589c10
test eax, eax
jne 0x588715
lea ecx, [esp + 0x60]
mov dword [esp + 8], ecx
lea eax, [esp + 0x80]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00588e1c
test eax, eax
jne 0x588715
cmp dword [esp + 0x68], 1
jne 0x58878a
lea edx, [esp + 0x80]
mov dword [esp + 4], edx
lea ecx, [esp + 0x70]
mov dword [esp], ecx
call fcn.00587f80
test eax, eax
jne 0x588715
mov dword [esp + 4], edi
lea eax, [esp + 0x80]
mov dword [esp], eax
call fcn.00589c10
test eax, eax
jne 0x588715
lea edx, [esp + 0x60]
mov dword [esp + 8], edx
lea ecx, [esp + 0x80]
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.00588414
test eax, eax
jne 0x588715
add ebx, dword [esp + 0x5c]
mov eax, dword [ebx]
dec eax
and eax, 0xfffffff
mov dword [ebx], eax
jmp 0x58878a
mov ecx, dword [esp + 0x5c]
lea eax, [ecx + edi]
mov esi, dword [esp + 0x28]
mov dword [eax + esi], 0xfffffff
jmp 0x588805
mov eax, dword [esp + 0x6c]
jmp 0x5888b8
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
xor eax, eax
cmp dword [esp + 0x60], 0
je 0x588a3b
mov eax, dword [esi + 8]
mov dword [esp + 0x68], eax
cmp dword [esp + 0xc8], 0
je 0x588a7b
mov dword [esp], ebp
call fcn.00588384
mov eax, dword [esp + 0xc8]
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.00589a80
mov ecx, dword [esp + 0x40]
xor eax, eax
cmp dword [esp + 0x3c], ecx
setne al
mov esi, dword [esp + 0xc8]
mov dword [esi + 8], eax
cmp dword [esp + 0xcc], 0
je 0x588684
mov dword [esp + 0xc], 0
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00588ba4
mov esi, dword [esp + 0xcc]
mov dword [esp + 4], esi
lea eax, [esp + 0x60]
mov dword [esp], eax
call fcn.00589a80
jmp 0x588684