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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5820d1
sub esp, 0x64
mov eax, 0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
call fcn.005802e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x18]
test ecx, ecx
jne 0x5820a5
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0x74]
cmp ecx, 5
jge 0x58206d
xor ebp, ebp
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x581fb2
mov eax, dword [esp + 0x70]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
call fcn.004bae50
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
call fcn.00409f80
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
call fcn.00409f80
mov eax, dword [esp + 8]
lea ecx, [0x7cd4f0]
mov dword [esp], ecx
lea ecx, [0x643700]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00461a40
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.00409f80
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
call fcn.00409f80
mov eax, dword [esp + 8]
lea ecx, [0x7cd510]
mov dword [esp], ecx
lea ecx, [0x643700]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00461a40
lea eax, [0x7e3308]
mov dword [esp], eax
call fcn.004627c0
lea eax, [0x692a60]
mov dword [esp + 0x60], eax
lea eax, [0x7e3308]
mov dword [esp + 0x5c], eax
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0x40]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x58], ecx
lea edx, [0x7cd4d0]
mov dword [esp], edx
lea ebx, [0x643700]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x54]
mov dword [esp + 8], ebp
call fcn.004617c0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
movzx edx, byte [esp + 0x14]
test dl, dl
je 0x581fa1
lea edx, [0x63b160]
cmp edx, ecx
jne 0x5820b1
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 8]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov esi, dword [esp + 0x30]
xor eax, eax
jmp 0x581e27
inc eax
lea edx, [0x63b160]
mov ebp, edi
cmp eax, ebx
jge 0x581e95
lea edx, [ecx + eax*8]
mov edi, ebp
mov ebp, dword [edx + 4]
mov edx, dword [edx]
cmp ebp, esi
jne 0x581e1e
mov dword [esp + 0x38], eax
mov dword [esp], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.004031b0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x581e70
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
jmp 0x581e1e
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00462b80
add esp, 0x64
ret
lea edx, [ebx + 1]
cmp edx, ebp
ja 0x581f67
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ebp
lea ebp, [ecx + ebx*8 + 4]
mov dword [ebp], esi
mov ebp, dword [0x7e34e0]
lea edi, [ecx + ebx*8]
test ebp, ebp
jne 0x581f59
mov ebx, dword [esp + 0x48]
mov dword [edi], ebx
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00409f80
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
call fcn.0040a000
mov eax, dword [esp + 0xc]
lea ecx, [0x7cd4d0]
mov dword [esp], ecx
lea ecx, [0x643700]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
lea ecx, [0x63b160]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00461a40
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00462b80
add esp, 0x64
ret
mov eax, dword [esp + 0x48]
call fcn.0045c920
jmp 0x581eca
lea eax, [0x643700]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.004441e0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edx, [eax + 1]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
jmp 0x581ea0
lea edx, [0x63b160]
xor ebx, ebx
xor ebp, ebp
xor ecx, ecx
jmp 0x581e0a
lea ecx, [0x645620]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x67a54e]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 7
call fcn.00410bf0
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test eax, eax
je 0x581ff2
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
jmp 0x581ca0
lea eax, [0x645620]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
lea ecx, [0x67a54e]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 7
call fcn.004112c0
mov edi, dword [esp + 0x10]
mov dword [edi + 4], 5
mov eax, dword [0x7e34e0]
test eax, eax
jne 0x582060
lea eax, [0x67a012]
mov dword [edi], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.0057e910
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x581ca4
lea eax, [0x67a012]
call fcn.0045c920
jmp 0x582037
mov eax, dword [esp + 0x70]
mov dword [esp], eax
lea ecx, [0x679ff9]
mov dword [esp + 4], ecx
mov dword [esp + 8], 5
call fcn.004031b0
movzx ebp, byte [esp + 0xc]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
jmp 0x581c96
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ebp
add esp, 0x64
ret
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x642f00]
mov dword [esp + 8], eax
call fcn.00409c30
nop
call fcn.004312b0
add esp, 0x64
ret
call fcn.0045b380
jmp fcn.00581c10