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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x4df148
sub esp, 0xb8
mov edx, dword [esp + 0xbc]
mov ebx, dword [edx + 0x1c]
mov ebp, dword [edx + 0x20]
mov esi, dword [edx + 0x18]
test ebx, ebx
je 0x4df114
mov ecx, dword [esi + 4]
mov eax, esi
mov esi, dword [esi]
cmp ecx, 2
jl 0x4df0ef
cmp byte [esi], 0x2d
jne 0x4df0ef
lea edi, [edx + 0x18]
cmp byte [esi + 1], 0x2d
jne 0x4df0d9
cmp ecx, 2
je 0x4df08a
mov dword [esp + 0x4c], eax
mov eax, 2
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x2c]
cmp ebp, ecx
ja 0x4df140
mov dword [esp + 0x28], ecx
sub ecx, ebp
mov dword [esp + 0x30], ecx
neg ecx
sar ecx, 0x1f
and ebp, ecx
mov ecx, edx
lea edx, [ebp + esi]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x30]
test edx, edx
je 0x4defeb
mov dword [esp + 0x44], ebp
movzx ebp, byte [ebp + esi]
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
je 0x4defeb
xchg ebp, eax
cmp al, 0x3d
xchg ebp, eax
je 0x4defeb
dec ebx
mov dword [ecx + 0x1c], ebx
mov ebx, dword [esp + 0x48]
dec ebx
mov dword [ecx + 0x20], ebx
mov ebp, dword [0xc6be00]
neg ebx
sar ebx, 0x1f
and ebx, 8
add eax, ebx
test ebp, ebp
jne 0x4defe1
mov dword [ecx + 0x18], eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x60], esi
mov ebx, dword [esp + 0x64]
mov eax, 1
jmp 0x4de89c
inc eax
cmp eax, edx
jge 0x4defcc
jae 0x4df139
movzx ebp, byte [eax + ebx]
xchg ebp, eax
cmp al, 0x3d
xchg ebp, eax
jne 0x4de89b
lea ebp, [eax + 1]
sub edx, ebp
mov dword [esp + 0x24], edx
neg edx
sar edx, 0x1f
and ebp, edx
lea edx, [ebx + ebp]
mov ebp, 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x5c], edx
xchg ebp, eax
mov byte [esp + 0x23], al
xchg ebp, eax
mov esi, dword [ecx + 0x14]
lea edi, [0x847e00]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.0040fbd0
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov eax, dword [eax]
test cl, cl
jne 0x4dea2d
mov eax, dword [esp + 0x30]
cmp eax, 4
jne 0x4dea20
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + ecx]
cmp ebx, 0x706c6568
jne 0x4de963
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call fcn.004de750
mov eax, dword [0xc57a0c]
mov ecx, dword [0xc57a08]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0xb8
ret
cmp eax, 1
jne 0x4dea19
movzx ecx, byte [ecx + edx]
cmp cl, 0x68
sete cl
test cl, cl
jne 0x4de92b
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00408100
mov eax, dword [esp + 8]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea ecx, [0x843c00]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
lea eax, [0x8d0dfd]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x22
lea eax, [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004de660
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xb8
ret
xor ecx, ecx
jmp 0x4de976
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x60]
jmp 0x4de963
mov dword [esp + 0x6c], eax
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
lea ebx, [0x868020]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00408440
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x10]
test cl, cl
jne 0x4defaa
xor ecx, ecx
test cl, cl
je 0x4ded59
movzx ecx, byte [esp + 0x23]
test cl, cl
je 0x4dec51
mov eax, dword [eax + 0x14]
mov dword [esp], edx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 8], edx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x4deb53
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4deb1a
mov eax, dword [eax + 0x10]
lea ecx, [0x847e00]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call fcn.0040ff70
mov edi, dword [esp + 0x10]
test byte [edi], al
mov eax, dword [0xc6be00]
test eax, eax
jne 0x4deb0f
mov eax, dword [esp + 0x6c]
mov dword [edi], eax
mov byte [esp + 0xc0], 1
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0xb8
ret
mov eax, dword [esp + 0x6c]
call fcn.00451ff0
jmp 0x4deaea
call fcn.0040b390
mov eax, dword [0xc6be00]
mov ecx, dword [esp]
test eax, eax
jne 0x4deb3b
mov eax, dword [esp + 0xbc]
mov dword [eax + 0x10], ecx
jmp 0x4deaaf
mov edx, dword [esp + 0xbc]
lea edi, [edx + 0x10]
mov eax, ecx
call fcn.00451ff0
mov eax, edx
jmp 0x4deaaf
mov dword [esp + 0x40], eax
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00408100
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.00408100
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4deb9d
mov ecx, dword [ecx + 4]
mov dword [esp + 0x7c], ecx
lea edi, [esp + 0xa0]
mov edx, eax
xor eax, eax
call fcn.0045229a
lea ecx, [0x843c00]
mov dword [esp + 0xa0], ecx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp], ecx
lea ecx, [0x8d20e8]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x24
lea ecx, [esp + 0xa0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call fcn.004de660
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ecx
add esp, 0xb8
ret
mov eax, dword [eax + 0x14]
mov dword [esp], edx
lea ecx, [0x8c0165]
mov dword [esp + 4], ecx
mov dword [esp + 8], 4
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x4deaa1
mov dword [esp + 0x3c], eax
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00408100
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4deca6
mov ecx, dword [ecx + 4]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea edx, [0x843c00]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
lea eax, [0x8cc7bd]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
lea eax, [esp + 0x90]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.004de660
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0xb8
ret
movzx ecx, byte [esp + 0x23]
test cl, cl
je 0x4def49
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
test cl, cl
je 0x4deea6
mov dword [esp + 0x24], eax
mov dword [esp + 0x5c], edx
mov ecx, dword [esp + 0x6c]
mov ebx, dword [ecx + 0x10]
mov ebp, dword [ecx + 0x14]
mov ebx, dword [ebx + 0x10]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call ebx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x4deaa1
mov dword [esp + 0x38], eax
mov dword [esp + 0x70], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00408100
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.00408100
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4dedf2
mov ecx, dword [ecx + 4]
mov dword [esp + 0x7c], ecx
lea edi, [esp + 0xa0]
mov edx, eax
xor eax, eax
call fcn.0045229a
lea ecx, [0x843c00]
mov dword [esp + 0xa0], ecx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp], ecx
lea ecx, [0x8d04ff]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x21
lea ecx, [esp + 0xa0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call fcn.004de660
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ecx
add esp, 0xb8
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00408100
mov eax, dword [esp + 8]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea ecx, [0x843c00]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
lea eax, [0x8cc628]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
lea eax, [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004de660
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0xb8
ret
mov edx, dword [esp + 0xbc]
mov ebx, dword [edx + 0x1c]
mov ebp, dword [edx + 0x18]
mov esi, dword [edx + 0x20]
test ebx, ebx
jle 0x4ded66
mov ecx, dword [ebp + 4]
mov eax, ecx
mov ecx, dword [ebp]
dec ebx
mov dword [edx + 0x1c], ebx
lea ebx, [esi - 1]
mov dword [edx + 0x20], ebx
mov esi, dword [0xc6be00]
neg ebx
sar ebx, 0x1f
and ebx, 8
add ebx, ebp
test esi, esi
jne 0x4def96
mov dword [edx + 0x18], ebx
mov edx, ecx
mov ecx, 1
jmp 0x4ded6e
mov edi, dword [esp + 0x84]
mov ebp, eax
mov eax, ebx
call fcn.00451ff0
mov eax, ebp
jmp 0x4def8a
mov dword [esp + 0x34], eax
mov dword [esp + 0x68], edx
mov ecx, dword [eax + 0x10]
mov dword [esp], edx
call ecx
movzx ecx, byte [esp + 4]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x68]
jmp 0x4dea64
mov eax, edx
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x24], eax
xor edx, edx
mov eax, dword [esp + 0x30]
jmp 0x4de8cd
call fcn.00451ff0
jmp 0x4de885
mov dword [esp], esi
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.00408100
mov eax, dword [esp + 8]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea ecx, [0x843c00]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
lea eax, [0x8c6a76]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
lea eax, [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004de660
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0xb8
ret
lea ecx, [ebx - 1]
mov dword [edx + 0x1c], ecx
lea ecx, [ebp - 1]
mov dword [edx + 0x20], ecx
mov ebx, dword [0xc6be00]
neg ecx
sar ecx, 0x1f
and ecx, 8
add eax, ecx
test ebx, ebx
jne 0x4df0d2
mov dword [edx + 0x18], eax
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0xb8
ret
call fcn.00451ff0
jmp 0x4df0ad
mov dword [esp + 0x54], eax
mov eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
jmp 0x4de808
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0xb8
ret
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0xb8
ret
mov ecx, edx
call fcn.00452070
mov eax, ebp
call fcn.004520d0
nop
call fcn.004507b0
jmp fcn.004de790