Function at 0x5e8550
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 0x5e8a9f
sub esp, 0xb4
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5e85b7
mov byte [ecx + 4], 1
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
test edx, edx
je 0x5e85b7
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, [0x748fc0]
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 0x5e8651
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, [0x7345e0]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [0x7ca76c]
mov dword [esp], eax
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
lea ebx, [0x76a489]
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.004a7670
jmp 0x5e86c5
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, [0x7345e0]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [0x7ca76c]
mov dword [esp], eax
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
lea ebx, [0x769d35]
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.004a7670
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x5e86d4
mov ecx, dword [eax]
jmp 0x5e86d6
xor ecx, ecx
mov dword [esp + 0x3c], ecx
lea eax, [0x7345e0]
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, [0x7550e0]
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 + 0x3c]
mov ecx, dword [esp + 0x64]
xor edx, edx
jmp 0x5e8755
lea eax, [esp + 0x84]
mov dword [esp], eax
call fcn.0040d2f0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x84]
test ebx, ebx
je 0x5e87db
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
inc edx
cmp eax, edx
jae 0x5e87a8
mov dword [esp + 0x34], 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, [0x7345e0]
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 + 0x34]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
lea esi, [ecx + edx*8 - 4]
mov dword [esi], ebx
lea edi, [ecx + edx*8 - 8]
mov ebx, dword [0x900e70]
test ebx, ebx
jne 0x5e87cf
mov dword [edi], ebp
jmp 0x5e873a
mov eax, ebp
call fcn.00456ac0
jmp 0x5e873a
mov dword [esp + 0x38], 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, [0x7cb564]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004704d0
xor eax, eax
jmp 0x5e8814
mov ecx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jge 0x5e886d
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 + 0x30], edx
lea ebp, [0x7550e0]
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 0x5e8a92
lea eax, [0x7ca76c]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
lea ecx, [0x7697c4]
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.004a7670
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, [0x7ca780]
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 0x5e8992
lea eax, [0x747440]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 8], 0
mov ecx, dword [0x900e70]
test ecx, ecx
jne 0x5e893b
mov dword [eax + 0xc], 0
mov ecx, dword [esp + 0xb8]
mov dword [eax], ecx
mov dword [ecx + 0x10], eax
jmp 0x5e8961
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, [0x7ca460]
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 + 0x4c], ebx
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], 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 + 0x30]
mov dword [esp + 4], esi
call fcn.004090a0
mov eax, dword [esp + 8]
lea ecx, [0x7345e0]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.004090a0
mov eax, dword [esp + 8]
lea ecx, [0x7345e0]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
lea eax, [0x7ca76c]
mov dword [esp], eax
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
lea ebx, [0x76a251]
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.004a7670
mov eax, dword [esp + 0x40]
lea edx, [eax + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x5c]
cmp edx, eax
jl 0x5e89bd
jmp 0x5e880d
call fcn.00455690
jmp fcn.005e8550