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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov eax, dword [ebp + 0x10]
movzx ebx, byte [edx + 0x138]
mov dword [esp + 0x4c], ecx
lea ecx, [edx + 0xa8]
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0x8c], ecx
mov eax, dword [eax]
mov dword [esp + 0x80], eax
lea eax, [eax + 8]
mov dword [esp + 0x30], eax
mov dword [esp + 0xc], eax
nop word [eax + eax]
cmp bl, 0x4c
jne 0x4ce667
mov ebx, dword [esp + 4]
mov eax, dword [ebx]
or eax, dword [ebx + 4]
je 0x4ce6e2
mov edi, dword [ebx + 0xe0]
test edi, edi
je 0x4ce2bf
mov eax, dword [ebx + 0xe4]
mov dword [esp + 0x88], eax
mov ecx, dword [ebx + 0xc0]
mov eax, dword [ebx + 0xf0]
movsd xmm0, qword [ebx + 8]
mov edx, dword [ebx + 0xc4]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x54], edx
add eax, 8
lea edx, [esp + 0x50]
movaps xmmword [esp + 0x90], xmm0
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x7c], 0
call fcn.004d61e0
movzx eax, byte [esp + 0x10]
cmp al, 0x4b
jne 0x4ce490
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4ce4bf
cmp word [ebx + 0xca], 5
mov esi, eax
mov ecx, 0x76
mov eax, 0x2130
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0x64]
cmovb ecx, eax
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x68]
call fcn.00452f40
mov dword [esp + 0x38], esi
mov ecx, esi
mov ebx, eax
test edx, edx
lea esi, [esp + 0x60]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], esi
je 0x4ce4ca
mov esi, edx
add ebx, 0x10
dec esi
nop word [eax + eax]
cmp esi, 0xffffffff
je 0x4ce4e3
lea eax, [ebx - 0x10]
lea ecx, [esp + 0x10]
lea edi, [esp + 0xa8]
lea edx, [esp + 0x38]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov eax, dword [esp + 0x48]
movsd qword [esp + 0xb0], xmm1
movsd qword [esp + 0xa8], xmm0
mov eax, dword [eax + 0xc]
push edi
push dword [eax + 0x20]
call fcn.004c7d00
add esp, 8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, eax
xor edx, 0x2e
or edx, ecx
je 0x4ce5ac
mov edx, dword [esp + 0x18]
movzx edi, word [esp + 0x20]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], esi
add ebx, 0x10
dec esi
mov dword [esp + 8], edx
mov edx, dword [esp + 0x1c]
cmp di, word [esp + 0xc]
mov edi, dword [esp + 0x22]
mov dword [esp + 0x2c], edx
movzx edx, word [esp + 0x26]
jne 0x4ce390
mov word [esp + 0x26], dx
mov dword [esp + 0x22], edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x38]
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov word [esp + 0x20], ax
call fcn.004cce30
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, edi
mov dword [esp + 0x2c], eax
shld edi, ebx, 0x10
mov dword [esp + 0x28], ebx
mov al, bh
mov ebx, dword [esp + 4]
mov dword [esp + 8], ecx
shr edx, 0x10
jmp 0x4ce50d
movzx ecx, byte [esp + 0x11]
mov esi, dword [esp + 0x12]
mov dword [esp + 0xc], ecx
movzx ecx, word [esp + 0x16]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xc]
jmp 0x4ce5f0
mov ecx, dword [esp + 0xc]
mov al, 0x42
jmp 0x4ce5f0
cmp dword [esp + 0x74], 0
jne 0x4ce4fd
sub ecx, dword [esp + 0x60]
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], ecx
jmp 0x4ce4fd
mov eax, dword [esp + 0x48]
cmp dword [eax + 0x14], 0
jne 0x4ce4fd
mov ecx, dword [esp + 0x38]
sub ecx, dword [eax]
mov dword [eax + 0x14], 1
mov dword [eax + 0x18], ecx
mov ebx, dword [esp + 4]
mov cl, 0x2e
xor eax, eax
xor edx, edx
xor edi, edi
mov dword [esp + 0x28], ecx
movzx esi, al
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0x28]
mov ecx, edi
mov dword [esp + 0x28], edx
shld edx, edi, 0x10
shl ecx, 0x10
shl esi, 8
mov dword [esp + 0x14], edx
or esi, ecx
mov ecx, dword [esp + 0x2c]
or eax, esi
mov esi, edi
mov dword [esp + 0x10], eax
xor eax, 0x2e
or eax, edx
mov eax, dword [esp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
je 0x4ce758
movzx eax, byte [ebx + 0xc9]
mov edx, dword [esp + 0x30]
lea esi, [esp + 0x10]
lea ecx, [esp + 0x50]
push esi
push dword [ebx + 0xf4]
push eax
call fcn.004d3040
add esp, 0xc
movzx eax, byte [esp + 0x50]
cmp al, 0x4b
je 0x4ce75c
movzx edx, byte [esp + 0x53]
mov esi, dword [esp + 0x58]
movzx ecx, word [esp + 0x51]
shl edx, 0x10
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x5c]
or ecx, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x90], esi
mov esi, edi
jmp 0x4ce619
movzx edi, word [esp + 0x26]
mov edx, dword [esp + 0x22]
mov esi, dword [esp + 0x1c]
movzx ecx, word [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 4]
shld edi, edx, 0x10
shl edx, 0x10
or edx, ecx
mov ecx, esi
shld esi, eax, 0x10
mov dword [esp + 8], edi
shr ecx, 0x10
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ecx
mov cl, ah
nop word cs:[eax + eax]
mov edi, dword [esp + 8]
mov edx, esi
mov dword [esp + 0xc], ecx
movzx ecx, cl
shl edx, 8
or ecx, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x90], edi
mov edi, dword [esp + 0x2c]
shld edx, esi, 0x10
mov dword [esp + 0x34], edi
movzx ebx, byte [ebx + 0x138]
cmp bl, 0x4c
jne 0x4ce290
mov edi, dword [esp + 4]
mov ebx, eax
mov byte [edi + 0x138], al
mov word [edi + 0x139], cx
shr ecx, 0x10
mov eax, dword [esp + 0x34]
mov byte [edi + 0x13b], cl
mov dword [edi + 0x13c], edx
mov edx, dword [esp + 0x90]
mov dword [edi + 0x140], eax
mov dword [edi + 0x144], edx
jmp 0x4ce290
movzx eax, bl
cmp eax, 0x4b
jne 0x4ce699
mov ebx, dword [esp + 4]
xor ecx, ecx
mov eax, 0x4b
mov edx, dword [ebx + 0x13c]
test edx, edx
je 0x4ce6fa
mov esi, dword [edx]
add edx, 8
mov edi, 2
add esi, 8
mov dword [esp + 0x30], esi
xor esi, esi
jmp 0x4ce700
mov ebx, dword [esp + 4]
movzx esi, byte [ebx + 0x13b]
movzx edi, word [ebx + 0x139]
mov ecx, dword [ebx + 0x13c]
mov edx, dword [ebx + 0x144]
shl edi, 8
shl esi, 0x18
mov dword [esp + 0x30], ecx
movzx ecx, byte [ebx + 0x143]
or esi, edi
movzx edi, word [ebx + 0x141]
shl ecx, 0x18
shl edi, 8
or ecx, edi
movzx edi, byte [ebx + 0x140]
jmp 0x4ce700
mov byte [ebx + 0x138], 0x4b
mov dword [ebx + 0x13c], 0
xor ecx, ecx
mov eax, 0x4b
xor esi, esi
xor edi, edi
mov edx, ebx
or eax, esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x18], ebx
or ecx, edi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
lea edx, [esp + 0x10]
mov dword [esp + 0x14], esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x4c]
lea ecx, [esi + 0x10]
push eax
call fcn.004cee00
add esp, 4
mov dword [esi + 0xc], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x4ce768
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x34], ecx
mov esi, dword [esp + 0x80]
lock inc dword [esi]
mov edi, dword [esp + 0x84]
jle 0x4ce7e1
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], ebx
mov edx, dword [ebp + 0x10]
movaps xmm1, xmmword [esp + 0x90]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x4c]
movsd xmm0, qword [esp + 0x18]
movsd xmm2, qword [esp + 0x10]
movsd qword [ecx + 8], xmm0
movsd qword [ecx], xmm2
movlps qword [ecx + 0x20], xmm1
mov dword [ecx + 0x28], edi
mov edi, dword [esp + 0x88]
mov dword [ecx + 0x2c], edi
mov edi, dword [esp + 0x34]
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], edi
mov dword [ecx + 0x38], esi
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x18], edx
jmp 0x4ce750
ud2