Function at 0x473200
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5200c8
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x56e754]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x585b48]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24], ebx
cmp dword [esi + 0x2c], 0
jne 0x47327a
mov eax, 1
lock xadd dword [esi + 0x30], eax
inc eax
cmp eax, 1
jne 0x473261
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x2c], eax
jmp 0x47327a
cmp dword [esi + 0x2c], 0
jne 0x47327a
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
push 0
call edi
cmp dword [esi + 0x2c], 0
je 0x473270
push 0x7f00
push 0
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x6c], 0x30
mov dword [ebp - 0x68], 3
mov dword [ebp - 0x64], 0x4178a0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x50], eax
mov eax, dword [esi]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x40], 0
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call edi
push 1
mov dword [ebp - 0x18], eax
call edi
push 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x14]
mov edi, dword [0x56f184]
sub eax, ecx
sub eax, dword [ebp - 0x1c]
mov ebx, dword [esi + 4]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x1c]
cmp edi, 0xffffffff
push 0
push dword [ebp - 0x24]
cmove edi, eax
mov eax, dword [ebp - 0x18]
sub eax, ebx
sub eax, dword [ebp - 0x20]
push 0
push 0
push ecx
mov ecx, dword [0x56f180]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x20]
cmp ecx, 0xffffffff
push ebx
push edi
cmove ecx, eax
push ecx
push 0x80020000
push dword [esi]
mov ecx, esi
call fcn.004718f0
push eax
push dword [esi]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 1
push eax
mov dword [esi + 0xc], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x70], 0
mov dword [ebp - 4], 0
cmp byte [esi + 0x94], 0
je 0x4733bc
push dword [esi + 0x90]
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 0xffffffff
push eax
call edi
test eax, eax
je 0x473414
nop dword [eax + eax]
cmp dword [ebp - 0x8c], 0x12
je 0x47342f
lea eax, [ebp - 0x90]
push eax
call ebx
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x90]
push eax
call edi
test eax, eax
jne 0x4733e0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0xa
mov dword [ebp - 0x2c], 0
call fcn.0042efe0
jmp 0x473395
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
ret 0x18