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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x490
test ecx, ecx
je 0x419cdc
mov ebx, edx
mov esi, ecx
mov ecx, dword [ecx]
mov eax, dword [esi + 4]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov edi, 0xfffffffe
test edx, edx
je 0x419cdf
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
push ebx
call fcn.0043ff10
add esp, 4
test eax, eax
je 0x419cdf
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x419c18
push ecx
mov edi, eax
call fcn.0043fa5a
mov eax, edi
mov edi, 0xfffffffe
add esp, 4
mov dword [esi + 0x5c], 0
mov ecx, ebx
mov dword [esp + 0x18], eax
mov edx, eax
call fcn.00419fd6
mov dword [esi + 0x5c], eax
test eax, eax
je 0x419cdf
mov ecx, dword [esi + 0x14]
cmp ecx, 1
jne 0x419ce9
xor ecx, ecx
cmp dword [ebp + 8], 0
setne cl
shl ecx, 8
lea ebx, [esp + 0x30]
push ebx
push ecx
push 0
push eax
push esi
call fcn.004186d2
add esp, 0x14
xor ecx, ecx
cmp eax, 1
sbb ecx, ecx
or ecx, dword [ebx]
mov dword [esi + 0x58], ecx
mov edi, 0xfffffffd
js 0x419fb6
push ebx
push ecx
push esi
call fcn.00418af9
add esp, 0xc
test eax, eax
je 0x419fb6
movdqu xmm0, xmmword [esp + 0x58]
pshufd xmm0, xmm0, 0x4e
movdqu xmmword [esi + 0x60], xmm0
mov eax, dword [esp + 0x50]
mov dword [esi + 0x70], eax
movsd xmm0, qword [esp + 0x38]
movsd qword [esi + 0x78], xmm0
movsd xmm0, qword [esp + 0x70]
movsd qword [esi + 0xa0], xmm0
movzx eax, word [esp + 0x46]
mov word [esi + 0xa8], ax
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x4e008], eax
movsd xmm0, qword [esp + 0x48]
movsd qword [esi + 0x4e010], xmm0
xor edi, edi
jmp 0x419cdf
xor edi, edi
dec edi
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x24], ecx
mov ecx, dword [esi]
mov dword [esp + 0xc], ecx
mov eax, dword [esi + 0x20]
lea edi, [eax - 1]
mov ebx, edi
and ebx, ecx
mov ecx, eax
sub ecx, ebx
and ecx, edi
xor ebx, ebx
cmp eax, 1
mov eax, dword [esi + 0x24]
sbb eax, ebx
mov edx, dword [esi + 4]
mov edi, dword [esi + 0x50]
mov eax, dword [esi + 0x10]
mov dword [esi + 0x58], eax
cmovb ecx, ebx
mov dword [esp + 0x10], ecx
mov ecx, edi
xor eax, eax
and edi, 0xf
mov dword [esp + 0x1c], edi
mov dword [esi + 0x70], ebx
xorps xmm0, xmm0
movups xmmword [esi + 0x60], xmm0
mov edi, dword [esp + 0xc]
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edx
mov dword [esi + 0xa0], edi
mov dword [esp + 0x20], edx
mov dword [esi + 0xa4], edx
setne al
movups xmmword [esi + 0x80], xmm0
movups xmmword [esi + 0x8e], xmm0
shl eax, 3
mov word [esi + 0xa8], ax
mov dword [esi + 0x4e008], ebx
mov edi, 0xfffffffc
cmp dword [esi + 0x48], ebx
je 0x419fb6
cmp dword [esp + 0x24], 2
jne 0x419fb6
mov edi, 0xfffffffb
bt ecx, 0xa
jb 0x419fb6
mov ecx, esi
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
push ebx
push dword [esp + 0x24]
call fcn.00419203
add esp, 8
mov edi, 0xfffffff9
test eax, eax
je 0x419fb6
mov ecx, dword [esp + 4]
add ecx, ebx
mov dword [esp + 4], ecx
mov edx, dword [esp + 8]
mov eax, 0
adc edx, eax
mov dword [esp + 8], edx
lea eax, [esi + 0x80]
mov dword [esp + 0xc], eax
lea ebx, [esp + 0x28]
mov dword [ebx], ecx
mov dword [ebx + 4], edx
xor eax, eax
push eax
call fcn.0043f468
add esp, 4
mov dword [esi + 0x4e014], edx
mov dword [esi + 0x4e010], eax
mov ecx, eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1a]
push eax
call fcn.0041918c
add esp, 8
mov eax, 0xfffffffe
cmp eax, dword [esp + 4]
mov eax, 0
sbb eax, dword [esp + 8]
mov eax, 0
cmovae ebx, eax
lea ecx, [esp + 0x30]
xor edx, edx
push ebx
push eax
call fcn.00419297
add esp, 8
lea ecx, [esp + 0x14]
movzx ebx, word [ecx]
lea ecx, [esp + 0x16]
movzx ecx, word [ecx]
movzx edx, word [esi + 0xa8]
sub esp, 0x28
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
xor ecx, ecx
mov dword [esp + 0x14], ecx
xorps xmm0, xmm0
movups xmmword [esp + 4], xmm0
mov edx, 0xffff
mov dword [esp + 0x30], eax
and eax, edx
mov dword [esp], eax
mov dword [esp + 0x1c], 0x808
and edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
mov ecx, ebx
call fcn.004192f3
add esp, 0x28
mov eax, dword [esi + 0x78]
add eax, dword [esp + 0x10]
mov edx, 0
adc edx, dword [esi + 0x7c]
mov ecx, dword [esi + 0x44]
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], edx
push 0x1e
push ebx
push edx
push eax
push ecx
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x419fb6
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
add ecx, 0x1e
mov eax, dword [esi + 0x7c]
add ecx, dword [esi + 0x78]
adc eax, 0
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
mov edi, dword [esp + 0x18]
push edi
push dword [esi + 0x5c]
push eax
push ecx
push dword [esi + 0x44]
call dword [esi + 0x3c]
mov edx, edi
add esp, 0x14
mov edi, 0xfffffff8
cmp eax, edx
jne 0x419fb6
mov eax, dword [esi + 0x44]
mov dword [esp + 4], eax
mov ecx, dword [esi + 0x7c]
mov edi, edx
mov edx, dword [esi + 0x78]
add edx, edi
mov edi, 0xfffffff8
adc ecx, 0
mov dword [esi + 0x78], edx
mov dword [esi + 0x7c], ecx
push ebx
lea eax, [esp + 0x34]
push eax
push ecx
push edx
push dword [esp + 0x14]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x419fb6
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x78]
add ecx, ebx
adc eax, 0
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x419cd8
mov dword [esi + 0xb0], esi
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xbc], eax
xor edi, edi
cmp edx, 0xa
mov ecx, 0xa
cmovl ecx, edx
xor eax, eax
cmp edx, 4
setb al
shl eax, 0xe
or eax, dword [ecx*4 + 0x451500]
lea ecx, [esi + 0xb0]
mov dword [esi + 0xc4], edi
mov dword [esi + 0xc0], edi
add esi, 0xc8
push eax
push ecx
push 0x4187b0
push esi
call fcn.0041653c
add esp, 0x10
jmp 0x419cdf
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x419cdf
push eax
call fcn.0043fa5a
add esp, 4
mov dword [esi + 0x5c], 0
jmp 0x419cdf