Function at 0x42ed70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513c26
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x56e6c4]
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 - 0x1f8], 0x52aea4
movups xmmword [ebp - 0x1f4], xmm0
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1e0], 0
mov edi, dword [0x571d78]
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 [0x575e5c]
mov ebx, eax
push 4
mov ecx, dword [esi + 8]
inc ecx
push ecx
push dword [esi]
call fcn.004b90a8
add esp, 0xc
test eax, eax
je 0x42ee3f
mov dword [esi], eax
mov eax, dword [esi + 8]
push 4
inc eax
push eax
push dword [esi + 4]
call fcn.004b90a8
add esp, 0xc
test eax, eax
je 0x42ee3f
mov ecx, dword [esi + 8]
mov dword [esi + 4], eax
lea edx, [ecx*4]
mov ecx, dword [esi]
add ecx, edx
je 0x42ee30
mov dword [ecx], ebx
mov eax, dword [esi + 4]
add eax, edx
je 0x42ee3c
lea ecx, [ebp - 0x1f8]
mov dword [eax], ecx
inc dword [esi + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call edi
lea ecx, [ebp - 0x1c0]
call fcn.004362b0
push dword [ebp - 0x1fc]
lea eax, [ebp - 0x1a0]
mov byte [ebp - 4], 1
push eax
push 0x56d2f8
push 0x56c084
push 0x5765c4
call fcn.00414fa0
movzx esi, ax
add esp, 0x14
mov eax, dword [ebp - 0x1ac]
test eax, eax
jne 0x42ef12
call fcn.0045ce12
mov dword [ebp - 0x1ac], eax
test eax, eax
jne 0x42ef12
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
lea ecx, [ebp - 0x1c0]
call fcn.00436650
mov eax, dword [ebp - 0x1e8]
test eax, eax
je 0x42eecd
push eax
call fcn.004b90a3
add esp, 4
mov dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1e0], 0
test eax, eax
je 0x42eef4
push eax
call fcn.004b90a3
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.00483518
mov esp, ebp
pop ebp
ret
push 0
push 0
push eax
call fcn.0045cf14
test si, si
je 0x42eea3
lea eax, [ebp - 0x1c0]
mov dword [ebp - 0x1b8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x56c088
mov dword [ebp - 0x1b4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x56c0a0]
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1b8]
push 0x56c088
mov dword [0x56c0a0], eax
call edi
mov ecx, dword [0x56c0b4]
mov eax, dword [0x56c0bc]
mov edx, dword [0x56c0b0]
sub eax, ecx
push 0
push dword [0x5765c8]
push 0
push 0
push eax
mov eax, dword [0x56c0b8]
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 0x42eea3
call fcn.0042c4e0
mov ecx, eax
call fcn.00423180
test eax, eax
jne 0x42efff
push dword [ebp + 0xc]
push dword [ebp - 0x1bc]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x1bc]
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 - 0x1bc]
call esi
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [ebp - 0x1bc]
call esi
call fcn.0042c4e0
mov ecx, eax
call fcn.00423180
test eax, eax
mov edx, str.Create_Main_Wnd_and_show
mov ecx, str.Silent_mode
cmove ecx, edx
push ecx
call fcn.00435e00
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
add esp, 4
mov ebx, 1
xor esi, esi
test ebx, ebx
je 0x42f060
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1dc]
push eax
call edi
test eax, eax
jne 0x42f060
mov eax, dword [ebp - 0x1f8]
lea ecx, [ebp - 0x1f8]
push esi
call dword [eax + 4]
inc esi
test eax, eax
jne 0x42f034
xor ebx, ebx
push 0
push 0
push 0
lea eax, [ebp - 0x1dc]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x42f030
test eax, eax
je 0x42f0f6
lea eax, [ebp - 0x1dc]
push eax
mov eax, dword [ebp - 0x1f8]
lea ecx, [ebp - 0x1f8]
call dword [eax]
test eax, eax
jne 0x42f0af
lea eax, [ebp - 0x1dc]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1dc]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0x1d8]
cmp eax, 0x118
ja 0x42f0ca
je 0x42f0e6
cmp eax, 0xf
je 0x42f0e6
cmp eax, 0xa0
jmp 0x42f0cf
cmp eax, 0x200
je 0x42f0e6
mov ecx, 1
xor eax, eax
test ecx, ecx
mov ebx, ecx
cmove eax, esi
mov esi, eax
jmp 0x42f030
xor ecx, ecx
xor eax, eax
test ecx, ecx
cmove eax, esi
mov esi, eax
jmp 0x42f030
mov esi, dword [ebp - 0x1d4]
mov ecx, 0x575e28
call fcn.0042ec30
jmp 0x42eea5