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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x5e27ba
sub esp, 0xb8
mov eax, dword [esp + 0xc8]
lea ecx, [eax - 5]
mov dword [esp + 0x5c], ecx
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 5
mov ebx, dword [esp + 0xc0]
movzx ebp, byte [ebx]
xchg ebp, eax
mov byte [esp + 0x53], al
xchg ebp, eax
mov esi, dword [esp + 0xc4]
lea edi, [esi - 5]
mov dword [esp + 0x58], edi
add ecx, ebx
mov dword [esp + 0xa0], ecx
mov ebx, dword [esp + 0xbc]
cmp word [ebx + 0x10], 0x304
jne 0x5e1e0d
xchg ebp, eax
cmp al, 0x14
xchg ebp, eax
jne 0x5e1e0d
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], edx
mov byte [esp + 0xd8], 0x14
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
add esp, 0xb8
ret
mov dword [esp], ebx
call fcn.005e1b60
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 4]
test ecx, ecx
je 0x5e241f
je 0x5e27a1
mov dword [esp + 0x7c], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0xac], edx
lea ebx, [0x8a2c20]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040b8d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x5e22d0
mov dword [esp + 0xb4], ecx
cmp eax, 1
je 0x5e2040
cmp eax, 2
jne 0x5e27a1
mov eax, dword [ecx + 0xc]
mov edx, dword [esp + 0xac]
mov dword [esp], edx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x20]
mov edx, dword [edx + 0x14]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
inc eax
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call fcn.005e1d10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x7c]
add eax, ecx
mov edx, dword [esp + 0x80]
test edx, edx
je 0x5e279c
mov ebx, eax
mov eax, dword [esp + 0x58]
mov ebp, edx
cdq
idiv ebp
test edx, edx
jne 0x5e1fee
mov eax, dword [esp + 0x58]
cmp eax, ebx
jl 0x5e1fee
test ecx, ecx
jg 0x5e1f0c
mov edi, eax
mov ebp, dword [esp + 0x5c]
mov ecx, dword [esp + 0xa0]
jmp 0x5e1f67
mov eax, dword [esp + 0xb4]
mov edx, dword [eax + 0x14]
mov ebx, dword [esp + 0xac]
mov dword [esp], ebx
mov ebp, dword [esp + 0xa0]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov esi, dword [esp + 0x5c]
mov dword [esp + 0xc], esi
call edx
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0x7c]
sub eax, ecx
mov edx, dword [esp + 0xc8]
sub edx, ecx
add edx, 0xfffffffb
mov ebp, edx
neg edx
sar edx, 0x1f
and ecx, edx
lea edi, [eax - 5]
mov eax, dword [esp + 0xa0]
add ecx, eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], ebp
mov eax, dword [esp + 0xb4]
mov eax, dword [eax + 0x10]
mov edx, dword [esp + 0xac]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
call eax
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 8], edx
call fcn.005e1c40
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x10]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0xa4]
xor esi, esi
xor edi, edi
xor edx, edx
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x60]
jmp 0x5e232a
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov byte [esp + 0xd8], 0
lea eax, [0x734840]
mov dword [esp + 0xdc], eax
mov eax, 0x14
lea ecx, [0x882620]
lea eax, [ecx + eax*8]
mov dword [esp + 0xe0], eax
add esp, 0xb8
ret
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x58]
cmp eax, edx
jg 0x5e227e
test eax, eax
jne 0x5e206a
mov ebx, dword [esp + 0xbc]
lea ebp, [ebx + 0x24]
mov edx, 8
mov esi, 8
jmp 0x5e207e
mov ebx, dword [esp + 0xbc]
mov edx, eax
mov esi, dword [esp + 0x5c]
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0x70], esi
mov edi, dword [esp + 0xc8]
sub edi, eax
add edi, 0xfffffffb
mov dword [esp + 0x64], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, eax
mov esi, dword [esp + 0xc4]
sub esi, eax
mov eax, dword [esp + 0xa0]
add eax, edi
mov dword [esp + 0xa4], eax
cmp word [ebx + 0x10], 0x304
jne 0x5e20f7
mov edi, 5
mov edi, dword [esp + 0xc8]
mov dword [esp + 0x84], edi
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xb0], eax
mov edi, 5
mov eax, dword [esp + 0x90]
jmp 0x5e2195
mov dword [esp + 0x98], esi
mov dword [esp + 0xa8], ebp
mov dword [esp + 0x6c], edx
mov eax, dword [ebx + 0x24]
mov edx, dword [ebx + 0x28]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], edx
mov eax, dword [esp + 0xc0]
movzx edx, word [eax]
movzx ebp, byte [eax + 2]
mov word [ebx + 0x34], dx
xchg ebp, eax
mov byte [ebx + 0x36], al
xchg ebp, eax
mov edx, dword [ecx + 0x14]
mov ebp, dword [esp + 0xac]
mov dword [esp], ebp
call edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x98]
mov edx, ecx
sub ecx, eax
lea eax, [ecx - 5]
mov ecx, eax
sar eax, 8
mov ebx, dword [esp + 0xbc]
mov byte [ebx + 0x37], al
mov byte [ebx + 0x38], cl
lea eax, [ebx + 0x2c]
mov ecx, dword [esp + 0xb4]
mov ebp, dword [esp + 0xa8]
mov esi, edx
mov edi, 0xd
mov edx, 0xd
mov dword [esp + 0x84], edx
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x6c]
lea ebx, [esi - 5]
mov dword [esp + 0x60], ebx
mov ecx, dword [ecx + 0x10]
mov esi, dword [esp + 0xac]
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov esi, dword [esp + 0x64]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], esi
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edi
mov edx, dword [esp + 0x84]
mov dword [esp + 0x30], edx
call ecx
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x5e222c
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
xor eax, eax
mov ecx, 0xffffffff
mov esi, ebx
mov edi, edx
mov dword [esp + 0x5c], ebp
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0xa4]
jmp 0x5e232a
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov byte [esp + 0xd8], 0
lea eax, [0x734840]
mov dword [esp + 0xdc], eax
mov eax, 0x14
lea ecx, [0x882620]
lea eax, [ecx + eax*8]
mov dword [esp + 0xe0], eax
add esp, 0xb8
ret
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov byte [esp + 0xd8], 0
lea eax, [0x734840]
mov dword [esp + 0xdc], eax
mov eax, 0x14
lea ecx, [0x882620]
lea eax, [ecx + eax*8]
mov dword [esp + 0xe0], eax
add esp, 0xb8
ret
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0xac]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
call eax
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0xa0]
xor eax, eax
mov ecx, 0xffffffff
xor esi, esi
xor edi, edi
xor edx, edx
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xbc]
cmp word [eax + 0x10], 0x304
jne 0x5e2403
movzx eax, byte [esp + 0x53]
cmp al, 0x17
jne 0x5e23b1
cmp esi, 0x4001
jg 0x5e235f
mov byte [esp + 0x52], cl
lea eax, [esi - 1]
jmp 0x5e271a
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov byte [esp + 0xd8], 0
lea eax, [0x734840]
mov dword [esp + 0xdc], eax
mov eax, 0x16
lea ecx, [0x882620]
lea eax, [ecx + eax*8]
mov dword [esp + 0xe0], eax
add esp, 0xb8
ret
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov byte [esp + 0xd8], 0
lea eax, [0x734840]
mov dword [esp + 0xdc], eax
mov eax, 0xa
lea ecx, [0x882620]
lea eax, [ecx + eax*8]
mov dword [esp + 0xe0], eax
add esp, 0xb8
ret
mov dword [esp + 0x88], eax
movzx eax, byte [esp + 0x53]
mov byte [esp + 0x51], al
mov eax, dword [esp + 0x88]
jmp 0x5e26f3
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x58]
xor ebp, ebp
mov esi, 0xffffffff
movzx edi, byte [esp + 0x53]
xchg esi, eax
mov byte [esp + 0x52], al
xchg esi, eax
xchg edi, eax
mov byte [esp + 0x51], al
xchg edi, eax
mov esi, dword [eax + 0x1c]
test esi, esi
jne 0x5e2461
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0xa0]
jmp 0x5e25eb
mov dword [esp + 0x68], ebp
mov dword [esp + 0xa4], edx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ecx
mov ecx, dword [eax + 0x20]
mov edx, dword [esi + 0x14]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x60]
cmp ecx, eax
jl 0x5e26a1
mov dword [esp + 0x78], eax
sub ecx, eax
mov ebx, dword [esp + 0x68]
sub ecx, ebx
mov ebx, ecx
shr ecx, 0x1f
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
call fcn.0052ee90
mov eax, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov ecx, eax
sar eax, 8
mov edx, dword [esp + 0xc0]
mov byte [edx + 3], al
mov byte [edx + 4], cl
mov eax, dword [esp + 0x64]
mov ebx, eax
sub eax, ecx
mov dword [esp + 0x54], eax
neg eax
sar eax, 0x1f
and eax, ecx
mov esi, dword [esp + 0xa4]
add eax, esi
mov dword [esp + 0x9c], eax
mov edi, dword [esp + 0xbc]
mov ebp, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
mov dword [esp], ebp
mov dword [esp + 4], eax
lea eax, [edi + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0xd
lea eax, [edi + 0x24]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], 8
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], 5
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x78]
lea edx, [eax + ecx]
sub ebx, edx
mov dword [esp + 0x98], ebx
mov edi, dword [esp + 0x60]
sub edi, edx
neg ebx
sar ebx, 0x1f
and edx, ebx
add edx, esi
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edi
mov edx, dword [esp + 0x98]
mov dword [esp + 0x40], edx
call fcn.005dfce0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], eax
call fcn.0052ee20
movzx eax, byte [esp + 0x52]
movzx eax, al
and eax, dword [esp + 0x18]
cmp eax, 1
jne 0x5e264f
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov dword [esp], eax
call fcn.005e1b00
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xd4], eax
movzx eax, byte [esp + 0x51]
mov byte [esp + 0xd8], al
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
add esp, 0xb8
ret
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov byte [esp + 0xd8], 0
lea eax, [0x734840]
mov dword [esp + 0xdc], eax
mov eax, 0x14
lea ecx, [0x882620]
lea eax, [ecx + eax*8]
mov dword [esp + 0xe0], eax
add esp, 0xb8
ret
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov byte [esp + 0xd8], 0
lea eax, [0x734840]
mov dword [esp + 0xdc], eax
mov eax, 0x14
lea ecx, [0x882620]
lea eax, [ecx + eax*8]
mov dword [esp + 0xe0], eax
add esp, 0xb8
ret
mov dword [esp + 0x58], esi
mov dword [esp + 0xa0], edi
mov esi, ecx
movzx edi, byte [esp + 0x51]
mov ecx, ebx
mov ebx, edx
mov edx, ebp
mov ebp, dword [esp + 0x68]
jmp 0x5e243a
dec eax
movzx ecx, byte [esp + 0x52]
test eax, eax
jl 0x5e2787
movzx ecx, byte [edi + eax]
test cl, cl
jne 0x5e277c
test eax, eax
jne 0x5e2714
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov byte [esp + 0xd8], 0
lea eax, [0x734840]
mov dword [esp + 0xdc], eax
mov eax, 0xa
lea ecx, [0x882620]
lea eax, [ecx + eax*8]
mov dword [esp + 0xe0], eax
add esp, 0xb8
ret
mov esi, eax
mov eax, ecx
movzx ecx, byte [esp + 0x52]
jmp 0x5e278c
mov eax, 0x17
mov byte [esp + 0x51], al
mov eax, dword [esp + 0xbc]
jmp 0x5e26f3
call fcn.0043a740
lea eax, [0x6c0080]
mov dword [esp], eax
lea eax, [0x733d58]
mov dword [esp + 4], eax
call fcn.00470a40
nop
call fcn.00475ee0
jmp fcn.005e1d60