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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x5e8a2f
sub esp, 0xb4
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5e8547
mov byte [ecx + 4], 1
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
test edx, edx
je 0x5e8547
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], ecx
add esp, 0xb4
ret
lea eax, [0x748900]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0xb8]
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x5e85e1
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004090a0
mov eax, dword [esp + 8]
lea ecx, [0x7346e0]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [0x7ca97c]
mov dword [esp], eax
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
lea ebx, [0x76a729]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 8
lea ebx, [esp + 0x6c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.004a7650
jmp 0x5e8655
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004090a0
mov eax, dword [esp + 8]
lea ecx, [0x7346e0]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [0x7ca97c]
mov dword [esp], eax
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
lea ebx, [0x769fd5]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 6
lea ebx, [esp + 0x6c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.004a7650
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x5e8664
mov ecx, dword [eax]
jmp 0x5e8666
xor ecx, ecx
mov dword [esp + 0x30], ecx
lea eax, [0x7346e0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call fcn.004426a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], eax
lea edi, [esp + 0x84]
xor eax, eax
call fcn.00456d54
lea eax, [0x7554c0]
mov dword [esp], eax
mov ecx, dword [esp + 0xbc]
mov dword [esp + 4], ecx
lea edx, [esp + 0x84]
mov dword [esp + 8], edx
call fcn.0040d0c0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x64]
xor edx, edx
jmp 0x5e86e5
lea eax, [esp + 0x84]
mov dword [esp], eax
call fcn.0040d2f0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x84]
test ebx, ebx
je 0x5e876b
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
inc edx
cmp eax, edx
jae 0x5e8738
mov dword [esp + 0x38], ebx
mov dword [esp + 0x54], ebp
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x7346e0]
mov dword [esp + 0x10], eax
call fcn.00442820
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
lea esi, [ecx + edx*8 - 4]
mov dword [esi], ebx
lea edi, [ecx + edx*8 - 8]
mov ebx, dword [0x901e80]
test ebx, ebx
jne 0x5e875f
mov dword [edi], ebp
jmp 0x5e86ca
mov eax, ebp
call fcn.00456ac0
jmp 0x5e86ca
mov dword [esp + 0x2c], edx
mov dword [esp + 0x60], ecx
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00409120
mov eax, dword [esp + 0xc]
lea ecx, [0x7cb7ec]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004704d0
xor eax, eax
jmp 0x5e87a4
mov ecx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jge 0x5e87fd
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x60]
lea edx, [ecx + eax*8]
mov ebx, dword [edx]
mov dword [esp + 0x50], ebx
mov edx, dword [edx + 4]
mov dword [esp + 0x34], edx
lea ebp, [0x7554c0]
mov dword [esp], ebp
mov esi, dword [esp + 0xbc]
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.0040eba0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [esp + 0x5c], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
xor edx, edx
jmp 0x5e8a22
lea eax, [0x7ca97c]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
lea ecx, [0x769a64]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.004a7650
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [0x7ca990]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.004680b0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
test eax, eax
jne 0x5e8922
lea eax, [0x748180]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 8], 0
mov ecx, dword [0x901e80]
test ecx, ecx
jne 0x5e88cb
mov dword [eax + 0xc], 0
mov ecx, dword [esp + 0xb8]
mov dword [eax], ecx
mov dword [ecx + 0x10], eax
jmp 0x5e88f1
lea edi, [eax + 0xc]
mov ecx, eax
xor eax, eax
call fcn.00456ac0
mov edi, ecx
mov eax, dword [esp + 0xb8]
call fcn.00456ac0
lea edx, [eax + 0x10]
mov eax, ecx
mov edi, edx
call fcn.00456ac0
lea ecx, [0x7ca878]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
add esp, 0xb4
ret
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], edx
add esp, 0xb4
ret
mov dword [esp + 0x40], edx
lea eax, [ecx + edx*8]
mov ebx, dword [eax]
mov dword [esp + 0x58], ebx
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov ebp, dword [esp + 0x50]
mov dword [esp], ebp
mov esi, dword [esp + 0x34]
mov dword [esp + 4], esi
call fcn.004090a0
mov eax, dword [esp + 8]
lea ecx, [0x7346e0]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.004090a0
mov eax, dword [esp + 8]
lea ecx, [0x7346e0]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
lea eax, [0x7ca97c]
mov dword [esp], eax
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
lea ebx, [0x76a4f1]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 8
lea ebp, [esp + 0x74]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 2
call fcn.004a7650
mov eax, dword [esp + 0x40]
lea edx, [eax + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x5c]
cmp edx, eax
jl 0x5e894d
jmp 0x5e879d
call fcn.00455690
jmp fcn.005e84e0