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

Disassembly:
jmp 0x50a010
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x98]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov esi, dword [ecx]
mov ebp, dword [ecx + 4]
cmp esi, ebp
je 0x50a2a2
mov dl, byte [esp + 0xac]
nop dword [eax]
mov bl, byte [esi + 8]
test bl, bl
je 0x50a2a2
cmp bl, 1
jne 0x50a0da
push dword [esi + 0x18]
lea eax, [esp + 0x14]
push dword [esp + 0xbc]
push eax
call dword [esp + 0xc0]
add esp, 0xc
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x9c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0xac], xmm0
mov dl, byte [esp + 0xac]
test dl, dl
jne 0x50a297
mov eax, dword [esi + 0x18]
mov dl, bl
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x68], 0xffffffff
movups xmm0, xmmword [esp + 0x5c]
mov byte [esp + 0xac], dl
movups xmmword [esp + 0x9c], xmm0
jmp 0x50a297
cmp bl, 5
jne 0x50a11e
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
movups xmm0, xmmword [esp + 0x34]
movups xmmword [esp + 0x9c], xmm0
test dl, dl
jne 0x50a297
mov dl, 1
mov byte [esp + 0xac], dl
jmp 0x50a297
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
test dl, dl
je case.default.0x50a153
and eax, ecx
cmp eax, 0xffffffff
jne case.default.0x50a153
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
movzx eax, bl
sub eax, 3
jmp dword [eax*4 + 0x50a2b4]
mov eax, dword [esi + 0x1c]
mov ebx, dword [esi + 0x18]
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
test dl, dl
je 0x50a262
add ebx, dword [esp + 0x9c]
mov edx, dword [esi + 0x1c]
adc edx, dword [esp + 0xa0]
mov dword [esp + 0x14], edx
mov edx, eax
add edx, dword [esp + 0x9c]
mov dword [esp + 0x10], ebx
adc ecx, dword [esp + 0xa0]
mov dword [esp + 0x1c], ecx
jmp 0x50a25e
push dword [esi + 0x18]
lea eax, [esp + 0x80]
push dword [esp + 0xbc]
push eax
call dword [esp + 0xc0]
add esp, 0xc
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x54], xmm0
cmp byte [esp + 0x54], 0
jne 0x50a232
xorps xmm0, xmm0
mov dword [esp + 0x74], 0xffffffff
movlpd qword [esp + 0x6c], xmm0
mov dword [esp + 0x78], 0xffffffff
movups xmm0, xmmword [esp + 0x6c]
movups xmmword [esp + 0x44], xmm0
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x10], edx
add edx, dword [esi + 0x20]
mov dword [esp + 0x14], ecx
adc eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x50a283
movups xmm0, xmmword [esp + 0x10]
movups xmmword [eax], xmm0
movq xmm0, qword [esp + 0x20]
movq qword [eax + 0x10], xmm0
add dword [edi + 4], 0x18
jmp 0x50a290
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, edi
call fcn.0041090b
mov dl, byte [esp + 0xac]
add esi, 0x28
cmp esi, ebp
jne 0x50a050
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 0x24