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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5e549e
sub esp, 0x70
mov eax, 0
mov dword [esp + 0x6c], eax
mov byte [esp + 0x3b], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5e5146
movzx ecx, byte [esp + 0x78]
cmp cl, 0x16
jne 0x5e510b
mov ecx, dword [eax + 0x17c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x10], edx
call fcn.006023d0
mov eax, dword [esp + 0x74]
movzx ecx, byte [eax + 0x1cc]
test cl, cl
jne 0x5e50c2
mov dword [esp], eax
call fcn.005e4f10
mov eax, dword [esp + 8]
test eax, eax
jne 0x5e50ea
mov eax, dword [esp + 0x80]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x70
ret
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x70
ret
lea eax, [0x7195e3]
mov dword [esp], eax
mov dword [esp + 4], 0x44
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x70
ret
lea eax, [0x8a2be0]
mov dword [esp], eax
call fcn.0048e6f0
mov eax, dword [esp + 4]
lea ecx, [0x6b4e40]
cmp eax, ecx
jne 0x5e547e
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 8]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebp
lea ecx, [0x5e54b0]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x6c], eax
mov byte [esp + 0x3b], 1
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
xor ebx, ebx
jmp 0x5e51e3
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
sub ecx, ebp
mov esi, ecx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebp
mov edi, dword [esp + 0x3c]
lea ebx, [edi + ebp]
mov eax, dword [esp + 0x48]
sub eax, ebp
mov ebp, dword [esp + 0x5c]
lea edx, [ebp + esi]
mov dword [esp + 0x3c], ebx
test eax, eax
je 0x5e53b1
mov dword [esp + 0x5c], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x74]
mov dword [esp], eax
movzx ecx, byte [esp + 0x78]
mov byte [esp + 4], cl
call fcn.005e4ba0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x48]
cmp ecx, eax
jg 0x5e521e
mov eax, ecx
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp + 0xc], 5
call fcn.005e27d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
movzx ecx, byte [esp + 0x78]
mov byte [eax], cl
mov eax, dword [esp + 0x74]
movzx edx, word [eax + 0x28]
test dx, dx
jne 0x5e5279
mov edx, 0x301
jmp 0x5e5285
cmp dx, 0x304
jne 0x5e5285
mov edx, 0x303
mov ecx, dword [esp + 0x4c]
mov ebx, edx
shr dx, 8
mov byte [ecx + 1], dl
mov ecx, dword [esp + 0x4c]
mov byte [ecx + 2], bl
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
mov ebx, edx
sar edx, 8
mov byte [ecx + 3], dl
mov ecx, dword [esp + 0x4c]
mov byte [ecx + 4], bl
lea ecx, [eax + 0x130]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 0x2c]
mov dword [esp], edx
call fcn.005e04f0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0x58]
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
call fcn.005e2870
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ebx
test eax, eax
jne 0x5e5387
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.005e4da0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5e51b7
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov byte [esp + 0x3b], 0
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
call eax
add esp, 0x70
ret
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ebp
mov byte [esp + 0x3b], 0
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
call eax
add esp, 0x70
ret
movzx eax, byte [esp + 0x78]
cmp al, 0x14
jne 0x5e5434
mov eax, dword [esp + 0x74]
cmp word [eax + 0x28], 0x304
je 0x5e5434
lea ecx, [eax + 0x130]
mov dword [esp], ecx
call fcn.005e1910
mov eax, dword [esp + 4]
test eax, eax
je 0x5e5430
lea ecx, [0x734840]
cmp eax, ecx
jne 0x5e5462
mov eax, dword [esp + 8]
movzx eax, byte [eax]
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov byte [esp + 4], al
call fcn.005e4920
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov byte [esp + 0x3b], 0
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
call eax
add esp, 0x70
ret
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov byte [esp + 0x3b], 0
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
call eax
add esp, 0x70
ret
mov ecx, dword [0x734844]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x6c9f20]
mov dword [esp + 8], eax
call fcn.0040b210
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x6c1300]
mov dword [esp + 8], eax
call fcn.0040b180
nop
call fcn.0043af70
add esp, 0x70
ret
call fcn.00475ee0
jmp fcn.005e5010