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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62f071
mov eax, dword fs:[0]
push eax
sub esp, 0x3e8
mov eax, dword [0x652018]
xor eax, esp
mov dword [esp + 0x3e0], eax
push ebx
push esi
push edi
mov eax, dword [0x652018]
xor eax, esp
push eax
lea eax, [esp + 0x3f8]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
cmp byte [ebp + 0x18], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x1bc]
mov dword [esp + 0x2c], eax
je 0x4cf283
mov eax, dword [esi + 0xc]
mov edx, 0x42518c
push 6
mov ecx, dword [eax + 0xc]
call fcn.00414e7e
mov ecx, dword [esi + 0x1bc]
mov dword [esp + 0x30], eax
lea eax, [esi + 0x1b8]
push 0xd4
mov dword [esp + 0x1c], eax
call 0x3bcd8e
mov ebx, eax
mov dword [esp + 0x48], ebx
and byte [ebx + 1], 0xfe
mov byte [ebx], 0xa
mov edx, dword [esi + 0x210]
mov ecx, dword [edx]
push dword [ecx + 0x10]
lea ecx, [edx + 0x90]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00402cde
mov edi, dword [esp + 0x34]
mov edx, 0x428424
mov eax, dword [esi + 0xc]
dec edi
neg edi
push 3
sbb edi, edi
mov ecx, dword [eax + 0xc]
not edi
and edi, dword [esp + 0x3c]
call fcn.00414e7e
mov ecx, dword [esp + 0x18]
mov esi, eax
push 0
push 0
push 0xe
call fcn.00418cee
mov edx, eax
mov eax, dword [esp + 0x30]
and byte [edx + 0x20], 0xc0
mov dword [edx + 8], esi
mov esi, dword [esp + 0x10]
mov dword [edx + 0xc], edi
mov ecx, dword [esi + 0x210]
mov ecx, dword [ecx + 0x928]
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
movzx eax, byte [ebx + 0x78]
and byte [ebx + 1], 0xe7
and al, 0x40
and byte [ebx + 0x79], 0xf2
or al, 0x19
and byte [ebx + 0x4b], 0xfd
and byte [ebx + 0x7b], 0xf9
mov byte [ebx + 0x78], al
movzx eax, byte [ebx + 0x4a]
and al, 0xf5
mov byte [ebx + 0x49], 0x16
or al, 1
mov dword [ebx + 0x50], ecx
mov byte [ebx + 0x4a], al
movzx eax, byte [ebx + 0x7a]
and al, 0xae
mov dword [ebx + 0x54], edx
or al, 4
mov dword [ebx + 0x58], 0
mov byte [ebx + 0x7a], al
mov al, byte [ebx]
cmp al, 9
je 0x4cee00
cmp al, 0xd
jne 0x4cedea
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
jmp 0x4cee00
cmp al, 0xa
jne 0x4cee00
mov eax, dword [ebx + 0x8c]
and eax, 0xffffffea
or eax, 0xa
mov dword [ebx + 0x8c], eax
mov edi, dword [esp + 0x24]
test edi, edi
je 0x4cee12
mov eax, dword [edi]
mov dword [ebx + 0x4c], eax
inc dword [edi + 4]
mov dword [edi], ebx
or byte [ebx + 0x79], 2
mov ecx, dword [esi + 0x1bc]
push 0xd4
call 0x3bcd8e
push dword [esp + 0x3c]
mov ebx, eax
lea eax, [esi + 0x1b8]
push dword [esp + 0x2c]
mov dword [esp + 0x3c], ebx
push eax
and byte [ebx + 1], 0xfe
mov byte [ebx], 0xa
call 0x3ff16e
push eax
push dword [esp + 0x18]
lea eax, [esi + 0x1b8]
push dword [esp + 0x24]
push 1
push ebx
push eax
push esi
call 0x3fef4e
mov edx, dword [esi + 0x210]
add esp, 0x1c
mov dword [esp + 0x28], eax
mov ecx, dword [edx]
push dword [ecx + 0x10]
lea ecx, [edx + 0x1e4]
push ecx
lea ecx, [esp + 0x24]
call fcn.00402cde
cmp dword [esp + 0x1c], 1
jne 0x4cf017
mov ecx, dword [esp + 0x20]
call 0x3da59e
cmp eax, 6
jne 0x4cf017
mov ecx, dword [esi + 0x210]
mov eax, dword [ecx]
push dword [eax + 0x10]
lea eax, [ecx + 0x1e4]
push eax
lea ecx, [esp + 0x24]
call fcn.00402cde
mov ebx, dword [esp + 0x1c]
mov edx, 0x42840c
mov eax, dword [esi + 0xc]
dec ebx
neg ebx
push 0xa
sbb ebx, ebx
mov ecx, dword [eax + 0xc]
not ebx
and ebx, dword [esp + 0x24]
call fcn.00414e7e
mov ecx, dword [esi + 0xc]
mov edx, 0x41f5dc
push 6
mov edi, eax
mov ecx, dword [ecx + 0xc]
call fcn.00414e7e
push dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov esi, eax
push 1
push 1
push dword [esp + 0x24]
push ecx
call 0x3ff08e
add esp, 0x14
push eax
push ebx
mov ebx, dword [esp + 0x3c]
push edi
mov edi, dword [esp + 0x24]
push 0
push 0
push esi
mov esi, dword [esp + 0x28]
push 2
push ebx
push edi
push esi
call 0x3fef4e
mov ecx, dword [edi + 4]
add esp, 0x28
mov dword [esp + 0x1c], eax
push 0x18
call 0x3bcd8e
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x34], eax
and byte [eax + 1], 0xfe
mov dword [eax + 0xc], ecx
mov byte [eax], 0x19
mov dword [eax + 8], edi
mov dword [eax + 4], 0
mov eax, dword [esi + 0x210]
mov ecx, dword [eax]
add eax, 0x1e4
push dword [ecx + 0x10]
lea ecx, [esp + 0x44]
push eax
call fcn.00402cde
cmp dword [esp + 0x40], 1
jne 0x4cef9f
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4cefa1
cmp byte [eax], 0x29
jne 0x4cefa1
mov ecx, dword [eax + 0x50]
call 0x3dc91e
mov ecx, eax
call 0x3c4d6e
mov ecx, eax
call 0x3c4cce
jmp 0x4cefa1
xor eax, eax
push edi
push ecx
mov ecx, eax
call 0x3da44e
mov ecx, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx + 0x210]
mov esi, dword [eax + 0x18]
mov ecx, dword [edx]
push dword [ecx + 0x10]
lea ecx, [edx + 0x1e4]
push ecx
lea ecx, [esp + 0x48]
call fcn.00402cde
mov ecx, dword [esp + 0x40]
mov eax, dword [esi + 4]
dec ecx
neg ecx
push 0
sbb ecx, ecx
mov eax, dword [eax + 4]
not ecx
and ecx, dword [esp + 0x48]
and eax, 0x7fffffff
push 0
push eax
mov eax, dword [esi + 4]
push dword [eax]
push ecx
mov ecx, dword [esp + 0x2c]
push 0
call fcn.004186fe
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x10]
mov dword [ecx + 0x10], edi
mov edi, dword [esp + 0x24]
mov dword [ecx + 0x14], eax
mov dword [ebx + 0x64], ecx
mov eax, dword [esi + 0xc]
mov edx, 0x42842c
push 3
mov ecx, dword [eax + 0xc]
call fcn.00414e7e
mov ecx, dword [esp + 0x18]
mov esi, eax
push 0
push 0
push 0xe
call fcn.00418cee
mov ecx, dword [esp + 0x10]
mov edx, eax
mov eax, dword [esp + 0x28]
and byte [edx + 0x20], 0xc0
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], esi
mov ecx, dword [ecx + 0x210]
mov ecx, dword [ecx + 0x928]
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
movzx eax, byte [ebx + 0x78]
and al, 0x40
and byte [ebx + 1], 0xe7
or al, 9
and byte [ebx + 0x4b], 0xfd
mov byte [ebx + 0x78], al
movzx eax, byte [ebx + 0x79]
and byte [ebx + 0x7b], 0xf9
and al, 0xfa
or al, 8
mov byte [ebx + 0x49], 0x16
mov byte [ebx + 0x79], al
movzx eax, byte [ebx + 0x4a]
and al, 0xf5
mov dword [ebx + 0x50], ecx
or al, 1
mov dword [ebx + 0x54], edx
mov byte [ebx + 0x4a], al
movzx eax, byte [ebx + 0x7a]
and al, 0xae
mov dword [ebx + 0x58], 0
or al, 4
mov byte [ebx + 0x7a], al
mov al, byte [ebx]
cmp al, 9
je 0x4cf0e0
cmp al, 0xd
jne 0x4cf0ca
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
jmp 0x4cf0e0
cmp al, 0xa
jne 0x4cf0e0
mov eax, dword [ebx + 0x8c]
and eax, 0xffffffea
or eax, 0xa
mov dword [ebx + 0x8c], eax
test edi, edi
je 0x4cf0ee
mov eax, dword [edi]
mov dword [ebx + 0x4c], eax
inc dword [edi + 4]
mov dword [edi], ebx
or byte [ebx + 0x79], 2
push ecx
lea ecx, [esp + 0x2a0]
call fcn.0041538e
mov dword [esp + 0x400], 0xd
lea ecx, [esp + 0x29c]
push 0x90
push 0x428438
call fcn.00415b1e
mov esi, dword [esp + 0x2a4]
lea ecx, [esp + 0x29c]
push dword [esp + 0x2c]
shr esi, 1
call fcn.00415b9e
push dword [esp + 0x3c]
mov dword [ebx + 0x88], esi
push dword [esp + 0x18]
mov esi, dword [esp + 0x50]
push ebx
mov dword [ebx + 0x84], eax
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
push esi
call fcn.004d088e
mov dword [esi + 0x74], eax
mov ecx, dword [ebx + 0x1bc]
push 0xd4
call 0x3bcd8e
push 0xb
mov edx, 0x4284cc
mov dword [esp + 0x18], eax
and byte [eax + 1], 0xfe
mov byte [eax], 0xa
mov ecx, dword [ebx + 0x210]
mov edi, dword [ecx + 0x964]
mov ecx, dword [ebx + 0xc]
mov ecx, dword [ecx + 0xc]
call fcn.00414e7e
mov ecx, dword [ebx + 0xc]
mov edx, 0x4284cc
push 0xb
mov esi, eax
mov ecx, dword [ecx + 0xc]
call fcn.00414e7e
push dword [esp + 0x14]
lea ecx, [ebx + 0x1b8]
push dword [esp + 0x28]
push 0
push 0xb
push 0
push 0
push 0
push 0
push edi
push 0
push 0x870204
push 0
push 0
push esi
push eax
push 0
call fcn.0041714e
push ecx
lea ecx, [esp + 0x50]
call fcn.0041538e
mov byte [esp + 0x400], 0x10
lea eax, [esp + 0x3c4]
push dword [ebp + 0x10]
push 0x41b904
push 0x16
push eax
call 0x3b47ae
add esp, 0x10
test eax, eax
jns 0x4cf21a
push 0
push 0
push 0
push eax
call dword [0x660144]
lea eax, [esp + 0x3c4]
push eax
lea eax, [esp + 0x50]
push eax
push 0x4284e4
call fcn.004287de
mov esi, dword [esp + 0x60]
lea ecx, [esp + 0x58]
add esp, 0xc
shr esi, 1
push dword [esp + 0x2c]
call fcn.00415b9e
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x84], eax
mov dword [ecx + 0x88], esi
mov byte [esp + 0x400], 0xd
lea ecx, [esp + 0x4c]
call 0x3cc30e
mov dword [esp + 0x400], 0xffffffff
lea ecx, [esp + 0x29c]
call 0x3cc30e
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x1bc]
lea ebx, [esi + 0x1b8]
push 0xd4
call 0x3bcd8e
push 8
mov edx, 0x4223e4
mov dword [esp + 0x18], eax
and byte [eax + 1], 0xfe
mov byte [eax], 0xa
mov ecx, dword [esi + 0x210]
mov edi, dword [ecx + 0x9d0]
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + 0xc]
call fcn.00414e7e
mov ecx, dword [esp + 0x10]
mov edx, 0x4223e4
push 8
mov esi, eax
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0xc]
call fcn.00414e7e
push dword [esp + 0x14]
mov ecx, ebx
push dword [esp + 0x28]
push 0
push 0xa
push 0
push 0
push 0
push 0
push edi
push 0
push 0x870204
push 0
push 0
push esi
push eax
push 0
call fcn.0041714e
push ecx
lea ecx, [esp + 0x178]
call fcn.0041538e
mov dword [esp + 0x400], 0x13
lea ecx, [esp + 0x174]
push 0xc8
push 0x428510
call fcn.00415b1e
mov esi, dword [esp + 0x17c]
lea ecx, [esp + 0x174]
push dword [esp + 0x2c]
shr esi, 1
call fcn.00415b9e
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x84], eax
mov dword [ecx + 0x88], esi
mov dword [esp + 0x400], 0xffffffff
lea ecx, [esp + 0x174]
call 0x3cc30e
mov ecx, dword [esp + 0x3f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3e0]
xor ecx, esp
call 0x59f18f
mov esp, ebp
pop ebp
ret 0x1c