Function at 0x499670
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x5640a8]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0x30], esi
lea ecx, [esi + 0xe70]
mov dword [esp + 0x2c], edi
mov dword [edi + 0x7f8], esi
mov dword [edi + 0x7fc], 0
mov eax, dword [ecx]
cmp eax, vtable.ui::Combo.1.0
jne 0x499ac1
mov eax, dword [ecx + 0x24]
mov ecx, dword [edi + 0x7f8]
mov dword [edi + 0x800], eax
mov eax, dword [ecx + 0x188]
movd xmm0, dword [ecx + 0xf34]
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + 0x728]
movss xmm1, dword [eax + 4]
mulss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, dword [ecx + 0xf38]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x20], eax
mov eax, dword [esi]
mulss xmm0, xmm1
cvttss2si edi, xmm0
mov dword [esp + 0x14], edi
cmp eax, vtable.ui::Combo.2.0
jne 0x499acb
lea eax, [esi + 0x2a8]
cmp dword [esp + 0x20], 0
movss xmm0, dword [eax + 4]
movss xmm1, dword [eax + 0xc]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + 8]
cvttss2si eax, dword [eax]
cvttss2si edx, xmm1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], eax
cvttss2si eax, xmm0
mov dword [esp + 0x44], edx
lea ecx, [edi + edx]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], eax
jle 0x49976e
mov eax, dword [esp + 0x20]
add eax, edi
mov dword [esp + 0x48], eax
sub ecx, edx
sub eax, edi
mov dword [esp + 0x3c], ecx
xor edx, edx
lea ecx, [esi + 0xe18]
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], edx
xor edi, edi
mov dword [esp + 0x18], ecx
nop dword [eax]
mov eax, dword [ecx]
cmp eax, vtable.ui::Combo.0
jne 0x499ad7
mov eax, dword [ecx + 8]
cmp edi, eax
jge 0x49984c
mov eax, dword [ecx]
mov edx, dword [eax]
cmp eax, vtable.ui::Combo.0
jne 0x499ae9
test edi, edi
js 0x4997c8
cmp edi, dword [ecx + 8]
jge 0x4997c8
mov eax, dword [ecx + 4]
mov esi, dword [eax + edi*4]
jmp 0x4997ca
xor esi, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x104]
cmp eax, method.ui::Control.virtual_260
jne 0x499af3
cmp byte [esi + 0x2fd], 0
je 0x4997ef
cmp byte [esi + 0x2fe], 0
jne 0x4997fa
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
inc edi
jmp 0x499790
mov ecx, dword [esp + 0x38]
sub esp, 8
mov eax, esp
movd xmm0, ecx
mov ecx, dword [esp + 0x44]
cvtdq2ps xmm0, xmm0
movss dword [eax], xmm0
movd xmm0, ecx
lea ecx, [esp + 0x58]
cvtdq2ps xmm0, xmm0
push ecx
mov ecx, esi
movss dword [eax + 4], xmm0
mov eax, dword [esi]
mov eax, dword [eax + 0x1b0]
call eax
mov edx, dword [esp + 0x10]
cvttss2si eax, dword [eax + 4]
test eax, eax
jle 0x4997f3
mov ecx, dword [esp + 0x18]
add edx, eax
mov dword [esp + 0x10], edx
inc edi
jmp 0x499790
mov ecx, dword [esp + 0x14]
cmp edx, ecx
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x30]
cmovl ecx, edx
add eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esi]
cmp eax, vtable.ui::Combo.2.0
jne 0x499b04
mov eax, dword [esi + 0x188]
mov eax, dword [eax + 0x728]
sub esp, 8
movss xmm0, dword [eax + 4]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x38], xmm0
fld qword [esp + 0x38]
fstp qword [esp]
call fcn.0051c500
fstp qword [esp + 0x38]
movsd xmm0, qword [esp + 0x38]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
push eax
push eax
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esi]
cmp eax, vtable.ui::Combo.2.0
jne 0x499b10
mov eax, dword [esi + 0x188]
push 2
lea ecx, [esp + 0x44]
push ecx
push 0
push dword [eax + 8]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x60]
push eax
xorps xmm0, xmm0
push 1
push dword [edi + 4]
movaps xmmword [esp + 0x6c], xmm0
movaps xmmword [esp + 0x7c], xmm0
movq qword [esp + 0x8c], xmm0
mov dword [esp + 0x6c], 0x28
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
movd xmm1, dword [esp + 0x4c]
movd xmm0, dword [esp + 0x80]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x49999f
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], eax
test ecx, ecx
jle 0x499955
add eax, ecx
mov dword [esp + 0x48], eax
movd xmm0, dword [esp + 0x14]
movss xmm1, dword [esp + 0x28]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0x44], eax
cvttss2si eax, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
mov eax, dword [esi]
cmp eax, vtable.ui::Combo.2.0
jne 0x499b1c
mov eax, dword [esi + 0x188]
push 2
lea ecx, [esp + 0x44]
push ecx
push 0
push dword [eax + 8]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi]
cmp eax, vtable.ui::Combo.2.0
jne 0x499b28
mov eax, dword [esi + 0x188]
mov esi, dword [eax + 8]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
sub ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x48]
sub ecx, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
mov ecx, edi
call fcn.00451eb0
test al, al
je 0x499a4a
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
test esi, esi
je 0x499a14
test ecx, ecx
jns 0x499a14
test eax, eax
jns 0x499a14
lea eax, [esp + 0x50]
xorps xmm0, xmm0
push eax
push esi
movups xmmword [esp + 0x58], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
push edi
push dword [0x56e914]
push 0
push esi
push dword [esp + 0x38]
push dword [esp + 0x38]
push eax
mov eax, dword [edi]
push ecx
push SysReAllocString
push 0
mov eax, dword [eax + 0x10]
mov ecx, edi
call eax
push eax
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 4], eax
mov dword [edi + 8], esi
mov eax, dword [esp + 0x4c]
lea ecx, [edi + 0x30]
sub eax, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
push eax
mov byte [edi + 0x547], 1
call fcn.00435000
mov esi, dword [edi + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x499a8c
nop dword [eax + eax]
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x499a80
mov edi, dword [esp + 0x2c]
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
call fcn.004e1de4
mov esp, ebp
pop ebp
ret 4
mov eax, dword [eax + 4]
call eax
jmp 0x4996bf
mov eax, dword [eax + 0x4c]
mov ecx, esi
call eax
jmp 0x49971d
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
jmp 0x4997a0
push edi
call edx
mov esi, eax
jmp 0x4997ca
mov ecx, esi
call eax
test al, al
je 0x4997ef
jmp 0x4997fa
mov eax, dword [eax + 0x1c]
mov ecx, esi
call eax
jmp 0x49987a
mov eax, dword [eax + 0x1c]
mov ecx, esi
call eax
jmp 0x4998d2
mov eax, dword [eax + 0x1c]
mov ecx, esi
call eax
jmp 0x49998d
mov eax, dword [eax + 0x1c]
mov ecx, esi
call eax
jmp 0x4999b2