Function at 0x43b790
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac4f7
mov eax, dword fs:[0]
push eax
sub esp, 0x494
mov eax, dword [0x4d9164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.user_process::init_window_
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x470], 0
call fcn.00401cc0
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4b3390]
mov ecx, edi
call esi
mov esi, eax
mov dword [ebp - 0x4a0], 0
push 0xb
xor eax, eax
mov dword [ebp - 0x490], 0
push 0x4c754c
lea ecx, [ebp - 0x4a0]
mov dword [ebp - 0x48c], 7
mov word [ebp - 0x4a0], ax
call fcn.00437950
mov ecx, esi
mov byte [ebp - 4], 1
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b835
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x4a0]
call fcn.0041e6b0
mov dword [ebp - 0x28], 0
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x470], 4
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x48c]
cmp edx, 8
jb 0x43b8d8
mov ecx, dword [ebp - 0x4a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43b8ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43bc1f
push edx
push ecx
call fcn.00481131
add esp, 8
xor eax, eax
mov dword [ebp - 0x490], 0
push eax
mov dword [ebp - 0x48c], 7
mov word [ebp - 0x4a0], ax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x484], eax
xorps xmm0, xmm0
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 0x458], eax
lea eax, [ebp - 0x46c]
push eax
mov dword [ebp - 0x46c], 0x30
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 0
movups xmmword [ebp - 0x454], xmm0
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x444], ecx
mov dword [ebp - 0x464], 0x43bc30
mov dword [ebp - 0x468], 3
call dword [sym.imp.USER32.dll_RegisterClassExW]
xor ecx, ecx
cmp cx, ax
jne 0x43baab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4de0c4]
mov esi, eax
add ecx, dword [0x4de0c8]
je 0x43ba04
mov dword [ebp - 0x474], 0
call fcn.0041e030
mov dword [ebp - 0x478], eax
lock inc dword [ebp - 0x474]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x478], 0
mov dword [ebp - 0x470], 5
jne 0x43b9d2
call fcn.0041e030
mov dword [ebp - 0x478], eax
lock inc dword [ebp - 0x474]
mov eax, dword [ebp - 0x478]
lea ecx, [ebp - 0x484]
push esi
push str.RegisterClassEx_Error__u
push str.user_process::init_window_
push 0x400000
push ecx
push 0
push eax
mov dword [ebp - 0x484], 4
call fcn.00401c70
add esp, 0x1c
mov eax, dword [ebp - 0x470]
test al, 1
je 0x43ba49
and eax, 0xfffffffe
mov dword [ebp - 0x470], eax
or eax, 0xffffffff
mov dword [ebp - 0x478], 0
lock xadd dword [ebp - 0x474], eax
js 0x43ba42
nop
call fcn.004271d0
or eax, 0xffffffff
lock xadd dword [ebp - 0x474], eax
jns 0x43ba30
lock inc dword [ebp - 0x474]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x43ba83
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43ba79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43bc1a
push edx
push ecx
call fcn.00481131
add esp, 8
lea ecx, [ebp - 0x43c]
call fcn.00401dd0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004810ea
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
push 0
push dword [ebp - 0x484]
cmovae esi, dword [ebp - 0x28]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
push 0
push 0
push 0x12c
push 0x190
push 0
push 0x80000000
push 0xcf0000
push esi
push edx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x24], eax
test eax, eax
jne 0x43bbce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x4de0c4]
add eax, dword [0x4de0c8]
je 0x43bb80
mov dword [ebp - 0x47c], 0
call fcn.0041e030
mov dword [ebp - 0x480], eax
lock inc dword [ebp - 0x47c]
mov byte [ebp - 4], 5
cmp dword [ebp - 0x480], 0
mov dword [ebp - 0x470], 6
jne 0x43bb4e
call fcn.0041e030
mov dword [ebp - 0x480], eax
lock inc dword [ebp - 0x47c]
mov eax, dword [ebp - 0x480]
lea ecx, [ebp - 0x488]
push esi
push str.CreateWindow_Error__u
push str.user_process::init_window_
push 0x400000
push ecx
push 0
push eax
mov dword [ebp - 0x488], 4
call fcn.00401c70
add esp, 0x1c
mov eax, dword [ebp - 0x470]
test al, 2
je 0x43ba49
and eax, 0xfffffffd
mov dword [ebp - 0x470], eax
or eax, 0xffffffff
mov dword [ebp - 0x480], 0
lock xadd dword [ebp - 0x47c], eax
js 0x43bbc2
nop
call fcn.004271d0
or eax, 0xffffffff
lock xadd dword [ebp - 0x47c], eax
jns 0x43bbb0
lock inc dword [ebp - 0x47c]
jmp 0x43ba49
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [ebp - 0x14]
xor esi, esi
cmp edx, 8
jb 0x43ba83
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43ba79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43ba79
call fcn.004861f9
call fcn.004861f9
int3