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

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
mov esi, dword [esp + 0x98]
push edi
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x9c], 0
imul eax, dword [esi + 0x18], 0x64
lea ecx, [esi + 0x24]
mov ebx, dword [eax + 0x514560]
mov eax, dword [edi]
and ebx, 0x86
mov dword [esp + 0x14], ebx
cmp dword [eax + 0x44], ecx
je 0x4144d3
cmp dword [eax + 0x64], ecx
jne 0x4144de
mov dword [esp + 0x9c], 1
movups xmm0, xmmword [esi + 0x38]
push dword [esp + 0xb4]
psrldq xmm0, 0xc
movd eax, xmm0
push 2
movzx ebp, byte [eax + 0x11]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x1c], ebp
push eax
push dword [esp + 0xb4]
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.00416bb0
mov ecx, dword [esp + 0xcc]
add esp, 0x1c
test cl, cl
je 0x414586
xor eax, eax
cmp byte [esp + 0x18], al
sete al
jmp 0x41458b
movzx eax, byte [esp + 0x18]
test eax, eax
je 0x414599
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x60
ret
mov eax, dword [esi + 0x18]
cmp eax, 0x140
jg 0x414808
je 0x414812
sub eax, 0x9b
je 0x4145b9
sub eax, 0x52
je 0x414602
push dword [esp + 0xb4]
mov esi, dword [esp + 0xac]
push ebp
push ecx
push dword [esp + 0xa4]
push dword [esp + 0xa4]
push dword [esp + 0xa4]
push dword [esp + 0xa4]
push dword [esp + 0xa4]
push dword [esp + 0xa4]
push esi
call fcn.004159d0
mov ecx, eax
add esp, 0x28
test ecx, ecx
jns 0x41460d
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x60
ret
push dword [esp + 0xb0]
push esi
call fcn.004166b0
add esp, 8
cmp eax, 0x146
je 0x4147fe
cmp eax, 0xf4
je 0x4147fe
or edi, 0xffffffff
lea esi, [ecx - 1]
nop dword [eax]
cmp esi, 1
jl 0x4147d7
mov eax, dword [esp + 0x94]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x4c], eax
mov eax, ebx
sub eax, 2
je 0x41468b
sub eax, 2
je 0x41468b
movd xmm0, esi
cvtdq2pd xmm0, xmm0
push ebp
sub esp, 8
movsd qword [esp], xmm0
call fcn.00406d20
mov ecx, 0xed
lea ebx, [ecx - 0x52]
jmp 0x41469e
mov eax, esi
cdq
push ebp
push edx
push eax
call fcn.0040fd20
mov ecx, 0x140
lea ebx, [ecx - 0x1e]
mov ebp, dword [esp + 0x98]
add esp, 0xc
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x74]
mov dword [esp + 0xa4], eax
lea eax, [esp + 0xa0]
push dword [esp + 0xb4]
mov dword [esp + 0x78], ebp
mov ebp, dword [esp + 0x94]
push eax
mov dword [esp + 0x80], ebp
lea eax, [esp + 0x20]
mov ebp, dword [esp + 0x18]
push ebp
push 1
push eax
push ecx
mov dword [esp + 0x98], edx
call fcn.0044ea80
mov eax, dword [esp + 0x9c]
push dword [esp + 0xcc]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x4c]
push eax
push ebp
push 1
lea eax, [esp + 0x60]
mov dword [esp + 0x4c], ecx
push eax
push ebx
call fcn.0044ea80
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x70]
mov eax, dword [esp + 0x68]
mov ebx, 4
push dword [esp + 0xe4]
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x78], ecx
mov cl, byte [esp + 0xe0]
test cl, cl
cmove eax, ebx
mov dword [esp + eax + 0x84], edx
xor eax, eax
test cl, cl
lea ecx, [esp + 0x7c]
cmovne eax, ebx
mov dword [esp + eax + 0x84], ecx
lea eax, [esp + 0x84]
push eax
push ebp
push 1
lea eax, [esp + 0xa0]
push eax
push dword [esp + 0xec]
call fcn.0044ea80
add esp, 0x48
cmp byte [esp + 0xb0], 0
je 0x4147ca
xor eax, eax
cmp byte [esp + 0x60], al
sete al
jmp 0x4147cf
movzx eax, byte [esp + 0x60]
test eax, eax
jne 0x4147ed
mov ebx, dword [esp + 0x14]
inc edi
inc esi
cmp edi, 1
jle 0x414640
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x60
ret
sub esi, dword [esp + 0x9c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x60
ret
sub eax, 0x152
je 0x414812
sub eax, 1
push dword [esp + 0xb8]
push dword [esp + 0xb8]
push ecx
push dword [esp + 0xa4]
push dword [esp + 0xa4]
push dword [esp + 0x94]
push dword [esp + 0x94]
push dword [esp + 0xa4]
push dword [esp + 0xa4]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push esi
push dword [esp + 0xd4]
push edi
call fcn.00415d70
add esp, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret