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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x100
mov esi, esp
mov dword [esi + 0xe8], ebp
mov edx, dword [ebp + 0x14]
lea eax, [esi + 0xf0]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x449c60
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov edx, dword [edx + 0x1c]
lea ecx, [esi + 0x5c]
mov dword [ecx], edx
lock inc dword [edx + 4]
mov dword [esi + 0x48], edx
mov dword [esi + 0x24], edx
mov dword [eax + 8], 0
push 0x51613c
call fcn.004881f0
mov dword [esi + 0x4c], eax
mov ecx, dword [ebp + 0x1c]
mov al, byte [ecx + 0xb]
test al, al
js 0x4cf194
mov eax, ecx
je 0x4cf1a1
mov al, byte [eax]
mov byte [esi + 0xc], al
mov ebx, dword [esi + 0x4c]
mov eax, dword [ebx]
mov edi, dword [eax + 0x1c]
mov dword [esi + 0xf8], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov eax, dword [esi + 0x48]
mov dword [esi + 0x24], eax
mov dword [esi + 0xf8], 0
mov ecx, ebx
push 0x2d
call edi
cmp byte [esi + 0xc], al
sete al
mov dword [esi + 0xc], eax
xor ecx, ecx
lea eax, [esi + 0x60]
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
lea edi, [esi + 0x38]
mov dword [edi + 4], ecx
mov dword [edi], ecx
mov dword [edi + 8], ecx
lea eax, [esi + 0x28]
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
mov cl, 0xff
lea edx, [esi + 0x13]
mov byte [edx], cl
lea edx, [esi + 0x12]
mov byte [edx], cl
xor ecx, ecx
dec ecx
lea edx, [esi + 0x58]
mov dword [edx], ecx
lea edx, [esi + 0x1c]
mov dword [edx], ecx
mov dword [esi + 0xf8], 1
mov cl, byte [ebp + 0x10]
movzx ecx, cl
movzx edx, byte [esi + 0xc]
mov dword [esi + 0x7c], edx
lea ebx, [esi + 0x1c]
push ebx
push eax
push edi
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x12]
push eax
lea eax, [esi + 0x13]
push eax
lea eax, [esi + 0x58]
push eax
lea eax, [esi + 0x5c]
push eax
call fcn.004ceb40
add esp, 0x20
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0xd0], xmm0
movdqa xmmword [esi + 0xc0], xmm0
movdqa xmmword [esi + 0xb0], xmm0
movdqa xmmword [esi + 0xa0], xmm0
movdqa xmmword [esi + 0x90], xmm0
movdqa xmmword [esi + 0x80], xmm0
mov dword [esi + 0xe0], 0xffffffff
mov edi, dword [ebp + 0x1c]
mov al, byte [edi + 0xb]
movzx ecx, al
mov dword [esi + 0xc], ecx
mov byte [esi + 0x14], al
test al, al
js 0x4cf1ad
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0xc]
mov eax, ecx
cmp edx, ecx
jge 0x4cf1b7
movzx ebx, byte [esi + 0x33]
test bl, bl
jns 0x4cf177
mov ebx, dword [esi + 0x2c]
mov dword [esi + 0x18], edx
sub eax, edx
movzx edx, byte [esi + 0x43]
test dl, dl
jns 0x4cf187
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x18]
lea eax, [ecx + eax*2]
add eax, ebx
add eax, edx
inc eax
jmp 0x4cf1d7
cmp dword [ecx + 4], 0
je 0x4cf1a1
mov eax, dword [ecx]
jmp 0x4cf05c
mov dword [esi + 0xc], 0
jmp 0x4cf09a
mov eax, dword [edi + 4]
mov edx, dword [esi + 0x1c]
cmp eax, edx
jg 0x4cf16c
movzx eax, byte [esi + 0x33]
test al, al
jns 0x4cf1c2
mov eax, dword [esi + 0x2c]
movzx ecx, byte [esi + 0x43]
test cl, cl
jns 0x4cf1cd
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x18], edx
add eax, edx
add eax, ecx
add eax, 2
cmp eax, 0x65
jb 0x4cf203
push eax
call fcn.00493040
add esp, 4
mov edx, eax
mov ebx, eax
test eax, eax
jne 0x4cf20b
mov dword [esi + 0x20], 0
mov dword [esi + 0xf8], 2
call fcn.004d31f0
lea ebx, [esi + 0x80]
xor edx, edx
xor eax, eax
dec eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], eax
movsx eax, byte [esi + 0x12]
mov dword [esi + 0x78], eax
movsx eax, byte [esi + 0x13]
mov dword [esi + 0x74], eax
cmp byte [esi + 0x14], 0
jns 0x4cf230
mov eax, dword [edi + 4]
mov dword [esi + 0xc], eax
mov edi, dword [edi]
mov ecx, dword [ebp + 0x14]
mov eax, dword [esi + 0xc]
add eax, edi
mov ecx, dword [ecx + 4]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x20], edx
mov dword [esi + 0xf8], 2
mov dword [esi + 0xc], edx
lea edx, [esi + 0x54]
mov dword [esi + 0x70], ebx
mov ecx, ebx
push dword [esi + 0x18]
lea ebx, [esi + 0x28]
push ebx
lea ebx, [esi + 0x38]
push ebx
lea ebx, [esi + 0x60]
push ebx
push dword [esi + 0x78]
push dword [esi + 0x74]
lea ebx, [esi + 0x58]
push ebx
push dword [esi + 0x7c]
push dword [esi + 0x4c]
push eax
push edi
push dword [esi + 0x14]
lea eax, [esi + 0x50]
push eax
call fcn.004ceca0
add esp, 0x34
mov cl, byte [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x50]
mov edi, dword [esi + 0xc]
mov dword [esi + 0x20], edi
mov edi, dword [esi + 0x54]
movsx ecx, cl
push ecx
push dword [ebp + 0x14]
push edx
push edi
push dword [esi + 0x70]
push eax
push dword [ebp + 8]
call fcn.00483280
add esp, 0x1c
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4cf2c0
push eax
call fcn.00493090
add esp, 4
cmp byte [esi + 0x33], 0
jns 0x4cf2d1
push dword [esi + 0x28]
call fcn.00494aa1
add esp, 4
cmp byte [esi + 0x43], 0
jns 0x4cf2e2
push dword [esi + 0x38]
call fcn.00494aa1
add esp, 4
cmp byte [esi + 0x6b], 0
jns 0x4cf2f3
push dword [esi + 0x60]
call fcn.00494aa1
add esp, 4
mov ebx, dword [esi + 0x48]
xor eax, eax
dec eax
lock xadd dword [ebx + 4], eax
test eax, eax
jne 0x4cf31d
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0xf8], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
mov eax, dword [esi + 0xf0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18