Function at 0x438210
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f58c
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x56a8e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0xa8], esi
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 4], 0
call fcn.004776a0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x438264
mov eax, dword [eax]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [ebp - 0x60], 8
jb 0x43827f
push dword [ebp - 0x74]
call fcn.00493278
add esp, 4
push 8
xor eax, eax
push str.main.ico
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.0040ca40
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 1
call fcn.00477940
add esp, 4
lea ecx, [ebp - 0x44]
push ecx
push eax
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 2
call fcn.00409020
add esp, 0xc
cmp dword [ebp - 0x60], 8
jb 0x4382d8
push dword [ebp - 0x74]
call fcn.00493278
add esp, 4
xor eax, eax
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
cmp dword [ebp - 0x30], 8
mov byte [ebp - 4], 5
jb 0x438301
push dword [ebp - 0x44]
call fcn.00493278
add esp, 4
push 0x10
xor eax, eax
cmp dword [ebp - 0x48], 8
push 0
mov word [ebp - 0x44], ax
push 0
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push 1
push eax
push dword [0x572ec0]
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 1
push 0x80
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x48], 8
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [0x572ec0]
push 0x10
lea ebx, [ebp - 0x5c]
cmovae ebx, dword [ebp - 0x5c]
push 0x32
call esi
push eax
push 0x31
call esi
push eax
push 1
push ebx
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, dword [ebp - 0xa8]
push eax
push 0
push 0x80
push dword [ebx + 4]
mov dword [ebx + 0x130], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebx + 0x130]
mov ecx, ebx
call fcn.0043c280
mov esi, dword [sym.imp.USER32.dll_SetTimer]
test al, al
jne 0x4383b5
push 0
push 0x7530
push 1
push dword [ebx + 4]
call esi
mov ecx, ebx
call fcn.0043b660
mov ecx, dword [ebx + 0x17c]
call fcn.00436820
mov ecx, dword [ebx + 0x18c]
call fcn.00436820
push 0
push 0xfa0
push 3
push dword [ebx + 4]
call esi
mov eax, dword [ebx + 0x128]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x128]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x571464]
add esi, 0x10
push esi
mov dword [ebp - 0xa8], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x571518]
lea eax, [ebp - 0xa8]
push eax
call fcn.00437540
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebx + 0x20]
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], ecx
push eax
lea ecx, [edi + 4]
call fcn.00436fa0
lea eax, [ebx + 0x24]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xa8]
push eax
lea ecx, [edi + 0x10]
call fcn.00436fa0
mov eax, dword [ebx + 4]
test eax, eax
je 0x438492
mov dword [ebp - 0xac], eax
mov eax, 4
mov word [ebp - 0xa8], ax
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebx + 0x90]
call fcn.00437020
mov dword [ebp - 0x24], 0x43ef80
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x94], 0
movq xmm0, qword [ebp - 0x24]
sub esp, 0x10
mov eax, esp
lea ecx, [ebp - 0x94]
movq qword [eax], xmm0
movq xmm0, qword [ebp - 0x1c]
mov byte [ebp - 4], 7
movq qword [eax + 8], xmm0
call fcn.00432c70
mov ecx, dword [ebx + 0x170]
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xac]
push eax
mov byte [ebp - 4], 8
call fcn.0043b100
mov ecx, dword [ebp - 0xa8]
test ecx, ecx
je 0x43852a
lea eax, [ecx + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x43852a
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 5
call fcn.00414840
mov ecx, ebx
call fcn.0043f600
mov ecx, dword [ebx + 0x1c8]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebx + 0x1d0]
push eax
mov dword [ebp - 0x24], 0x43acf0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], ebx
call fcn.00434190
push 0
push 0
push dword [0x571660]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [ebp - 0x48], 8
jb 0x43858b
push dword [ebp - 0x5c]
call fcn.00493278
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00493d56
mov esp, ebp
pop ebp
ret 0x10