Function at 0x422290
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 0x448deb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x260
mov eax, dword [0x452040]
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 [0x452440]
cmp byte [edi + 0x4290], 0
je 0x4229a6
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]
mov dword [ebp - 0x234], eax
movss dword [ebp - 0x248], xmm5
movss dword [ebp - 0x244], xmm6
movss dword [ebp - 0x240], xmm3
addss xmm4, dword [esi + 0x4c]
movss dword [ebp - 0x23c], xmm4
test edx, edx
je 0x4229a6
mov eax, dword [ecx + 0x32c]
cmp eax, dword [edx + 0x32c]
jne 0x4229a6
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 0x4229a6
movss xmm0, dword [edi + 0xd5c]
comiss xmm0, xmm1
jb 0x4229a6
comiss xmm7, dword [edi + 0xd58]
jbe 0x4229a6
movss xmm1, dword [ebp - 0x24c]
comiss xmm1, xmm0
jbe 0x4229a6
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 0x4229a6
comiss xmm4, xmm7
jbe 0x4229a6
comiss xmm1, xmm5
jbe 0x4229a6
comiss xmm3, xmm2
jbe 0x4229a6
mov eax, dword [ebp - 0x234]
cmp eax, dword [edi + 0x42a8]
je 0x4229a6
cmp byte [ecx + 0xc8], 0
jne 0x4229a6
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 0x42299f
lea ecx, [edi + 0x42b4]
mov eax, str._IMWINDOW
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4224a0
test dl, dl
je 0x42249c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4224a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x422480
xor eax, eax
jmp 0x4224a5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42299f
mov eax, dword [edi + 0x42a0]
mov ecx, esi
mov eax, dword [eax]
mov edx, eax
mov dword [ebp - 0x238], eax
call fcn.0041f490
test al, al
je 0x42299f
call fcn.00417f00
test eax, eax
je 0x42299f
mov ecx, dword [ebp - 0x230]
xor esi, esi
mov byte [ebp - 0x229], 0
mov edx, dword [ecx + 0x38c]
test edx, edx
je 0x422745
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 0x422526
xor esi, esi
jmp 0x4225ff
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 0x42251f
comiss xmm2, xmm6
jb 0x42251f
comiss xmm5, xmm3
jbe 0x42251f
comiss xmm4, xmm2
jbe 0x42251f
mov ecx, dword [edx + 0x1c]
test ecx, ecx
jne 0x422572
mov esi, edx
jmp 0x4225ab
mov esi, dword [ebp - 0x23c]
push esi
push dword [ebp - 0x240]
call fcn.00421670
add esp, 8
test eax, eax
je 0x422591
mov edx, eax
mov esi, edx
jmp 0x4225ab
mov ecx, dword [edx + 0x20]
push esi
push dword [ebp - 0x240]
call fcn.00421670
mov edx, eax
add esp, 8
test edx, edx
je 0x4225f7
mov esi, eax
mov eax, dword [edx + 0x10]
shr eax, 0xa
test al, 1
je 0x4225e8
cmp dword [edx + 0x18], 0
jne 0x4225e8
mov esi, dword [edx + 0x78]
test esi, esi
je 0x4225c8
cmp dword [edx + 0x1c], 0
je 0x4225e8
mov ecx, dword [edx + 0x1c]
test ecx, ecx
jne 0x4225d3
mov esi, edx
jmp 0x4225e8
call fcn.00421650
mov esi, eax
test esi, esi
jne 0x4225ec
mov ecx, dword [edx + 0x20]
call fcn.00421650
mov esi, eax
test esi, esi
je 0x4225f9
mov ecx, dword [ebp - 0x230]
jmp 0x422751
xor esi, esi
mov ecx, dword [ebp - 0x230]
mov dl, byte [ebp - 0x229]
movss xmm4, dword [edi + 0x3894]
movss xmm0, dword [ecx + 0x44]
addss xmm4, xmm4
movss xmm2, dword [ecx + 0x40]
movaps xmm1, xmm0
movaps xmm3, xmm2
movss dword [ebp - 0x248], xmm2
addss xmm3, dword [ecx + 0x48]
movss dword [ebp - 0x244], xmm0
addss xmm4, dword [edi + 0x3c98]
movss dword [ebp - 0x240], xmm3
addss xmm1, xmm4
movss dword [ebp - 0x23c], xmm1
movups xmm0, xmmword [ebp - 0x248]
cmp byte [edi + 0x59], 0
movups xmmword [ebp - 0x248], xmm0
jne 0x422790
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 0x422741
movss xmm0, dword [edi + 0xd5c]
comiss xmm0, xmm1
jb 0x422741
comiss xmm3, dword [edi + 0xd58]
jbe 0x422741
comiss xmm7, xmm0
jbe 0x422741
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 0x422741
comiss xmm4, xmm3
jbe 0x422741
comiss xmm1, xmm6
jbe 0x422741
comiss xmm5, xmm2
ja 0x422790
xor al, al
jmp 0x422792
mov eax, dword [ecx + 0x388]
test eax, eax
je 0x422789
mov esi, eax
cmp dword [esi + 0x30], 0
je 0x4225ff
mov edx, dword [esi + 0x10]
mov eax, edx
shr eax, 0xd
test al, 1
jne 0x4225ff
shr edx, 0xc
test dl, 1
mov dl, byte [ebp - 0x229]
jne 0x422605
mov eax, dword [esi + 0x30]
movups xmm0, xmmword [eax + 0x28]
jmp 0x422659
mov dl, 1
jmp 0x422605
mov al, 1
cmp byte [edi + 0x42d5], 0
mov byte [ebp - 0x234], al
mov byte [ebp - 0x23c], al
jne 0x4227b4
cmp byte [edi + 0x42d6], 0
je 0x42299f
test esi, esi
jne 0x4227c0
test dl, dl
je 0x42299f
lea ecx, [ebp - 0x228]
call fcn.0041adf0
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0
call fcn.0041adf0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x228]
mov dword [ebp - 0x24c], eax
test esi, esi
je 0x422879
mov ecx, dword [esi + 0x18]
test ecx, ecx
jne 0x422806
mov eax, dword [esi + 0x10]
shr eax, 0xb
test al, 1
je 0x422879
mov edx, esi
test ecx, ecx
je 0x42281d
nop dword [eax]
mov edx, ecx
mov ecx, dword [edx + 0x18]
test ecx, ecx
jne 0x422810
test edx, edx
je 0x422879
mov ecx, dword [ebp - 0x230]
lea eax, [ebp - 0x120]
push 1
push dword [ebp - 0x234]
push eax
push dword [ebp - 0x238]
call fcn.0041f9d0
add esp, 0x10
cmp byte [ebp - 0x79], 0
je 0x422879
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.0041f9d0
add esp, 0x10
jmp 0x4228ae
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.0041f9d0
lea ecx, [ebp - 0x120]
add esp, 0x10
lea eax, [ebp - 0x228]
cmp eax, ecx
jne 0x4228b5
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.0041fe30
lea eax, [ebp - 0x120]
mov edx, esi
mov esi, dword [ebp - 0x230]
mov ecx, esi
push eax
push dword [ebp - 0x238]
call fcn.0041fe30
mov ecx, dword [ebp - 0x24c]
add esp, 0x10
cmp byte [ecx + 0xa4], 0
je 0x422983
cmp byte [edi + 0x42d6], 0
je 0x422983
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.00423af0
lea ecx, [ebp - 0x120]
call fcn.0041c350
lea ecx, [ebp - 0x228]
call fcn.0041c350
mov edi, dword [0x452440]
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.004475f5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret