Function at 0x100627b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x174
mov eax, dword [0x1008400c]
xor eax, esp
mov dword [esp + 0x170], eax
cmp dword [ebp + 0x1c], 0
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, ecx
mov dword [esp + 0x28], ebx
push edi
mov dword [esp + 0x20], esi
jne 0x10062d14
mov edi, dword [ebp + 0xc]
lea eax, [esi - 0x10]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
cmp edi, 0x20
jne 0x1006284f
lea ebx, [esp + 0x1c]
mov dword [esp + 0x1c], 1
push ebx
push ecx
push edx
push 0x20
mov ecx, eax
call fcn.10063e80
cmp dword [esp + 0x1c], 0
mov ebx, dword [esp + 0x2c]
mov dword [ebx], eax
jne 0x10062e55
mov edx, dword [ebp + 0x10]
lea eax, [esi - 0x10]
mov ecx, dword [ebp + 0x14]
cmp edi, 0x206
jne 0x100628e9
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], 1
push esi
push ecx
push edx
push edi
mov ecx, eax
call fcn.10063e80
jmp 0x100629b9
cmp edi, 0x201
jne 0x10062861
lea esi, [esp + 0x1c]
push esi
push ecx
push edx
push edi
jmp 0x10062883
cmp edi, 0x202
jne 0x10062873
lea esi, [esp + 0x1c]
push esi
push ecx
push edx
push edi
jmp 0x10062883
cmp edi, 0x203
jne 0x100628bf
lea esi, [esp + 0x1c]
push esi
push ecx
push edx
push edi
mov ecx, eax
mov dword [esp + 0x2c], 1
call fcn.10063e80
cmp dword [esp + 0x1c], 0
mov esi, dword [esp + 0x20]
mov dword [ebx], eax
je 0x1006281e
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.10069210
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x205
jne 0x10062827
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 1
push ecx
push dword [ebp + 0x14]
mov ecx, eax
push edx
push edi
call fcn.10063e80
jmp 0x100629b9
cmp edi, 0x200
jne 0x1006290d
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], 1
push esi
push ecx
push edx
push edi
mov ecx, eax
call fcn.10063e80
jmp 0x100629b9
cmp edi, 0x100
jne 0x10062931
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], 1
push esi
push ecx
push edx
push edi
mov ecx, eax
call fcn.10063e80
jmp 0x100629b9
cmp edi, 0x101
jne 0x10062952
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], 1
push esi
push ecx
push edx
push edi
mov ecx, eax
call fcn.10063e80
jmp 0x100629b9
cmp edi, 0x5f8
jne 0x10062964
lea esi, [esp + 0x1c]
push esi
push ecx
push edx
push edi
jmp 0x100629aa
cmp edi, 0x5f6
jne 0x10062976
lea esi, [esp + 0x1c]
push esi
push ecx
push edx
push edi
jmp 0x100629aa
cmp edi, 0x5f7
jne 0x10062988
lea esi, [esp + 0x1c]
push esi
push ecx
push edx
push edi
jmp 0x100629aa
cmp edi, 0x5f9
jne 0x1006299a
lea esi, [esp + 0x1c]
push esi
push ecx
push edx
push edi
jmp 0x100629aa
cmp edi, 0x5fa
jne 0x100629e2
lea esi, [esp + 0x1c]
push esi
push ecx
push edx
push edi
mov ecx, eax
mov dword [esp + 0x2c], 1
call fcn.10064010
cmp dword [esp + 0x1c], 0
mov dword [ebx], eax
je 0x10062d14
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.10069210
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0xf
jne 0x10062a49
mov eax, dword [esi - 8]
xor ecx, ecx
mov dword [esp + 0x1c], 1
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], ecx
cmp eax, 1
jne 0x10062a1f
mov edi, dword [esi - 0xc]
test edi, edi
je 0x10062a1f
mov eax, dword [edi]
push ecx
push ecx
push 7
mov esi, dword [eax]
mov ecx, esi
call dword [0x1006f584]
mov ecx, edi
call esi
mov ecx, dword [esp + 0x1c]
mov dword [ebx], 0
test ecx, ecx
je 0x10062d14
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.10069210
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x14
je 0x10062d0e
cmp edi, 0x24
jne 0x10062a9a
mov eax, dword [esi - 8]
mov dword [esp + 0x1c], 1
cmp dword [eax + 8], 1
jne 0x10062d0e
mov eax, dword [esi + 0x24]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x1c], eax
mov dword [ebx], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.10069210
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 3
jne 0x10062c0e
cmp dword [esi - 0xc], 0
mov dword [esp + 0x1c], 0
je 0x10062cc7
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsIconic]
mov edi, dword [esi - 0xc]
mov ebx, eax
test ebx, ebx
setne dl
mov esi, dword [edi]
movzx edx, dl
push edx
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x1006f584]
mov ecx, edi
call esi
mov dword [esp + 0x1c], 1
test ebx, ebx
jne 0x10062bdf
mov esi, dword [esp + 0x20]
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
mov edi, eax
test edi, edi
je 0x10062bdf
cmp dword [esi + 0x6c], edi
je 0x10062bdf
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0x68
push eax
push edi
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
cmp eax, 1
jne 0x10062bdf
mov eax, 0xdc
mov word [esp + 0xdc], ax
lea eax, [esp + 0x98]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_EnumDisplaySettingsW]
cmp eax, 1
jne 0x10062bdf
mov eax, dword [esp + 0x150]
test eax, eax
je 0x10062bdf
movss xmm1, dword [0x10077088]
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
sub esp, 8
addsd xmm0, qword [eax*8 + 0x10077200]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x28], xmm0
fld qword [esp + 0x28]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.1006a2b0
mov ebx, eax
cmp ebx, dword [esi + 0x74]
je 0x10062bdc
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x10062bd9
push ebx
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
cmp eax, 1
je 0x10062bd9
mov ecx, 1
jmp 0x10062be1
mov dword [esi + 0x74], ebx
mov dword [esi + 0x6c], edi
xor ecx, ecx
cmp dword [esp + 0x1c], 0
mov eax, dword [esp + 0x2c]
mov dword [eax], ecx
je 0x10062d14
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.10069210
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 5
jne 0x10062c61
mov edi, dword [esi - 0xc]
mov dword [esp + 0x1c], 0
test edi, edi
je 0x10062cc7
mov eax, dword [edi]
movzx edx, cx
shr ecx, 0x10
push ecx
mov esi, dword [eax + 0x14]
mov ecx, esi
push edx
call dword [0x1006f584]
mov ecx, edi
call esi
mov dword [ebx], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.10069210
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x10
jne 0x10062ca8
mov edi, dword [esi - 0xc]
mov dword [esp + 0x1c], 0
test edi, edi
je 0x10062cc7
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x1006f584]
mov ecx, edi
call esi
mov dword [ebx], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.10069210
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x112
jne 0x10062d02
mov dword [esp + 0x1c], 0
cmp edx, 0xf060
jne 0x10062d0e
mov edi, dword [esi - 0xc]
test edi, edi
jne 0x10062ccf
mov dword [ebx], 1
jmp 0x10062d14
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x1006f584]
mov ecx, edi
call esi
mov dword [ebx], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.10069210
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x7e
jne 0x10062d2d
mov dword [esi + 0x6c], 0
mov dword [ebx], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.10069210
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x1600
jne 0x10062d92
mov edi, dword [esi + 4]
mov dword [esp + 0x1c], 1
test edi, edi
je 0x10062d0e
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x30]
sub eax, ecx
push 0x4000
push eax
mov eax, dword [esi + 0x38]
sub eax, edx
push eax
mov eax, dword [esi - 8]
push ecx
push edx
movzx eax, byte [eax + 0xc]
neg eax
sbb eax, eax
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [ebx], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.10069210
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x1601
jne 0x10062e12
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], 1
test eax, eax
je 0x10062d0e
cmp byte [esi + 0x44], 0
je 0x10062de7
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov dword [ebx], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.10069210
mov esp, ebp
pop ebp
ret 0x18
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebx], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.10069210
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x1602
jne 0x10062d14
mov edi, dword [esi - 0xc]
mov dword [esp + 0x1c], 1
test edi, edi
je 0x10062a78
mov eax, dword [edi]
push 0
push 0
push 8
mov esi, dword [eax]
mov ecx, esi
call dword [0x1006f584]
mov ecx, edi
call esi
mov dword [ebx], 0
test eax, eax
jne 0x10062d14
mov ecx, dword [esp + 0x17c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10069210
mov esp, ebp
pop ebp
ret 0x18