Function at 0x427090
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3336
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x655494]
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 eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1dc], 0x5ed29c
movups xmmword [ebp - 0x1d8], xmm0
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0
mov ebx, dword [0x65efb0]
add ebx, 0x10
mov dword [ebp - 4], 0
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x65f018]
mov edi, eax
push 4
mov ecx, dword [esi + 8]
inc ecx
push ecx
push dword [esi]
call fcn.0055165d
add esp, 0xc
test eax, eax
je 0x427168
mov dword [esi], eax
mov eax, dword [esi + 8]
push 4
inc eax
push eax
push dword [esi + 4]
call fcn.0055165d
add esp, 0xc
test eax, eax
je 0x427168
mov ecx, dword [esi + 8]
mov dword [esi + 4], eax
lea edx, [ecx*4]
mov ecx, dword [esi]
add ecx, edx
je 0x427159
mov dword [ecx], edi
mov eax, dword [esi + 4]
add eax, edx
je 0x427165
lea ecx, [ebp - 0x1dc]
mov dword [eax], ecx
inc dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
call edi
lea ecx, [ebp - 0x1a0]
call fcn.0042a340
push dword [ebp - 0x1a4]
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 1
call fcn.0042eaf0
push dword [ebp - 0x1a4]
lea eax, [ebp - 0x180]
push eax
push 0x654128
push 0x653f90
push 0x65f1b0
call fcn.0041f440
movzx esi, ax
add esp, 0x14
mov eax, dword [ebp - 0x18c]
test eax, eax
jne 0x42724c
call fcn.00452ecd
mov dword [ebp - 0x18c], eax
test eax, eax
jne 0x42724c
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
lea ecx, [ebp - 0x1a0]
call fcn.0042a660
mov eax, dword [ebp - 0x1cc]
test eax, eax
je 0x427207
push eax
call fcn.0054eb26
add esp, 4
mov dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0
test eax, eax
je 0x42722e
push eax
call fcn.0054eb26
add esp, 4
mov eax, esi
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.00468f28
mov esp, ebp
pop ebp
ret
push 0
push 0
push eax
call fcn.00452fcf
test si, si
je 0x4271dd
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x198], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x653f94
mov dword [ebp - 0x194], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x653fac]
mov dword [ebp - 0x190], eax
lea eax, [ebp - 0x198]
push 0x653f94
mov dword [0x653fac], eax
call edi
mov ecx, dword [0x653fc0]
mov eax, dword [0x653fc8]
mov edx, dword [0x653fbc]
sub eax, ecx
push 0
push dword [0x65f1b4]
push 0
push 0
push eax
mov eax, dword [0x653fc4]
sub eax, edx
push eax
push ecx
push edx
push SysReAllocString
push 0
push esi
push 0x80000
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
je 0x4271dd
call fcn.0041d730
mov ecx, eax
call fcn.0041b540
test eax, eax
jne 0x427339
push dword [ebp + 0x10]
push dword [ebp - 0x19c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x19c]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0x19c]
call esi
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [ebp - 0x19c]
call esi
call fcn.0041d730
mov ecx, eax
call fcn.0041b540
test eax, eax
mov edx, str.Create_Main_Wnd_and_show
mov ecx, 0x5ed2d8
cmove ecx, edx
push ecx
call fcn.0042a1e0
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
add esp, 4
mov ebx, 1
xor esi, esi
nop word [eax + eax]
test ebx, ebx
je 0x4273a0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1c0]
push eax
call edi
test eax, eax
jne 0x4273a0
mov eax, dword [ebp - 0x1dc]
lea ecx, [ebp - 0x1dc]
push esi
call dword [eax + 4]
inc esi
test eax, eax
jne 0x427374
xor ebx, ebx
push 0
push 0
push 0
lea eax, [ebp - 0x1c0]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x427370
test eax, eax
je 0x427436
lea eax, [ebp - 0x1c0]
push eax
mov eax, dword [ebp - 0x1dc]
lea ecx, [ebp - 0x1dc]
call dword [eax]
test eax, eax
jne 0x4273ef
lea eax, [ebp - 0x1c0]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c0]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0x1bc]
cmp eax, 0x118
ja 0x42740a
je 0x427426
cmp eax, 0xf
je 0x427426
cmp eax, 0xa0
jmp 0x42740f
cmp eax, 0x200
je 0x427426
mov ecx, 1
xor eax, eax
test ecx, ecx
mov ebx, ecx
cmove eax, esi
mov esi, eax
jmp 0x427370
xor ecx, ecx
xor eax, eax
test ecx, ecx
cmove eax, esi
mov esi, eax
jmp 0x427370
mov esi, dword [ebp - 0x1b8]
mov ecx, 0x65efe4
call fcn.00426f60
lea ecx, [ebp - 0x1a0]
call fcn.0042f3d0
jmp 0x4271df