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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5885ca
sub esp, 0x64
mov eax, dword [esp + 0x70]
test eax, eax
jle 0x5885bf
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
xor edx, edx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x58837e
add ebx, 0x14
mov edx, dword [esp + 0x68]
mov edx, ecx
mov ecx, dword [esp + 0x68]
mov ecx, esi
mov esi, edi
mov edi, ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], edi
lea edi, [esp + 0x50]
mov esi, ebx
call fcn.0045778e
lea edi, [esp + 0x3c]
lea esi, [esp + 0x50]
call fcn.0045778e
mov ecx, dword [esp + 0x68]
test ecx, ecx
jne 0x58858e
mov esi, 1
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5884cd
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x34]
lea ecx, [edx + 1]
cmp ecx, eax
jl 0x588367
test esi, esi
jne 0x58849e
mov eax, dword [0xdc3120]
mov eax, dword [eax + 0x10]
mov ecx, dword [0xdc3124]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x34], ecx
lea edx, [0x91a6e0]
mov dword [esp], edx
call fcn.0040ae10
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], eax
mov eax, dword [0xdd7ec0]
test eax, eax
jne 0x588493
mov ecx, dword [esp + 0x34]
mov dword [edi], ecx
mov ecx, dword [esp + 0x80]
mov dword [edi + 0xc], ecx
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x58847d
mov eax, dword [esp + 0x7c]
mov dword [edi + 8], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea eax, [0xa4dfc0]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edi
add esp, 0x64
ret
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x7c]
call fcn.00456fe0
mov edi, edx
jmp 0x588444
mov eax, dword [esp + 0x34]
call fcn.00456fe0
jmp 0x588429
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x64
ret
mov edi, esp
lea esi, [esp + 0x3c]
call fcn.0045778e
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x20]
lea ecx, [eax + 1]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, ebp
mov ebp, dword [esp + 0x24]
cmp ecx, ebp
ja 0x588544
mov esi, dword [esp + 0x34]
mov edi, ecx
lea ecx, [esi + eax*8]
mov dword [ecx], ebx
lea ecx, [esi + eax*8 + 4]
mov ebx, dword [0xdd7ec0]
test ebx, ebx
jne 0x588533
mov dword [ecx], edx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
mov eax, esi
mov esi, edi
mov edi, eax
mov eax, dword [esp + 0x70]
jmp 0x5883cd
mov eax, edi
mov edi, ecx
mov ebx, eax
mov eax, edx
call fcn.00456fe0
mov edi, ebx
jmp 0x588514
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], edx
lea edx, [0x90d900]
mov dword [esp], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.00440660
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
jmp 0x5884fd
mov edi, esp
lea esi, [esp + 0x50]
call fcn.0045778e
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
movzx esi, byte [esp + 0x14]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x24]
jmp 0x5883bb
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x5883d4
call fcn.004557a0
jmp fcn.00588330