Function at 0x4cf680
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 [0x6ccc30]
mov esi, ecx
xor eax, ebp
mov dword [esp + 0xb8], eax
call fcn.00401460
mov edi, eax
mov eax, dword [eax]
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [0x64689c]
mov ecx, edi
call ebx
mov ecx, eax
call fcn.004014e0
xor edi, edi
test al, al
je 0x4cf903
call fcn.0040bd50
test eax, eax
je 0x4cf903
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x28]
mov ebx, dword [ebp + 0x2c]
mov edi, dword [ebp + 0x4c]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x58], 0x10
mov dword [esp + 0x50], 0x10
mov dword [esp + 0x70], edx
add ecx, edx
mov edx, dword [ebp + 0x24]
mov dword [esp + 0x68], edi
lea edi, [esp + 0x70]
mov dword [esp + 0x5c], edi
mov edi, dword [ebp + 0x68]
mov dword [esp + 0x74], edx
add ebx, edx
mov edx, dword [ebp + 0x50]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x48], edi
mov edi, dword [ebp + 0x44]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x6c], edx
lea edx, [esp + 0x60]
mov dword [esp + 0x54], edx
mov edx, dword [ebp + 0x64]
add edi, edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], edx
mov edx, dword [ebp + 0x40]
test edx, edx
mov dword [esp + 0x44], edx
je 0x4cf7b6
mov ecx, dword [ebp + 0x58]
mov ebx, dword [ebp + 0x5c]
mov edx, dword [ebp + 0x54]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x3c], edx
push 0
push eax
call fcn.004dd330
xorps xmm0, xmm0
mov dword [esp + 0xb0], 0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
mov edi, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
mov eax, edi
sub eax, ecx
cmp eax, 0x101
jb 0x4cf7bd
add ecx, 0x100
mov dword [esi + 0x54], ecx
mov edi, ecx
jmp 0x4cf809
xor edi, edi
jmp 0x4cf903
cmp eax, 0x100
je 0x4cf809
mov edx, dword [esi + 0x58]
sub edx, ecx
cmp edx, 0xff
ja 0x4cf7e8
lea eax, [esp + 0x24]
lea ecx, [esi + 0x50]
push eax
push 0x100
call fcn.0040f880
mov edi, dword [esi + 0x54]
jmp 0x4cf809
mov ecx, 0x100
sub ecx, eax
lea eax, [edi + ecx]
mov dword [esp + 8], eax
push ecx
push 0
push edi
call fcn.0061e8c0
add esp, 0xc
mov edi, dword [esp + 8]
mov dword [esi + 0x54], edi
mov eax, dword [esi + 0x50]
mov ecx, edi
sub ecx, eax
push ecx
push 0
push eax
call fcn.0061e8c0
add esp, 0xc
mov eax, dword [esi + 0x50]
mov dword [esi + 0x54], edi
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x24]
lea edx, [esp + 0x48]
lea esi, [ebp + 0x60]
lea ebx, [esp + 0x38]
sub edi, eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x48]
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x80]
push eax
push ecx
push edx
push esi
push edi
push ebx
lea eax, [esp + 0x58]
push eax
lea eax, [ebp + 0x3c]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x8c]
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [esp + 0x58]
push eax
push 0x11d
lea eax, [esp + 0x80]
push eax
call fcn.004cf920
add esp, 0x58
test eax, eax
je 0x4cf8e8
mov eax, dword [ebp + 0x40]
xor edi, edi
mov word [eax], 0
mov eax, dword [ebp + 0x54]
test eax, eax
je 0x4cf903
mov byte [eax], 0
jmp 0x4cf903
cmp dword [esp + 0x8c], 1
sete al
cmp dword [esp + 0x94], 0
setne cl
and cl, al
movzx edi, cl
mov ecx, dword [esp + 0xb8]
xor ecx, ebp
call fcn.005ce525
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x64