Function at 0x408280
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fb30
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x583384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x6c], edi
call fcn.00406110
mov ecx, eax
test ecx, ecx
jne 0x4082c7
push 0x80004005
call fcn.004063a0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x78], esi
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
lea eax, [edi + 4]
mov byte [ebp - 4], 1
push 0x3fa
push dword [eax]
mov dword [ebp - 0x70], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, edi
mov dword [edi + 0x1c50], eax
call fcn.004079f0
push 0
push dword [edi + 4]
lea ecx, [edi + 0x1478]
mov dword [edi + 0x1c54], eax
call fcn.00407ae0
push dword [edi + 0x147c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4085e4
push 0
push dword [edi + 4]
lea ecx, [edi + 0x878]
call fcn.00407cc0
push dword [edi + 0x87c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4085e4
push 0
push dword [edi + 4]
lea ecx, [edi + 0x14c0]
call fcn.00407c20
push dword [edi + 0x14c4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4085e4
push 0
push dword [edi + 4]
lea ecx, [edi + 0x1508]
call fcn.00407b80
push dword [edi + 0x150c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4085e4
mov eax, dword [edi + 0x147c]
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0x87c]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x14c4]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x150c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x50]
push eax
push dword [edi + 0x1c50]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0x6a
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 0x68
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x24], 0x69
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x18], 0x6b
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x50]
push eax
push dword [edi + 4]
push dword [edi + 0x1c50]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [edi + 0x1c54]
add edi, 0x1c58
inc dword [ebp - 0x50]
mov ecx, edi
add dword [ebp - 0x4c], eax
sub dword [ebp - 0x48], 3
sub dword [ebp - 0x44], 2
mov dword [ebp - 0x7c], edi
call fcn.00457730
mov dword [ebp - 0x74], 0
mov esi, 4
nop
lea eax, [ebp - 0x74]
mov ecx, edi
push eax
call fcn.004c0ca0
sub esi, 1
jne 0x408460
mov esi, dword [ebp - 0x78]
lea edi, [ebp - 0x38]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x74], 4
push 0
push dword [edi - 4]
call fcn.00406330
add esp, 8
test eax, eax
je 0x4084a0
push dword [edi - 4]
lea ecx, [ebp - 0x78]
push eax
call fcn.00406b50
mov esi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x6c]
push 0
push 0
push 0x1304
push dword [eax + 0x1c50]
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], 1
push ecx
push eax
mov eax, dword [ebp - 0x6c]
xorps xmm0, xmm0
push 0x1307
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x90], esi
push dword [eax + 0x1c50]
movq qword [ebp - 0x88], xmm0
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi - 8]
test ecx, ecx
js 0x408512
mov eax, dword [ebp - 0x7c]
cmp ecx, dword [eax + 4]
jge 0x408512
mov eax, dword [eax]
lea ecx, [eax + ecx*4]
test ecx, ecx
je 0x408512
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x4c]
sub eax, edx
mov ecx, dword [ebp - 0x50]
mov edi, dword [edi]
push 0x14
push eax
mov eax, dword [ebp - 0x48]
sub eax, ecx
push eax
push edx
push ecx
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov edi, dword [ebp - 0x80]
add edi, 0xc
sub dword [ebp - 0x74], 1
mov dword [ebp - 0x80], edi
jne 0x408480
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp - 0x6c]
test eax, eax
js 0x408572
cmp eax, dword [edi + 0x1c5c]
jge 0x408572
push eax
mov ecx, edi
call fcn.00408b20
push 0x2040000
push 1
push 1
lea ecx, [edi + 0x24]
call fcn.00407d60
mov edi, dword [ebp - 0x70]
push dword [edi]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, edi
call fcn.00405f70
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x70], eax
mov eax, dword [0x58c7c8]
add eax, 0x10
push eax
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x58cadc]
lea eax, [ebp - 0x70]
push eax
call fcn.00408100
push dword [ebp - 0x7c]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x70]
add ecx, 0x20
mov dword [ebp - 0x70], ecx
lea ecx, [edi + 4]
push eax
call fcn.004c0ca0
xor edi, edi
jmp 0x4085e7
or edi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x408606
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00513512
mov esp, ebp
pop ebp
ret 0x10