Function at 0x4226e0
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 0x4c388b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x260
mov eax, dword [0x4f01c0]
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 [0x4f4b14]
cmp byte [edi + 0x4290], 0
je 0x422df6
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 0x422df6
mov eax, dword [ecx + 0x32c]
cmp eax, dword [edx + 0x32c]
jne 0x422df6
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 0x422df6
movss xmm0, dword [edi + 0xd5c]
comiss xmm0, xmm1
jb 0x422df6
comiss xmm7, dword [edi + 0xd58]
jbe 0x422df6
movss xmm1, dword [ebp - 0x24c]
comiss xmm1, xmm0
jbe 0x422df6
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 0x422df6
comiss xmm4, xmm7
jbe 0x422df6
comiss xmm1, xmm5
jbe 0x422df6
comiss xmm3, xmm2
jbe 0x422df6
mov eax, dword [ebp - 0x234]
cmp eax, dword [edi + 0x42a8]
je 0x422df6
cmp byte [ecx + 0xc8], 0
jne 0x422df6
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 0x422def
lea ecx, [edi + 0x42b4]
mov eax, str._IMWINDOW
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4228f0
test dl, dl
je 0x4228ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4228f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4228d0
xor eax, eax
jmp 0x4228f5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x422def
mov eax, dword [edi + 0x42a0]
mov ecx, esi
mov eax, dword [eax]
mov edx, eax
mov dword [ebp - 0x238], eax
call fcn.0041f8f0
test al, al
je 0x422def
call fcn.00418420
test eax, eax
je 0x422def
mov ecx, dword [ebp - 0x230]
xor esi, esi
mov byte [ebp - 0x229], 0
mov edx, dword [ecx + 0x38c]
test edx, edx
je 0x422b95
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 0x422976
xor esi, esi
jmp 0x422a4f
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 0x42296f
comiss xmm2, xmm6
jb 0x42296f
comiss xmm5, xmm3
jbe 0x42296f
comiss xmm4, xmm2
jbe 0x42296f
mov ecx, dword [edx + 0x1c]
test ecx, ecx
jne 0x4229c2
mov esi, edx
jmp 0x4229fb
mov esi, dword [ebp - 0x23c]
push esi
push dword [ebp - 0x240]
call fcn.00421ac0
add esp, 8
test eax, eax
je 0x4229e1
mov edx, eax
mov esi, edx
jmp 0x4229fb
mov ecx, dword [edx + 0x20]
push esi
push dword [ebp - 0x240]
call fcn.00421ac0
mov edx, eax
add esp, 8
test edx, edx
je 0x422a47
mov esi, eax
mov eax, dword [edx + 0x10]
shr eax, 0xa
test al, 1
je 0x422a38
cmp dword [edx + 0x18], 0
jne 0x422a38
mov esi, dword [edx + 0x78]
test esi, esi
je 0x422a18
cmp dword [edx + 0x1c], 0
je 0x422a38
mov ecx, dword [edx + 0x1c]
test ecx, ecx
jne 0x422a23
mov esi, edx
jmp 0x422a38
call fcn.00421aa0
mov esi, eax
test esi, esi
jne 0x422a3c
mov ecx, dword [edx + 0x20]
call fcn.00421aa0
mov esi, eax
test esi, esi
je 0x422a49
mov ecx, dword [ebp - 0x230]
jmp 0x422ba1
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 0x422be0
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 0x422b91
movss xmm0, dword [edi + 0xd5c]
comiss xmm0, xmm1
jb 0x422b91
comiss xmm3, dword [edi + 0xd58]
jbe 0x422b91
comiss xmm7, xmm0
jbe 0x422b91
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 0x422b91
comiss xmm4, xmm3
jbe 0x422b91
comiss xmm1, xmm6
jbe 0x422b91
comiss xmm5, xmm2
ja 0x422be0
xor al, al
jmp 0x422be2
mov eax, dword [ecx + 0x388]
test eax, eax
je 0x422bd9
mov esi, eax
cmp dword [esi + 0x30], 0
je 0x422a4f
mov edx, dword [esi + 0x10]
mov eax, edx
shr eax, 0xd
test al, 1
jne 0x422a4f
shr edx, 0xc
test dl, 1
mov dl, byte [ebp - 0x229]
jne 0x422a55
mov eax, dword [esi + 0x30]
movups xmm0, xmmword [eax + 0x28]
jmp 0x422aa9
mov dl, 1
jmp 0x422a55
mov al, 1
cmp byte [edi + 0x42d5], 0
mov byte [ebp - 0x234], al
mov byte [ebp - 0x23c], al
jne 0x422c04
cmp byte [edi + 0x42d6], 0
je 0x422def
test esi, esi
jne 0x422c10
test dl, dl
je 0x422def
lea ecx, [ebp - 0x228]
call fcn.0041b310
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0
call fcn.0041b310
mov byte [ebp - 4], 1
lea eax, [ebp - 0x228]
mov dword [ebp - 0x24c], eax
test esi, esi
je 0x422cc9
mov ecx, dword [esi + 0x18]
test ecx, ecx
jne 0x422c56
mov eax, dword [esi + 0x10]
shr eax, 0xb
test al, 1
je 0x422cc9
mov edx, esi
test ecx, ecx
je 0x422c6d
nop dword [eax]
mov edx, ecx
mov ecx, dword [edx + 0x18]
test ecx, ecx
jne 0x422c60
test edx, edx
je 0x422cc9
mov ecx, dword [ebp - 0x230]
lea eax, [ebp - 0x120]
push 1
push dword [ebp - 0x234]
push eax
push dword [ebp - 0x238]
call fcn.0041fe30
add esp, 0x10
cmp byte [ebp - 0x79], 0
je 0x422cc9
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.0041fe30
add esp, 0x10
jmp 0x422cfe
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.0041fe30
lea ecx, [ebp - 0x120]
add esp, 0x10
lea eax, [ebp - 0x228]
cmp eax, ecx
jne 0x422d05
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.00420290
lea eax, [ebp - 0x120]
mov edx, esi
mov esi, dword [ebp - 0x230]
mov ecx, esi
push eax
push dword [ebp - 0x238]
call fcn.00420290
mov ecx, dword [ebp - 0x24c]
add esp, 0x10
cmp byte [ecx + 0xa4], 0
je 0x422dd3
cmp byte [edi + 0x42d6], 0
je 0x422dd3
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.00423f40
lea ecx, [ebp - 0x120]
call fcn.0041c860
lea ecx, [ebp - 0x228]
call fcn.0041c860
mov edi, dword [0x4f4b14]
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.0047eeda
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret