Function at 0x5e39a0
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 0x5e3daf
sub esp, 0x94
lea edi, [esp + 0x68]
xor eax, eax
call fcn.00464575
nop
mov word [esp + 0x26], 0
mov ecx, dword [esp + 0xbc]
mov edx, ecx
shr cx, 8
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], dl
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x5e39f9
lea ecx, [esp + 0x68]
jmp 0x5e3b05
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x5e3d96
mov eax, dword [esp + 0x74]
add eax, 2
cmp eax, 2
jge 0x5e3a4a
lea eax, [0x6a2c20]
mov dword [esp], eax
call fcn.0040bd30
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x6db6ae]
mov dword [eax], ecx
lea ecx, [0x73be18]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov edx, dword [esp + 0xbc]
movzx eax, byte [esp + 0x7c]
test al, al
je 0x5e3a98
mov eax, dword [esp + 0x74]
add eax, 2
lea ecx, [esp + 0x68]
cmp dword [ecx + 0x10], eax
jge 0x5e3a9c
lea eax, [0x6a2c20]
mov dword [esp], eax
call fcn.0040bd30
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x6e554e]
mov dword [eax], ecx
lea ecx, [0x73be18]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0x68]
jmp 0x5e3b05
lea ecx, [esp + 0x68]
mov eax, dword [esp + 0x74]
lea ebx, [eax + 2]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x70]
cmp ebp, ebx
jae 0x5e3af0
mov dword [esp + 0x30], eax
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 2
lea eax, [0x698da0]
mov dword [esp + 0x10], eax
call fcn.0044b130
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x68]
mov edx, dword [esp + 0xbc]
movzx edi, word [esp + 0x26]
mov word [esi + eax], di
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x70], esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea eax, [0x5e3f80]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x54], eax
mov dword [esp], ecx
mov dword [esp + 4], 1
mov byte [esp + 8], 0
lea eax, [esp + 0x4c]
mov dword [esp + 0xc], eax
call fcn.00555bc0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x5e3dc0]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], 1
mov byte [esp + 8], 0
lea eax, [esp + 0x58]
mov dword [esp + 0xc], eax
call fcn.00555bc0
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
test eax, eax
je 0x5e3bdc
xor ebp, ebp
mov ebx, ecx
xor edx, edx
xor ecx, ecx
jmp 0x5e3c0a
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x84]
cmp eax, ecx
ja 0x5e3d91
sub ebx, eax
sub ecx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
add edx, eax
xor eax, eax
xor ebx, ebx
test eax, eax
je 0x5e3c29
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
jne 0x5e3d3d
jmp 0x5e3d40
mov dword [esp + 0x3c], edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ecx
lea eax, [0x698da0]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044b070
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea ecx, [0x5e8080]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x34]
mov dword [esp], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
call fcn.005b8780
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xbc]
mov dword [esp + 8], edx
mov dword [esp + 0xc], edx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x5e3d25
mov ecx, dword [esp + 0xbc]
cmp ecx, eax
jne 0x5e3d25
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], ecx
add esp, 0x94
ret
lea eax, [0x698ba0]
mov dword [esp], eax
lea eax, [0x73b5b8]
mov dword [esp + 4], eax
call fcn.00436320
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebx
lea eax, [0x6dee1b]
mov dword [esp], eax
mov dword [esp + 4], 0x22
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.005242a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x5e3d85
mov eax, dword [eax + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00436320
call fcn.004643c0
lea eax, [0x698ba0]
mov dword [esp], eax
lea eax, [0x73b600]
mov dword [esp + 4], eax
call fcn.00436320
nop
call fcn.00462ed0
jmp fcn.005e39a0