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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov dword [esp + 8], edx
mov esi, ecx
mov eax, dword [0x462304]
xor eax, ebp
mov dword [esp + 0xa8], eax
xor eax, eax
dec eax
lea ebx, [esp + 0x10]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov ecx, ebx
call fcn.00c5f8a0
test esi, esi
je 0xc5eede
cmp word [esi], 0
je 0xc5eede
xor edi, edi
inc edi
mov dword [esp + 4], 0
push ebx
push esi
call fcn.00c5eb9d
add esp, 8
mov ebx, eax
jmp 0xc5eef9
mov ecx, dword [ebp + 0xc]
xor edi, edi
lea edx, [esp + 0x10]
push edi
push edi
call 0xc5f19c
add esp, 8
mov ebx, eax
mov al, 1
mov dword [esp + 4], eax
mov esi, ebx
test ebx, ebx
jne 0xc5ef21
mov esi, dword [ebp + 0x10]
lea ecx, [esp + 0x10]
call fcn.00c5fb2e
push esi
push dword [ebp + 8]
push dword [esp + 0x10]
push edi
push 1
push eax
call fcn.00c6023c
add esp, 0x18
mov esi, eax
test esi, esi
js 0xc5ef46
lea ecx, [esp + 0x10]
call fcn.00c5f8b2
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.00ca3c18
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test ebx, ebx
sete bl
mov eax, dword [0x4650a8]
mov ecx, dword [0x46542c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0xc5f152
mov eax, dword [0x4650a4]
test eax, eax
je 0xc5ef25
push 0x458332
push eax
call dword [0x44d05c]
test eax, eax
je 0xc5ef25
mov eax, dword [0x4622cc]
movups xmm0, xmmword [eax - 0x10]
movaps xmmword [esp + 0x30], xmm0
mov eax, dword [0x4622e0]
or eax, dword [0x4622e4]
jne 0xc5f195
xor eax, eax
mov dword [0x4622e8], eax
mov dword [0x4622ec], eax
lea edi, [esp + 0x30]
push 0x4622e0
push 0x4622c8
push 0x401b2c
push edi
call dword [0x44d00c]
test eax, eax
jne 0xc5ef25
mov eax, dword [0x4622cc]
movzx ecx, word [eax]
push ecx
push eax
push 2
push dword [0x4622e4]
push dword [0x4622e0]
call dword [0x44d008]
cmp dword [0x4622c8], 3
jb 0xc5f126
test byte [0x4622d5], 0x40
je 0xc5f126
mov eax, 0x4000
not eax
and eax, dword [0x4622dc]
or eax, dword [0x4622d8]
jne 0xc5f126
xor ecx, ecx
lea eax, [esp + 0x24]
mov edx, dword [esp + 4]
mov byte [eax], dl
lea edx, [esp + 0x20]
mov byte [edx], bl
lea ebx, [esp + 0x28]
mov dword [ebx + 4], ecx
mov dword [ebx], 0x1000000
mov dword [esp + 0x80], ebx
lea edx, [esp + 0x1c]
mov dword [edx], esi
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], 8
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], eax
xor eax, eax
inc eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x64], ecx
lea ebx, [esp + 0x20]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], 4
mov dword [esp + 0x5c], ecx
lea edx, [esp + 0x98]
mov dword [edx], 0xb000000
mov ebx, 2
mov dword [edx + 4], ebx
mov eax, 0x4000
mov dword [edx + 0xc], eax
mov dword [edx + 8], ecx
mov eax, dword [0x4622cc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
movzx eax, word [eax]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], 0x459ea4
mov dword [esp + 0x48], 0x5f
xor eax, eax
inc eax
mov dword [esp + 0x4c], eax
mov eax, 0x459e88
mov ebx, 0x459f48
sub ebx, eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0xc], ebx
push edi
push 6
push ecx
push ecx
push edx
push dword [0x4622e4]
push dword [0x4622e0]
call dword [0x44d004]
mov eax, dword [0x4622e0]
mov ecx, dword [0x4622e4]
xor edx, edx
mov dword [0x4622c8], edx
mov dword [0x4622e0], edx
mov dword [0x4622e4], edx
push ecx
push eax
call dword [0x44d000]
jmp 0xc5ef25
push 0x4650a8
call fcn.00ca3e68
add esp, 4
cmp dword [0x4650a8], 0xffffffff
jne 0xc5ef6c
push 0x800
push 0
push 0x458318
call dword [fcn.0044d0f4]
mov dword [0x4650a4], eax
push 0x4650a8
call fcn.00ca3e1e
add esp, 4
jmp 0xc5ef6c
mov ecx, 5
int 0x29
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov ebx, edx
mov dword [esp + 0x2c], ecx
mov eax, dword [0x462304]
xor eax, ebp
mov dword [esp + 0x78], eax
lea esi, [esp + 0x34]
xor eax, eax
mov dword [esp + 0xc], edx
mov edi, 4
sub edi, eax
cmp dword [esp + 0x2c], 1
mov dword [esp + 0x30], eax
cmovne edi, eax
xor eax, eax
dec eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov ecx, esi
call fcn.00c5f8a0
push esi
push edi
call fcn.00c5ea7d
add esp, 8
mov ecx, esi
call fcn.00c5fb2e
mov ecx, eax
xor edx, edx
push ebx
push dword [ebp + 8]
call fcn.00c5f627
add esp, 8
test al, al
jne 0xc5f4bc
mov ecx, esi
call fcn.00c5fb2e
mov ecx, eax
xor edx, edx
inc edx
push ebx
push dword [ebp + 8]
call fcn.00c5f627
add esp, 8
test al, al
jne 0xc5f4bc
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
mov eax, dword [0x4650b0]
mov ecx, dword [0x46542c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0xc5f474
mov ecx, dword [0x4650ac]
test ecx, ecx
je 0xc5f306
mov dword [esp + 0x5c], 0xffffffff
xor esi, esi
mov dword [esp + 0x58], esi
call dword [fcn.0044d584]
lea eax, [esp + 0x5c]
push eax
push esi
lea eax, [esp + 0x60]
push eax
push 1
call ecx
cmp eax, 0x7a
jne 0xc5f302
cmp dword [esp + 0x58], 0
je 0xc5f302
xor eax, eax
dec eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
lea esi, [esp + 0x60]
mov ecx, esi
call fcn.00c5f8a0
mov ecx, esi
push dword [esp + 0x58]
call fcn.00c5fb0a
test al, al
je 0xc5f2f5
mov esi, dword [0x4650ac]
lea ecx, [esp + 0x60]
call fcn.00c5fb2e
mov ebx, eax
mov ecx, esi
call dword [fcn.0044d584]
lea eax, [esp + 0x5c]
push eax
push ebx
lea eax, [esp + 0x60]
push eax
push 1
call esi
test eax, eax
je 0xc5f320
lea ecx, [esp + 0x60]
call fcn.00c5f8b2
mov ebx, dword [esp + 0xc]
lea esi, [esp + 0x34]
mov ecx, esi
call fcn.00c5f8b2
mov eax, dword [esp + 0x30]
inc eax
cmp eax, 5
jne 0xc5f1c6
jmp 0xc5f4dc
lea ecx, [esp + 0x60]
call fcn.00c5fb2e
cmp dword [esp + 0x5c], 0
je 0xc5f2f5
mov esi, eax
mov eax, dword [edi*4 + 0x458574]
mov dword [esp + 0x10], eax
add esi, 0x1c
xor ebx, ebx
push dword [esp + 0x10]
push dword [esi - 0xc]
call fcn.00ca47f4
add esp, 8
test eax, eax
je 0xc5f361
inc ebx
add esi, 0x34
cmp ebx, dword [esp + 0x5c]
jb 0xc5f342
jmp 0xc5f2f5
movq xmm0, qword [esi]
punpcklwd xmm0, xmmword [0x458000]
movdqa xmmword [esp + 0x10], xmm0
pshufd xmm0, xmm0, 0x1b
movdqa xmmword [esp + 0x40], xmm0
mov ebx, dword [esp + 0xc]
mov ecx, ebx
push dword [esi - 0x14]
call fcn.00c5f98a
lea esi, [esp + 0x60]
mov ecx, esi
call fcn.00c5f8b2
lea ecx, [esp + 0x40]
mov edx, ebx
call fcn.00c5f73c
cmp dword [ebp + 8], 0
je 0xc5f466
test al, al
je 0xc5f466
mov ecx, dword [ebp + 8]
push 0xf
call fcn.00c5f912
xor eax, eax
dec eax
mov dword [esp + 0x72], eax
mov dword [esp + 0x6e], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
pshufd xmm0, xmmword [esp + 0x10], 0xff
sub esp, 0x10
mov dword [esp + 4], esi
movdqa xmmword [esp + 0x20], xmm0
movd dword [esp], xmm0
mov dword [esp + 0xc], 0xa
mov dword [esp + 8], 0xb
call fcn.00ca480c
add esp, 0x10
test eax, eax
jne 0xc5f302
movdqa xmm0, xmmword [esp + 0x10]
movd dword [esp + 0x10], xmm0
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x60]
push eax
call fcn.00c5f98a
mov esi, 3
push 0xa
push 0xb
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x1c]
call fcn.00ca480c
add esp, 0x10
test eax, eax
jne 0xc5f302
mov ecx, dword [ebp + 8]
push 0x4585ee
call fcn.00c5fa5a
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x60]
push eax
call fcn.00c5fa5a
dec esi
jne 0xc5f42a
jmp 0xc5f4bc
test al, al
lea esi, [esp + 0x34]
je 0xc5f306
jmp 0xc5f4bc
push 0x4650b0
call fcn.00ca3e68
add esp, 4
cmp dword [0x4650b0], 0xffffffff
jne 0xc5f263
push 0x458608
call dword [fcn.0044d054]
push 0x4585f2
push eax
call dword [0x44d05c]
mov dword [0x4650ac], eax
push 0x4650b0
call fcn.00ca3e1e
add esp, 4
jmp 0xc5f263
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0xc5f4cf
push dword [edi*4 + 0x45829c]
call fcn.00c5f98a
lea ecx, [esp + 0x34]
call fcn.00c5f8b2
xor esi, esi
jmp 0xc5f4ec
push 0x458340
call dword [0x44d0f0]
mov esi, 0x80070002
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.00ca3c18
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret