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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5e4a2e
sub esp, 0x6c
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], 3
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
call fcn.0058a500
movzx eax, byte [esp + 0xc]
test al, al
je 0x5e45c8
jmp 0x5e45d1
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov eax, dword [esp + 0x58]
test eax, eax
je 0x5e46ff
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
nop
lea eax, [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 3
lea ecx, [esp + 0x60]
mov dword [esp + 8], ecx
call fcn.0058a500
movzx eax, byte [esp + 0xc]
test al, al
je 0x5e46f6
lea eax, [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 2
lea ecx, [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.0058a500
movzx eax, byte [esp + 0xc]
test al, al
je 0x5e46f6
mov edx, dword [esp + 0x74]
mov ebx, dword [edx]
mov ebp, dword [edx + 8]
mov esi, dword [edx + 4]
inc esi
cmp ebp, esi
jae 0x5e46bf
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x685ec0]
mov dword [esp + 0x10], eax
call fcn.0044af60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x74]
mov dword [edi + 8], edx
mov edx, dword [0x8e7a50]
test edx, edx
jne 0x5e46b4
mov dword [edi], eax
jmp 0x5e46b9
call fcn.00464190
mov edx, edi
mov ebx, eax
mov esi, ecx
mov dword [edx + 4], esi
lea ebp, [esi + esi*2]
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
mov ecx, edx
mov edx, dword [esp + 0x68]
mov dword [ebx + ebp*4 - 8], esi
mov dword [ebx + ebp*4 - 4], edx
mov edx, dword [0x8e7a50]
lea edi, [ebx + ebp*4 - 0xc]
test edx, edx
jne 0x5e46ef
mov dword [ebx + ebp*4 - 0xc], eax
jmp 0x5e470a
call fcn.00464190
jmp 0x5e470a
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov byte [esp + 0x78], 1
add esp, 0x6c
ret
mov ecx, edx
mov edx, dword [esp + 0x40]
test edx, edx
je 0x5e45d1
mov word [esp + 0x22], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
cmp ebx, 2
jge 0x5e474c
xor edx, edx
xor eax, eax
jmp 0x5e476d
add ebx, 0xfffffffe
mov dword [esp + 0x40], ebx
lea ebx, [ebp - 2]
mov dword [esp + 0x44], ebx
neg ebx
sar ebx, 0x1f
and ebx, 2
add ebx, edx
mov dword [esp + 0x3c], ebx
mov eax, 2
test edx, edx
je 0x5e4795
test eax, eax
jbe 0x5e4a24
movzx ebx, byte [edx]
cmp eax, 1
jbe 0x5e4a18
shl ebx, 8
movzx eax, byte [edx + 1]
or ebx, eax
mov word [esp + 0x22], bx
test edx, edx
je 0x5e48f5
lea eax, [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], 2
lea ecx, [esp + 0x48]
mov dword [esp + 8], ecx
call fcn.0058a500
movzx eax, byte [esp + 0xc]
test al, al
je 0x5e48f5
mov edx, dword [esp + 0x74]
cmp dword [edx + 4], 1
jg 0x5e4708
movzx ebx, word [esp + 0x22]
cmp bx, 5
jne 0x5e487d
mov byte [esp + 0x21], 0
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x50]
test ebx, ebx
jne 0x5e47fc
xor ebp, ebp
xor eax, eax
jmp 0x5e481b
dec ebx
mov dword [esp + 0x4c], ebx
lea ebx, [esi - 1]
mov dword [esp + 0x50], ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
add ebx, ebp
mov dword [esp + 0x48], ebx
mov eax, 1
test ebp, ebp
je 0x5e4831
test eax, eax
jbe 0x5e4a0f
movzx ebx, byte [ebp]
mov byte [esp + 0x21], bl
test ebp, ebp
je 0x5e486b
cmp byte [esp + 0x21], 1
je 0x5e4841
mov eax, 1
jmp 0x5e4870
nop
lea eax, [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 3
lea eax, [edx + 0x20]
mov dword [esp + 8], eax
call fcn.0058a500
movzx eax, byte [esp + 0xc]
xor eax, 1
mov edx, dword [esp + 0x74]
jmp 0x5e4870
mov eax, 1
test al, al
jne 0x5e48e3
mov ebx, dword [edx + 0x24]
test ebx, ebx
jne 0x5e48d2
jmp 0x5e48e3
cmp bx, 0x12
jne 0x5e4708
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
lea eax, [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x24]
mov dword [esp + 8], eax
call fcn.0058a500
movzx eax, byte [esp + 0xc]
test al, al
je 0x5e48ec
mov edx, dword [esp + 0x28]
test edx, edx
jne 0x5e48fe
jmp 0x5e48ec
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x4c]
test ebx, ebx
je 0x5e4708
jmp 0x5e4a06
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov edx, dword [esp + 0x28]
test edx, edx
je 0x5e48ce
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
nop
lea eax, [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 2
lea ecx, [esp + 0x30]
mov dword [esp + 8], ecx
call fcn.0058a500
movzx eax, byte [esp + 0xc]
test al, al
je 0x5e49fd
mov edx, dword [esp + 0x34]
test edx, edx
je 0x5e49fd
mov edx, dword [esp + 0x74]
mov ebx, dword [edx + 0x30]
inc ebx
mov ebp, dword [edx + 0x2c]
mov esi, dword [edx + 0x34]
cmp esi, ebx
jae 0x5e49b8
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x685ec0]
mov dword [esp + 0x10], eax
call fcn.0044af60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x34], edx
mov edx, dword [0x8e7a50]
test edx, edx
jne 0x5e49aa
mov dword [ebx + 0x2c], eax
jmp 0x5e49b2
lea edi, [ebx + 0x2c]
call fcn.00464190
mov edx, ebx
mov ebp, eax
mov ebx, ecx
mov dword [edx + 0x30], ebx
lea ebx, [ebx + ebx*2]
mov esi, dword [esp + 0x34]
mov eax, edx
mov edx, dword [esp + 0x38]
mov ecx, edx
mov edx, dword [esp + 0x30]
mov dword [ebp + ebx*4 - 8], esi
mov dword [ebp + ebx*4 - 4], ecx
mov esi, dword [0x8e7a50]
lea edi, [ebp + ebx*4 - 0xc]
test esi, esi
jne 0x5e49ed
mov dword [ebp + ebx*4 - 0xc], edx
jmp 0x5e48fe
mov ecx, eax
mov eax, edx
call fcn.00464190
mov eax, ecx
jmp 0x5e48fe
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
xor eax, eax
mov ecx, eax
call fcn.00464210
mov eax, 1
mov ecx, eax
call fcn.00464210
xor eax, eax
mov ecx, eax
call fcn.00464210
nop
call fcn.00462d80
jmp fcn.005e4570