Function at 0x4247e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514ed6
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x56cd6c]
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
xorps xmm0, xmm0
mov dword [ebp - 0x200], 0x5284c4
movups xmmword [ebp - 0x1fc], xmm0
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1e8], 0
mov edi, dword [0x571620]
add edi, 0x10
mov dword [ebp - 4], 0
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x57574c]
mov ebx, eax
push 4
mov ecx, dword [esi + 8]
inc ecx
push ecx
push dword [esi]
call fcn.004bf763
add esp, 0xc
test eax, eax
je 0x4248af
mov dword [esi], eax
mov eax, dword [esi + 8]
push 4
inc eax
push eax
push dword [esi + 4]
call fcn.004bf763
add esp, 0xc
test eax, eax
je 0x4248af
mov ecx, dword [esi + 8]
mov dword [esi + 4], eax
lea edx, [ecx*4]
mov ecx, dword [esi]
add ecx, edx
je 0x4248a0
mov dword [ecx], ebx
mov eax, dword [esi + 4]
add eax, edx
je 0x4248ac
lea ecx, [ebp - 0x200]
mov dword [eax], ecx
inc dword [esi + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call edi
lea ecx, [ebp - 0x1c8]
call fcn.00426c20
push dword [ebp - 0x204]
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 1
push eax
push 0x56b9f0
push 0x5716c8
push 0x578308
mov dword [ebp - 0x15c], 1
call fcn.0041cd70
movzx esi, ax
add esp, 0x14
mov eax, dword [ebp - 0x1b4]
test eax, eax
jne 0x42498c
call fcn.0044ec02
mov dword [ebp - 0x1b4], eax
test eax, eax
jne 0x42498c
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
lea ecx, [ebp - 0x1c8]
call fcn.00426f70
mov eax, dword [ebp - 0x1f0]
test eax, eax
je 0x424947
push eax
call fcn.004bcb53
add esp, 4
mov dword [ebp - 0x1f0], 0
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1e8], 0
test eax, eax
je 0x42496e
push eax
call fcn.004bcb53
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.004735b8
mov esp, ebp
pop ebp
ret
push 0
push 0
push eax
call fcn.0044ed04
test si, si
je 0x42491d
lea eax, [ebp - 0x1c8]
mov dword [ebp - 0x1c0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x5716cc
mov dword [ebp - 0x1bc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5716e4]
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x1c0]
push 0x5716cc
mov dword [0x5716e4], eax
call edi
mov ecx, dword [0x56b86c]
mov eax, dword [0x56b874]
mov edx, dword [0x56b868]
sub eax, ecx
push 0
push dword [0x57830c]
push 0
push 0
push eax
mov eax, dword [0x56b870]
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 0x42491d
call fcn.00421d50
mov ecx, eax
call fcn.00419540
test eax, eax
jne 0x424a79
push dword [ebp + 0xc]
push dword [ebp - 0x1c4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x1c4]
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 - 0x1c4]
call esi
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [ebp - 0x1c4]
call esi
call fcn.00421d50
mov ecx, eax
call fcn.00419540
test eax, eax
mov edx, str.Create_Main_Wnd_and_show
mov ecx, str.Silent_mode
cmove ecx, edx
push ecx
call fcn.004372e0
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 0x424ae0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1e4]
push eax
call edi
test eax, eax
jne 0x424ae0
mov eax, dword [ebp - 0x200]
lea ecx, [ebp - 0x200]
push esi
call dword [eax + 4]
inc esi
test eax, eax
jne 0x424ab4
xor ebx, ebx
push 0
push 0
push 0
lea eax, [ebp - 0x1e4]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x424ab0
test eax, eax
je 0x424b76
lea eax, [ebp - 0x1e4]
push eax
mov eax, dword [ebp - 0x200]
lea ecx, [ebp - 0x200]
call dword [eax]
test eax, eax
jne 0x424b2f
lea eax, [ebp - 0x1e4]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1e4]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0x1e0]
cmp eax, 0x118
ja 0x424b4a
je 0x424b66
cmp eax, 0xf
je 0x424b66
cmp eax, 0xa0
jmp 0x424b4f
cmp eax, 0x200
je 0x424b66
mov ecx, 1
xor eax, eax
test ecx, ecx
mov ebx, ecx
cmove eax, esi
mov esi, eax
jmp 0x424ab0
xor ecx, ecx
xor eax, eax
test ecx, ecx
cmove eax, esi
mov esi, eax
jmp 0x424ab0
mov esi, dword [ebp - 0x1dc]
mov ecx, 0x575718
call fcn.004246b0
jmp 0x42491f