Function at 0x404150
Capabilities:
Check if file exists
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4115c0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x41b018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], edx
push 0
push ecx
push 0
push 0
push 0x282
push 0x3e8
push 0
push 0
push 0xcf0000
push 0x41901c
push 0x41d268
push 0
mov dword [0x41d3f8], ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
mov dword [ebp - 0x30], esi
test esi, esi
je 0x404374
push 0xfffffffffffffff0
push esi
mov dword [0x41d3fc], esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
xor eax, 0x50000
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov edi, eax
call esi
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
sub edi, ecx
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov eax, edi
mov edi, dword [ebp - 0x38]
sub esi, edi
cdq
sub eax, edx
mov dword [ebp - 0x34], ecx
mov ecx, eax
mov eax, esi
mov esi, dword [ebp - 0x30]
push 5
push edi
push dword [ebp - 0x34]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
push eax
push ecx
push 0
push esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebp - 0x3c]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.004046f0
mov esi, dword [ebp - 0x1c]
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
push eax
movq qword [ebp - 0x28], xmm0
call fcn.00404520
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x28]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.node.dll
push esi
call edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x404304
push str....._
push dword [ebp - 0x1c]
call edi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x28]
call fcn.004045f0
mov esi, dword [ebp - 0x28]
push str.node.dll
push esi
call edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x404304
xor edi, edi
jmp 0x404355
mov dword [str.node.dll], esi
call fcn.00401060
push 0x16
xorps xmm0, xmm0
mov dword [0x41c204], 0
push ecx
mov ecx, 0x41c1f0
movq qword [0x41c1fc], xmm0
movdqu xmmword [0x41c1ec], xmm0
call fcn.00404940
call fcn.00404020
test al, al
jne 0x40434a
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
call dword [0x41d91c]
mov edi, 1
test esi, esi
je 0x404362
push esi
call fcn.004054c8
add esp, 4
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x404372
push ecx
call fcn.004054c8
add esp, 4
mov eax, edi
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.004054b9
mov esp, ebp
pop ebp
ret