Function at 0x4347a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536276
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x5917ec]
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 - 0x1d8], 0x550bcc
movups xmmword [ebp - 0x1d4], xmm0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0
mov edi, dword [0x595470]
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 [0x59954c]
mov ebx, eax
push 4
mov ecx, dword [esi + 8]
inc ecx
push ecx
push dword [esi]
call fcn.004dc35c
add esp, 0xc
test eax, eax
je 0x43486f
mov dword [esi], eax
mov eax, dword [esi + 8]
push 4
inc eax
push eax
push dword [esi + 4]
call fcn.004dc35c
add esp, 0xc
test eax, eax
je 0x43486f
mov ecx, dword [esi + 8]
mov dword [esi + 4], eax
lea edx, [ecx*4]
mov ecx, dword [esi]
add ecx, edx
je 0x434860
mov dword [ecx], ebx
mov eax, dword [esi + 4]
add eax, edx
je 0x43486c
lea ecx, [ebp - 0x1d8]
mov dword [eax], ecx
inc dword [esi + 8]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call esi
lea ecx, [ebp - 0x1a0]
call fcn.0043df10
mov byte [ebp - 4], 1
call fcn.00431de0
cmp dword [eax + 0x30], 0
jne 0x43489e
call fcn.00431de0
mov dword [eax + 0x30], 0
call fcn.00431de0
push dword [ebp - 0x1dc]
lea ecx, [ebp - 0x180]
push ecx
push eax
push 0x58f01c
push 0x59beec
call fcn.004171c0
movzx edi, ax
add esp, 0x14
mov eax, dword [ebp - 0x18c]
test eax, eax
jne 0x43495a
call fcn.0046fd62
mov dword [ebp - 0x18c], eax
test eax, eax
jne 0x43495a
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
lea ecx, [ebp - 0x1a0]
call fcn.0043e270
mov eax, dword [ebp - 0x1c8]
test eax, eax
je 0x434915
push eax
call fcn.004dc357
add esp, 4
mov dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0
test eax, eax
je 0x43493c
push eax
call fcn.004dc357
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.0049b8b8
mov esp, ebp
pop ebp
ret
push 0
push 0
push eax
call fcn.0046fe64
test di, di
je 0x4348eb
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x198], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x58f020
mov dword [ebp - 0x194], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x58f038]
mov dword [ebp - 0x190], eax
lea eax, [ebp - 0x198]
push 0x58f020
mov dword [0x58f038], eax
call esi
mov ecx, dword [0x58f04c]
mov eax, dword [0x58f054]
mov edx, dword [0x58f048]
sub eax, ecx
push 0
push dword [0x59bef0]
push 0
push 0
push eax
mov eax, dword [0x58f050]
sub eax, edx
push eax
push ecx
push edx
push SysReAllocString
push 0
push edi
push 0x80000
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
je 0x4348eb
call fcn.00431ba0
mov ecx, eax
call fcn.004276d0
test eax, eax
jne 0x434a47
push dword [ebp + 0xc]
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.00431ba0
mov ecx, eax
call fcn.004276d0
test eax, eax
mov edx, str.Create_Main_Wnd_and_show
mov ecx, 0x550cb4
cmove ecx, edx
push ecx
call fcn.0043d8f0
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
add esp, 4
mov ebx, 1
xor esi, esi
test ebx, ebx
je 0x434aac
nop dword [eax]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1bc]
push eax
call edi
test eax, eax
jne 0x434aac
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x1d8]
push esi
call dword [eax + 4]
inc esi
test eax, eax
jne 0x434a80
xor ebx, ebx
push 0
push 0
push 0
lea eax, [ebp - 0x1bc]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x434a78
test eax, eax
je 0x434b42
lea eax, [ebp - 0x1bc]
push eax
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x1d8]
call dword [eax]
test eax, eax
jne 0x434afb
lea eax, [ebp - 0x1bc]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1bc]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0x1b8]
cmp eax, 0x118
ja 0x434b16
je 0x434b32
cmp eax, 0xf
je 0x434b32
cmp eax, 0xa0
jmp 0x434b1b
cmp eax, 0x200
je 0x434b32
mov ecx, 1
xor eax, eax
test ecx, ecx
mov ebx, ecx
cmove eax, esi
mov esi, eax
jmp 0x434a78
xor ecx, ecx
xor eax, eax
test ecx, ecx
cmove eax, esi
mov esi, eax
jmp 0x434a78
mov esi, dword [ebp - 0x1b4]
mov ecx, 0x599518
call fcn.00434670
jmp 0x4348ed