Function at 0x420500
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 0x43f7bb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x260
mov eax, dword [0x448040]
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 [0x448434]
cmp byte [edi + 0x4290], 0
je 0x420c16
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 0x420c16
mov eax, dword [ecx + 0x32c]
cmp eax, dword [edx + 0x32c]
jne 0x420c16
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 0x420c16
movss xmm0, dword [edi + 0xd5c]
comiss xmm0, xmm1
jb 0x420c16
comiss xmm7, dword [edi + 0xd58]
jbe 0x420c16
movss xmm1, dword [ebp - 0x24c]
comiss xmm1, xmm0
jbe 0x420c16
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 0x420c16
comiss xmm4, xmm7
jbe 0x420c16
comiss xmm1, xmm5
jbe 0x420c16
comiss xmm3, xmm2
jbe 0x420c16
mov eax, dword [ebp - 0x234]
cmp eax, dword [edi + 0x42a8]
je 0x420c16
cmp byte [ecx + 0xc8], 0
jne 0x420c16
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 0x420c0f
lea ecx, [edi + 0x42b4]
mov eax, str._IMWINDOW
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x420710
test dl, dl
je 0x42070c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x420710
add eax, 2
add ecx, 2
test dl, dl
jne 0x4206f0
xor eax, eax
jmp 0x420715
sbb eax, eax
or eax, 1
test eax, eax
jne 0x420c0f
mov eax, dword [edi + 0x42a0]
mov ecx, esi
mov eax, dword [eax]
mov edx, eax
mov dword [ebp - 0x238], eax
call fcn.0041d7b0
test al, al
je 0x420c0f
call fcn.004164b0
test eax, eax
je 0x420c0f
mov ecx, dword [ebp - 0x230]
xor esi, esi
mov byte [ebp - 0x229], 0
mov edx, dword [ecx + 0x38c]
test edx, edx
je 0x4209b2
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 0x420796
xor esi, esi
jmp 0x42086f
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 0x42078f
comiss xmm2, xmm6
jb 0x42078f
comiss xmm5, xmm3
jbe 0x42078f
comiss xmm4, xmm2
jbe 0x42078f
mov ecx, dword [edx + 0x1c]
test ecx, ecx
jne 0x4207e2
mov esi, edx
jmp 0x42081b
mov esi, dword [ebp - 0x23c]
push esi
push dword [ebp - 0x240]
call fcn.0041f8e0
add esp, 8
test eax, eax
je 0x420801
mov edx, eax
mov esi, edx
jmp 0x42081b
mov ecx, dword [edx + 0x20]
push esi
push dword [ebp - 0x240]
call fcn.0041f8e0
mov edx, eax
add esp, 8
test edx, edx
je 0x420867
mov esi, eax
mov eax, dword [edx + 0x10]
shr eax, 0xa
test al, 1
je 0x420858
cmp dword [edx + 0x18], 0
jne 0x420858
mov esi, dword [edx + 0x78]
test esi, esi
je 0x420838
cmp dword [edx + 0x1c], 0
je 0x420858
mov ecx, dword [edx + 0x1c]
test ecx, ecx
jne 0x420843
mov esi, edx
jmp 0x420858
call fcn.0041f8c0
mov esi, eax
test esi, esi
jne 0x42085c
mov ecx, dword [edx + 0x20]
call fcn.0041f8c0
mov esi, eax
test esi, esi
je 0x420869
mov ecx, dword [ebp - 0x230]
jmp 0x4209be
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 0x4209fd
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 0x4209ae
movss xmm0, dword [edi + 0xd5c]
comiss xmm0, xmm1
jb 0x4209ae
comiss xmm3, dword [edi + 0xd58]
jbe 0x4209ae
comiss xmm7, xmm0
jbe 0x4209ae
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 0x4209ae
comiss xmm4, xmm3
jbe 0x4209ae
comiss xmm1, xmm6
jbe 0x4209ae
comiss xmm5, xmm2
ja 0x4209fd
xor al, al
jmp 0x4209ff
mov eax, dword [ecx + 0x388]
test eax, eax
je 0x4209f6
mov esi, eax
cmp dword [esi + 0x30], 0
je 0x42086f
mov edx, dword [esi + 0x10]
mov eax, edx
shr eax, 0xd
test al, 1
jne 0x42086f
shr edx, 0xc
test dl, 1
mov dl, byte [ebp - 0x229]
jne 0x420875
mov eax, dword [esi + 0x30]
movups xmm0, xmmword [eax + 0x28]
jmp 0x4208c6
mov dl, 1
jmp 0x420875
mov al, 1
cmp byte [edi + 0x42d5], 0
mov byte [ebp - 0x234], al
mov byte [ebp - 0x23c], al
jne 0x420a21
cmp byte [edi + 0x42d6], 0
je 0x420c0f
test esi, esi
jne 0x420a2d
test dl, dl
je 0x420c0f
lea ecx, [ebp - 0x228]
call fcn.00419340
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0
call fcn.00419340
mov byte [ebp - 4], 1
lea eax, [ebp - 0x228]
mov dword [ebp - 0x24c], eax
test esi, esi
je 0x420ae9
mov ecx, dword [esi + 0x18]
test ecx, ecx
jne 0x420a73
mov eax, dword [esi + 0x10]
shr eax, 0xb
test al, 1
je 0x420ae9
mov edx, esi
test ecx, ecx
je 0x420a8d
nop dword [eax]
mov edx, ecx
mov ecx, dword [edx + 0x18]
test ecx, ecx
jne 0x420a80
test edx, edx
je 0x420ae9
mov ecx, dword [ebp - 0x230]
lea eax, [ebp - 0x120]
push 1
push dword [ebp - 0x234]
push eax
push dword [ebp - 0x238]
call fcn.0041dba0
add esp, 0x10
cmp byte [ebp - 0x79], 0
je 0x420ae9
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.0041dba0
add esp, 0x10
jmp 0x420b1e
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.0041dba0
lea ecx, [ebp - 0x120]
add esp, 0x10
lea eax, [ebp - 0x228]
cmp eax, ecx
jne 0x420b25
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.0041e000
lea eax, [ebp - 0x120]
mov edx, esi
mov esi, dword [ebp - 0x230]
mov ecx, esi
push eax
push dword [ebp - 0x238]
call fcn.0041e000
mov ecx, dword [ebp - 0x24c]
add esp, 0x10
cmp byte [ecx + 0xa4], 0
je 0x420bf3
cmp byte [edi + 0x42d6], 0
je 0x420bf3
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.00421c20
lea ecx, [ebp - 0x120]
call fcn.0041a900
lea ecx, [ebp - 0x228]
call fcn.0041a900
mov edi, dword [0x448434]
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.0043e467
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret