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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4dec36
sub esp, 0x64
mov eax, dword [esp + 0x6c]
cmp eax, 0x63
jne 0x4de84a
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.004de410
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x64
ret
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.004dd930
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.004ddd10
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
call fcn.004de1f0
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x6c]
cmp ebx, 0x55
jne 0x4deadb
mov eax, dword [esp + 0x68]
mov dword [esp], eax
lea ecx, [0x867675]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov byte [esp + 0xc], 0
call fcn.004ddbc0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4deaab
mov eax, 1
test al, al
jne 0x4debcb
mov eax, dword [esp + 0x58]
xor ecx, ecx
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x34], ebx
mov ebp, dword [esp + 0x68]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov byte [esp + 0xc], cl
call fcn.004de2d0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x40
call fcn.00497ac0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x4deb88
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x70]
add eax, 0xffffffc0
neg eax
mov dword [esp + 0x4c], eax
cmp eax, 0x20
sbb ebx, ebx
lea ebp, [eax - 0x20]
mov dword [esp + 0x48], ebp
cmp ebp, 0x20
sbb esi, esi
mov dword [esp + 0x44], esi
mov edi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov dword [esp + 0x40], ebp
cmp ebp, 0x20
sbb esi, esi
mov dword [esp + 0x3c], esi
cmp eax, 0x20
sbb esi, esi
shr eax, 5
cmp eax, 1
sbb eax, eax
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x2c]
shl eax, cl
mov ecx, edi
shl edx, cl
mov ecx, ebp
mov edi, dword [esp + 0x28]
shr edi, cl
and eax, ebx
mov ebp, dword [esp + 0x3c]
and edi, ebp
or edi, eax
mov eax, dword [esp + 0x44]
and edx, eax
or edi, edx
xchg esi, ebx
not ebx
xchg esi, ebx
mov edx, dword [esp + 0x4c]
or esi, edx
mov ecx, esi
mov esi, edi
sar edi, cl
mov eax, dword [esp + 0x2c]
cmp edi, eax
xchg edi, ebx
setne bl
xchg edi, ebx
mov ecx, edx
mov eax, dword [esp + 0x28]
shl eax, cl
and eax, ebx
shr eax, cl
and eax, ebx
mov ecx, dword [esp + 0x40]
mov edx, esi
shl esi, cl
and esi, ebp
or esi, eax
mov ecx, dword [esp + 0x44]
not ecx
mov eax, dword [esp + 0x48]
or ecx, eax
sar edx, cl
mov eax, dword [esp + 0x38]
xor eax, 0xffffffff
and eax, edx
or eax, esi
mov edx, dword [esp + 0x28]
cmp eax, edx
setne al
or edi, eax
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4dea31
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], eax
add esp, 0x64
ret
mov dword [esp], 0
lea eax, [0x872c8c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1a
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
call fcn.00447250
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x54], ecx
lea edx, [0x80ac40]
mov dword [esp], edx
call fcn.0040afa0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov eax, dword [0xcc7b40]
test eax, eax
jne 0x4dea9d
mov eax, dword [esp + 0x54]
mov dword [edi], eax
jmp 0x4deb40
mov eax, dword [esp + 0x54]
call fcn.0045a0b0
jmp 0x4deb40
mov eax, dword [esp + 0x68]
mov dword [esp], eax
lea ecx, [0x86765c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov byte [esp + 0xc], 0
call fcn.004ddbc0
movzx eax, byte [esp + 0x10]
xor eax, 1
jmp 0x4de8d0
nop
mov eax, dword [esp + 0x68]
mov dword [esp], eax
lea ecx, [0x8676ba]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
mov byte [esp + 0xc], 1
call fcn.004ddbc0
mov eax, dword [esp + 0x6c]
cmp eax, 0x76
je 0x4deb21
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x30]
xor edx, edx
mov ebx, dword [esp + 0x34]
mov ebp, ecx
mov ecx, edx
mov edx, ebp
jmp 0x4de8e6
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.004de5f0
mov ebx, dword [esp + 4]
movzx edx, byte [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
jmp 0x4deb16
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea eax, [0x9bab90]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edi
lea eax, [0x80aca0]
mov dword [esp], eax
lea eax, [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.00408600
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00430b50
nop
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebx
lea eax, [0x80aca0]
mov dword [esp], eax
lea eax, [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.00408600
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00430b50
nop
lea eax, [0x80ac40]
mov dword [esp], eax
call fcn.0040afa0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x86e1a7]
mov dword [eax], ecx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea ecx, [0x9bab90]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
lea eax, [0x80aca0]
mov dword [esp], eax
lea eax, [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.00408600
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00430b50
nop
call fcn.00458870
jmp fcn.004de800