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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473b8b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x260
mov eax, dword [0x4901c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x230], esi
mov edi, dword [0x4927a0]
cmp byte [edi + 0x4290], 0
je 0x4216f6
movss xmm5, dword [esi + 0x40]
movss xmm6, dword [esi + 0x44]
movaps xmm3, xmm5
addss xmm3, dword [esi + 0x48]
mov edx, dword [edi + 0x3f0c]
movaps xmm4, xmm6
mov eax, dword [esi + 4]
mov ecx, dword [edi + 0x3f04]
movss dword [ebp - 0x248], xmm5
movss dword [ebp - 0x244], xmm6
movss dword [ebp - 0x240], xmm3
mov dword [ebp - 0x234], eax
addss xmm4, dword [esi + 0x4c]
movss dword [ebp - 0x23c], xmm4
test edx, edx
je 0x4216f6
mov eax, dword [ecx + 0x32c]
cmp eax, dword [edx + 0x32c]
jne 0x4216f6
minss xmm4, dword [ecx + 0x238]
movss xmm0, dword [edi + 0x38bc]
maxss xmm5, dword [ecx + 0x22c]
minss xmm3, dword [ecx + 0x234]
maxss xmm6, dword [ecx + 0x230]
movss xmm1, dword [edi + 0x38b8]
movaps xmm2, xmm0
addss xmm2, xmm4
movaps xmm7, xmm3
addss xmm7, xmm1
movss dword [ebp - 0x24c], xmm2
movaps xmm2, xmm5
subss xmm2, xmm1
movaps xmm1, xmm6
subss xmm1, xmm0
movss xmm0, dword [edi + 0xd58]
comiss xmm0, xmm2
jb 0x4216f6
movss xmm0, dword [edi + 0xd5c]
comiss xmm0, xmm1
jb 0x4216f6
comiss xmm7, dword [edi + 0xd58]
jbe 0x4216f6
movss xmm1, dword [ebp - 0x24c]
comiss xmm1, xmm0
jbe 0x4216f6
mov eax, dword [edi + 0x40ec]
movss xmm7, dword [eax + 0xc]
movss xmm2, dword [eax + 8]
movaps xmm0, xmm7
addss xmm0, dword [eax + 0x14]
movaps xmm1, xmm2
addss xmm1, dword [eax + 0x10]
comiss xmm0, xmm6
jbe 0x4216f6
comiss xmm4, xmm7
jbe 0x4216f6
comiss xmm1, xmm5
jbe 0x4216f6
comiss xmm3, xmm2
jbe 0x4216f6
mov eax, dword [ebp - 0x234]
cmp eax, dword [edi + 0x42a8]
je 0x4216f6
cmp byte [ecx + 0xc8], 0
jne 0x4216f6
movups xmm0, xmmword [ebp - 0x248]
mov dword [edi + 0x42e8], eax
mov byte [edi + 0x4292], 1
movups xmmword [edi + 0x42d8], xmm0
cmp dword [edi + 0x42b0], 0xffffffff
je 0x4216ef
lea ecx, [edi + 0x42b4]
mov eax, str._IMWINDOW
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4211f0
test dl, dl
je 0x4211ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4211f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4211d0
xor eax, eax
jmp 0x4211f5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4216ef
mov eax, dword [edi + 0x42a0]
mov ecx, esi
mov eax, dword [eax]
mov edx, eax
mov dword [ebp - 0x238], eax
call fcn.0041e290
test al, al
je 0x4216ef
call fcn.00416fb0
test eax, eax
je 0x4216ef
mov ecx, dword [ebp - 0x230]
xor esi, esi
mov byte [ebp - 0x229], 0
mov edx, dword [ecx + 0x38c]
test edx, edx
je 0x421492
test byte [edx + 0xa0], 1
movss xmm3, dword [edi + 0xd58]
movss xmm2, dword [edi + 0xd5c]
movss dword [ebp - 0x240], xmm3
movss dword [ebp - 0x23c], xmm2
jne 0x421276
xor esi, esi
jmp 0x42134f
movss xmm1, dword [edx + 0x34]
xorps xmm0, xmm0
movss xmm6, dword [edx + 0x38]
movaps xmm5, xmm1
addss xmm5, dword [edx + 0x3c]
movaps xmm4, xmm6
subss xmm1, xmm0
addss xmm4, dword [edx + 0x40]
subss xmm6, xmm0
addss xmm5, xmm0
comiss xmm3, xmm1
addss xmm4, xmm0
jb 0x42126f
comiss xmm2, xmm6
jb 0x42126f
comiss xmm5, xmm3
jbe 0x42126f
comiss xmm4, xmm2
jbe 0x42126f
mov ecx, dword [edx + 0x1c]
test ecx, ecx
jne 0x4212c2
mov esi, edx
jmp 0x4212fb
mov esi, dword [ebp - 0x23c]
push esi
push dword [ebp - 0x240]
call fcn.004203c0
add esp, 8
test eax, eax
je 0x4212e1
mov edx, eax
mov esi, edx
jmp 0x4212fb
mov ecx, dword [edx + 0x20]
push esi
push dword [ebp - 0x240]
call fcn.004203c0
mov edx, eax
add esp, 8
test edx, edx
je 0x421347
mov esi, eax
mov eax, dword [edx + 0x10]
shr eax, 0xa
test al, 1
je 0x421338
cmp dword [edx + 0x18], 0
jne 0x421338
mov esi, dword [edx + 0x78]
test esi, esi
je 0x421318
cmp dword [edx + 0x1c], 0
je 0x421338
mov ecx, dword [edx + 0x1c]
test ecx, ecx
jne 0x421323
mov esi, edx
jmp 0x421338
call fcn.004203a0
mov esi, eax
test esi, esi
jne 0x42133c
mov ecx, dword [edx + 0x20]
call fcn.004203a0
mov esi, eax
test esi, esi
je 0x421349
mov ecx, dword [ebp - 0x230]
jmp 0x42149e
xor esi, esi
mov ecx, dword [ebp - 0x230]
mov dl, byte [ebp - 0x229]
movss xmm3, dword [edi + 0x3894]
movss xmm1, dword [ecx + 0x40]
addss xmm3, xmm3
movss xmm0, dword [ecx + 0x44]
movaps xmm2, xmm1
addss xmm2, dword [ecx + 0x48]
movss dword [ebp - 0x248], xmm1
movss dword [ebp - 0x244], xmm0
addss xmm3, dword [edi + 0x3c98]
movss dword [ebp - 0x240], xmm2
addss xmm3, xmm0
movss dword [ebp - 0x23c], xmm3
movups xmm0, xmmword [ebp - 0x248]
cmp byte [edi + 0x59], 0
movups xmmword [ebp - 0x248], xmm0
jne 0x4214dd
mov eax, dword [edi + 0x3f04]
movss xmm6, dword [ebp - 0x248]
add eax, 0x22c
movss xmm5, dword [ebp - 0x240]
movss xmm0, dword [ebp - 0x244]
movss xmm1, dword [edi + 0x38b8]
maxss xmm0, dword [eax + 4]
maxss xmm6, dword [eax]
minss xmm5, dword [eax + 8]
movss xmm4, dword [ebp - 0x23c]
minss xmm4, dword [eax + 0xc]
movss dword [ebp - 0x234], xmm0
movss xmm0, dword [edi + 0x38bc]
movaps xmm2, xmm6
movaps xmm3, xmm5
subss xmm2, xmm1
addss xmm3, xmm1
movaps xmm7, xmm0
movss xmm1, dword [ebp - 0x234]
addss xmm7, xmm4
subss xmm1, xmm0
movss xmm0, dword [edi + 0xd58]
comiss xmm0, xmm2
jb 0x42148e
movss xmm0, dword [edi + 0xd5c]
comiss xmm0, xmm1
jb 0x42148e
comiss xmm3, dword [edi + 0xd58]
jbe 0x42148e
comiss xmm7, xmm0
jbe 0x42148e
mov eax, dword [edi + 0x40ec]
movss xmm3, dword [eax + 0xc]
movss xmm2, dword [eax + 8]
movaps xmm0, xmm3
addss xmm0, dword [eax + 0x14]
movaps xmm1, xmm2
addss xmm1, dword [eax + 0x10]
comiss xmm0, dword [ebp - 0x234]
jbe 0x42148e
comiss xmm4, xmm3
jbe 0x42148e
comiss xmm1, xmm6
jbe 0x42148e
comiss xmm5, xmm2
ja 0x4214dd
xor al, al
jmp 0x4214df
mov eax, dword [ecx + 0x388]
test eax, eax
je 0x4214d6
mov esi, eax
cmp dword [esi + 0x30], 0
je 0x42134f
mov edx, dword [esi + 0x10]
mov eax, edx
shr eax, 0xd
test al, 1
jne 0x42134f
shr edx, 0xc
test dl, 1
mov dl, byte [ebp - 0x229]
jne 0x421355
mov eax, dword [esi + 0x30]
movups xmm0, xmmword [eax + 0x28]
jmp 0x4213a6
mov dl, 1
jmp 0x421355
mov al, 1
cmp byte [edi + 0x42d5], 0
mov byte [ebp - 0x234], al
mov byte [ebp - 0x23c], al
jne 0x421501
cmp byte [edi + 0x42d6], 0
je 0x4216ef
test esi, esi
jne 0x42150d
test dl, dl
je 0x4216ef
lea ecx, [ebp - 0x228]
call fcn.00419e30
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0
call fcn.00419e30
mov byte [ebp - 4], 1
lea eax, [ebp - 0x228]
mov dword [ebp - 0x24c], eax
test esi, esi
je 0x4215c9
mov ecx, dword [esi + 0x18]
test ecx, ecx
jne 0x421553
mov eax, dword [esi + 0x10]
shr eax, 0xb
test al, 1
je 0x4215c9
mov edx, esi
test ecx, ecx
je 0x42156d
nop dword [eax]
mov edx, ecx
mov ecx, dword [edx + 0x18]
test ecx, ecx
jne 0x421560
test edx, edx
je 0x4215c9
mov ecx, dword [ebp - 0x230]
lea eax, [ebp - 0x120]
push 1
push dword [ebp - 0x234]
push eax
push dword [ebp - 0x238]
call fcn.0041e680
add esp, 0x10
cmp byte [ebp - 0x79], 0
je 0x4215c9
mov ecx, dword [ebp - 0x230]
lea eax, [ebp - 0x120]
push 0
push dword [ebp - 0x23c]
mov dword [ebp - 0x24c], eax
mov edx, esi
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x238]
call fcn.0041e680
add esp, 0x10
jmp 0x4215fe
mov ecx, dword [ebp - 0x230]
lea eax, [ebp - 0x228]
push 0
push dword [ebp - 0x234]
mov edx, esi
push eax
push dword [ebp - 0x238]
call fcn.0041e680
lea ecx, [ebp - 0x120]
add esp, 0x10
lea eax, [ebp - 0x228]
cmp eax, ecx
jne 0x421605
mov byte [ebp - 0x184], 0
mov ecx, dword [ebp - 0x230]
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x238]
mov edx, esi
call fcn.0041eae0
lea eax, [ebp - 0x120]
mov edx, esi
mov esi, dword [ebp - 0x230]
mov ecx, esi
push eax
push dword [ebp - 0x238]
call fcn.0041eae0
mov ecx, dword [ebp - 0x24c]
add esp, 0x10
cmp byte [ecx + 0xa4], 0
je 0x4216d3
cmp byte [edi + 0x42d6], 0
je 0x4216d3
mov eax, dword [ecx + 0xa8]
movss xmm0, dword [ecx + 0xb0]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x264], eax
mov eax, dword [ecx + 0xac]
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x120]
cmp ecx, eax
mov dword [ebp - 0x254], 0
lea eax, [ebp - 0x270]
mov dword [ebp - 0x250], 0
push eax
lea ecx, [edi + 0x534c]
mov dword [ebp - 0x270], 1
mov dword [ebp - 0x26c], esi
sete byte [ebp - 0x258]
movss dword [ebp - 0x25c], xmm0
call fcn.00422700
lea ecx, [ebp - 0x120]
call fcn.0041b3f0
lea ecx, [ebp - 0x228]
call fcn.0041b3f0
mov edi, dword [0x4927a0]
mov byte [edi + 0x4292], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046e4b9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret