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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x588ff7
sub esp, 0x6c
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
test edx, edx
jne 0x588c5f
mov ebx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x30], edx
mov dword [esp + 0x44], ebx
mov ebp, dword [ecx + 0x10]
mov esi, dword [ecx + 0x14]
cmp edx, 5
jne 0x588ca0
cmp dword [ebx], 0x65732121
je 0x588c7f
cmp edx, 5
jmp 0x588c8c
cmp byte [ebx + 4], 0x71
je 0x588d3b
cmp edx, 5
jne 0x588ca0
cmp dword [ebx], 0x616d2121
jne 0x588ca0
cmp byte [ebx + 4], 0x70
je 0x588d3b
cmp esi, 0xa
jle 0x588ceb
mov dword [esp], 0
lea eax, [0x61ba0b]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 7
lea eax, [0x61bd4b]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 4
call fcn.0044dde0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
jmp 0x588d2b
mov dword [esp], 0
lea eax, [0x61ba0b]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
lea eax, [0x673388]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
call fcn.0044dde0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x44]
mov esi, ecx
mov ebp, eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x2c], esi
cmp edx, 0x12
jge 0x588d4c
xor eax, eax
jmp 0x588d7f
mov dword [esp], ebx
lea eax, [0x620bb5]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x12
call fcn.00402a50
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x2c]
test al, al
je 0x588e29
mov eax, dword [0x7bc380]
lea ecx, [0x5f25a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.0040faf0
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov edx, dword [eax]
mov eax, dword [eax + 4]
test cl, cl
je 0x588dcb
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x2c]
mov ebx, edx
mov edx, eax
jmp 0x588e29
mov ecx, dword [esp + 0x30]
cmp ecx, 0x12
jb 0x588fec
mov dword [esp], 0
lea eax, [0x61ba0d]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
lea eax, [ecx - 0x12]
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 0x12
mov edx, dword [esp + 0x44]
add eax, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.0044dd40
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x2c]
mov ebx, edx
mov edx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x38], ebx
mov esi, dword [esp + 0x88]
test esi, esi
je 0x588e53
test esi, 0x200
jne 0x588e53
lea esi, [0x676140]
mov edi, dword [esp + 0x80]
jmp 0x588e81
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.004c53c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov esi, eax
mov edi, ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x28], esi
xor eax, eax
lea edi, [esp + 0x4c]
call fcn.00463a88
mov ecx, dword [esp + 0x74]
mov ecx, dword [ecx + 0x48]
mov dword [esp], ecx
call fcn.004095e0
mov ecx, dword [esp + 4]
lea edx, [0x5f05c0]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
call fcn.004096f0
mov ecx, dword [esp + 8]
lea edx, [0x5f0dc0]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
call fcn.004096f0
mov ecx, dword [esp + 8]
lea edx, [0x5f0dc0]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x588f0e
mov esi, dword [ecx + 4]
jmp 0x588f10
mov esi, ecx
mov dword [esp + 0x64], esi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x68], eax
lea eax, [0x62a190]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 4
call fcn.004ce190
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [eax + 0xc]
mov esi, dword [esp + 0x18]
inc ebp
cmp edx, ebp
jae 0x588fc6
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], esi
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5f0dc0]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x70]
mov dword [ebx + 0x10], edx
mov edx, dword [0x7e34c0]
test edx, edx
jne 0x588fb0
mov dword [ebx + 8], eax
jmp 0x588fb8
lea edi, [ebx + 8]
call fcn.00463860
mov esi, dword [esp + 0x34]
mov ebp, ecx
mov ecx, eax
mov eax, ebx
mov ebx, dword [esp + 0x48]
mov dword [eax + 0xc], ebp
lea edx, [ecx + ebp*8 - 4]
mov dword [edx], esi
lea edi, [ecx + ebp*8 - 8]
mov ecx, dword [0x7e34c0]
test ecx, ecx
jne 0x588fe1
mov dword [edi], ebx
jmp 0x588fe8
mov eax, ebx
call fcn.00463860
add esp, 0x6c
ret
mov eax, 0x12
call fcn.00463940
nop
call fcn.00462450
jmp fcn.00588c30