Function at 0x40c8a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4327c8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x448090]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
cmp dword [ebx + 0x58], edi
jl 0x40c8e0
cmp dword [ebp + 0xc], 0xa
jne 0x40cadf
test edi, edi
jns 0x40c8e8
xor edi, edi
jmp 0x40c8f2
mov eax, 0x2710
cmp edi, eax
cmovg edi, eax
mov dword [ebx + 0x58], edi
mov eax, dword [0x448020]
mov ecx, 0x448020
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x38], esi
cmp dword [ebp + 0xc], 0xa
mov dword [esp + 0x80], 0
je 0x40c974
cmp edi, 0x2710
jne 0x40c93e
push 7
push str.100.00_
lea ecx, [esp + 0x40]
call fcn.00402440
mov esi, dword [esp + 0x38]
push esi
push 0x426
jmp 0x40c9b7
movd xmm0, edi
cvtdq2pd xmm0, xmm0
sub esp, 8
mulsd xmm0, qword [0x441518]
lea eax, [esp + 0x40]
movsd qword [esp], xmm0
push str._2.2f__
push eax
call fcn.004025d0
mov esi, dword [esp + 0x48]
add esp, 0x10
push esi
push 0x426
jmp 0x40c9b7
mov eax, dword [ebx + 0x38]
push 0
push 0x426
push dword [eax + 4]
or edi, 0xffffffff
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x7a
call fcn.00403480
add esp, 8
test eax, eax
je 0x40c9b1
push 0x7a
push eax
lea ecx, [esp + 0x40]
call fcn.004033b0
mov esi, dword [esp + 0x38]
push esi
push 0x424
mov eax, dword [ebx + 0x38]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebx + 0x38]
push 0x3fc
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xfffffffffffffff0
push eax
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test edi, edi
js 0x40ca83
mov dword [esp + 0x40], eax
test al, 8
je 0x40ca1f
push 0
push 0
push 0x40a
push dword [esp + 0x48]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x40]
and eax, 0xfffffff7
push eax
push 0xfffffffffffffff0
push dword [esp + 0x44]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
push 0
add eax, edx
push eax
push 0x402
push dword [esp + 0x48]
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebx + 0x54]
test edx, edx
je 0x40caba
cmp edi, 0x2710
jne 0x40ca5f
mov eax, dword [edx]
push 0
push dword [ebx + 4]
push edx
jmp 0x40cab7
mov ecx, dword [edx]
push 2
push dword [ebx + 4]
push edx
call dword [ecx + 0x28]
mov eax, dword [esp + 0x40]
mov ecx, dword [ebx + 0x54]
push 0
mov edi, dword [ecx]
push 0x64
cdq
push edx
push eax
push dword [ebx + 4]
push ecx
call dword [edi + 0x24]
jmp 0x40caba
test al, 8
jne 0x40caba
mov edi, dword [esp + 0x3c]
or eax, 8
push eax
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push 1
push 0x40a
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x54]
test ecx, ecx
je 0x40caba
mov eax, dword [ecx]
push 1
push dword [ebx + 4]
push ecx
call dword [eax + 0x28]
add esi, 0xfffffff0
mov dword [esp + 0x80], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40cadf
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8