Function at 0x423600
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b0d6
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x5555ac]
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 - 0x214], eax
mov dword [ebp - 0x24c], 0x51ac6c
movups xmmword [ebp - 0x248], xmm0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov ebx, dword [0x55ce00]
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 [0x55ce68]
mov edi, eax
push 4
mov ecx, dword [esi + 8]
inc ecx
push ecx
push dword [esi]
call fcn.004bf458
add esp, 0xc
test eax, eax
je 0x4236d8
mov dword [esi], eax
mov eax, dword [esi + 8]
push 4
inc eax
push eax
push dword [esi + 4]
call fcn.004bf458
add esp, 0xc
test eax, eax
je 0x4236d8
mov ecx, dword [esi + 8]
mov dword [esi + 4], eax
lea edx, [ecx*4]
mov ecx, dword [esi]
add ecx, edx
je 0x4236c9
mov dword [ecx], edi
mov eax, dword [esi + 4]
add eax, edx
je 0x4236d5
lea ecx, [ebp - 0x24c]
mov dword [eax], ecx
inc dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
call edi
lea ecx, [ebp - 0x210]
call fcn.004261c0
push dword [ebp - 0x214]
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 1
call fcn.00429f50
push dword [ebp - 0x214]
lea eax, [ebp - 0x1f0]
push eax
push 0x553168
push 0x552d24
push 0x55d008
call fcn.0041ca10
movzx esi, ax
add esp, 0x14
mov eax, dword [ebp - 0x1fc]
test eax, eax
jne 0x4237bc
call fcn.0044da0d
mov dword [ebp - 0x1fc], eax
test eax, eax
jne 0x4237bc
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
lea ecx, [ebp - 0x210]
call fcn.004264b0
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x423777
push eax
call fcn.004bcb86
add esp, 4
mov dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
test eax, eax
je 0x42379e
push eax
call fcn.004bcb86
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.00463a58
mov esp, ebp
pop ebp
ret
push 0
push 0
push eax
call fcn.0044db0f
test si, si
je 0x42374d
lea eax, [ebp - 0x210]
mov dword [ebp - 0x208], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x552d28
mov dword [ebp - 0x204], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x552d40]
mov dword [ebp - 0x200], eax
lea eax, [ebp - 0x208]
push 0x552d28
mov dword [0x552d40], eax
call edi
mov ecx, dword [0x552d54]
mov eax, dword [0x552d5c]
mov edx, dword [0x552d50]
sub eax, ecx
push 0
push dword [0x55d00c]
push 0
push 0
push eax
mov eax, dword [0x552d58]
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 0x42374d
call fcn.0041add0
mov ecx, eax
call fcn.00418b10
test eax, eax
jne 0x4238a9
push dword [ebp + 0x10]
push dword [ebp - 0x20c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x20c]
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 - 0x20c]
call esi
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [ebp - 0x20c]
call esi
call fcn.0041add0
mov ecx, eax
call fcn.00418b10
test eax, eax
mov edx, str.Create_Main_Wnd_and_show
mov ecx, 0x51aca8
cmove ecx, edx
push ecx
call fcn.00426060
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 0x423910
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call edi
test eax, eax
jne 0x423910
mov eax, dword [ebp - 0x24c]
lea ecx, [ebp - 0x24c]
push esi
call dword [eax + 4]
inc esi
test eax, eax
jne 0x4238e4
xor ebx, ebx
push 0
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x4238e0
test eax, eax
je 0x4239a6
lea eax, [ebp - 0x230]
push eax
mov eax, dword [ebp - 0x24c]
lea ecx, [ebp - 0x24c]
call dword [eax]
test eax, eax
jne 0x42395f
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0x22c]
cmp eax, 0x118
ja 0x42397a
je 0x423996
cmp eax, 0xf
je 0x423996
cmp eax, 0xa0
jmp 0x42397f
cmp eax, 0x200
je 0x423996
mov ecx, 1
xor eax, eax
test ecx, ecx
mov ebx, ecx
cmove eax, esi
mov esi, eax
jmp 0x4238e0
xor ecx, ecx
xor eax, eax
test ecx, ecx
cmove eax, esi
mov esi, eax
jmp 0x4238e0
mov esi, dword [ebp - 0x228]
mov ecx, 0x55ce34
call fcn.004234d0
lea ecx, [ebp - 0x210]
call fcn.0042a960
jmp 0x42374f