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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x5841b8
sub esp, 0x94
mov eax, dword [esp + 0x98]
mov eax, dword [eax + 4]
cmp eax, 0x3e8
jge 0x584064
mov dword [esp + 0x1c], eax
lea ecx, [0x5f0f00]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044a1a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
lea ecx, [0x5f0f00]
mov dword [esp], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0044a1a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
lea edi, [esp + 0x74]
xor eax, eax
call fcn.00463a88
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x1c], ecx
lea edx, [0x5f0f00]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044a1a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
lea ecx, [0x5f0f00]
mov dword [esp], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044a1a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
lea edi, [esp + 0x54]
xor eax, eax
call fcn.00463a88
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x14], ecx
lea edx, [0x5e9ca0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044a1a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
lea edi, [esp + 0x34]
xor eax, eax
call fcn.00463a88
lea eax, [0x5841d0]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
lea edx, [esp + 0x74]
mov dword [esp + 0x50], edx
lea ebx, [esp + 0x34]
mov dword [esp + 0x20], ebx
nop
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov ebx, dword [esp + 0x98]
mov ebx, dword [ebx + 0xc]
nop
nop
mov ebp, dword [esp + 0x74]
cmp dword [edx + 4], ebx
jbe 0x584032
mov dword [ebp + ebx*4], 0
mov edx, dword [esp + 0x84]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x8c]
cmp edx, esi
jbe 0x5841ae
mov dword [ebp + esi*4], ebx
inc dword [esp + 0x8c]
mov eax, dword [esp + 0x98]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
lea ecx, [0x5ef8c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044a1a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x18]
jmp 0x58407e
mov dword [esp + 0x9c], 0
add esp, 0x94
ret
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x90]
cmp dword [esp + 0x8c], ebx
jbe 0x5840f6
nop
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
nop
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x90]
cmp esi, ebx
jae 0x5841a5
mov ebx, dword [ebp + esi*4]
lea ebp, [esi + 1]
mov dword [esp + 0x90], ebp
mov edx, dword [esp + 0x20]
mov ebp, dword [edx]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
call ebp
movzx eax, byte [esp + 0x10]
test al, al
jne 0x584076
mov dword [esp + 0x98], 0
mov edx, dword [esp + 0x98]
test edx, edx
je 0x584110
mov edx, dword [edx + 4]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
xor eax, eax
jmp 0x58412c
mov eax, dword [esp + 0x98]
mov dword [esp + 0x9c], eax
add esp, 0x94
ret
inc eax
mov ebx, dword [esp + 0x30]
mov edx, edi
cmp eax, edx
jge 0x584110
cmp eax, ecx
jae 0x5841a0
mov ebp, dword [esp + 0x98]
mov esi, dword [ebp]
mov dword [esp + 0x28], esi
mov ebp, dword [ebp + 4]
mov edi, edx
lea edx, [eax + eax*2]
mov esi, dword [ebx + edx*4]
mov dword [esp + 0x24], esi
mov esi, dword [ebx + edx*4 + 4]
mov edx, dword [ebx + edx*4 + 8]
cmp eax, ebp
jae 0x584199
lea ebp, [eax + eax*8]
mov ebx, dword [esp + 0x28]
mov dword [ebx + ebp*4 + 0x10], esi
mov dword [ebx + ebp*4 + 0x14], edx
lea edx, [ebx + ebp*4 + 0xc]
mov esi, dword [0x7e34c0]
test esi, esi
jne 0x584184
mov edx, dword [esp + 0x24]
mov dword [ebx + ebp*4 + 0xc], edx
jmp 0x584125
mov ebx, edi
mov edi, edx
mov ebp, eax
mov eax, dword [esp + 0x24]
call fcn.00463860
mov eax, ebp
mov edi, ebx
jmp 0x584125
mov ecx, ebp
call fcn.004638e0
call fcn.004638e0
mov eax, esi
mov ecx, ebx
call fcn.004638f0
mov eax, esi
mov ecx, edx
call fcn.004638f0
nop
call fcn.00462450
jmp fcn.00583e20