Function at 0x411ce0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4efed0
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x10c0
call fcn.004ebe60
mov eax, dword [0x515040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x5248d0]
mov edx, 0x5248d4
mov esi, dword [ebx + 8]
call fcn.00419670
test al, al
je 0x412072
push str.sbtf_pub.log
lea eax, [ebp - 0x118]
mov ecx, 0x5248e0
push eax
mov eax, dword [0x5248e0]
mov eax, dword [eax + 4]
call eax
push 0x502bcc
push eax
push 0x5895ec
mov byte [0x5895e4], 0
mov dword [0x5895e8], 0
call fcn.004d5312
add esp, 0xc
test eax, eax
jne 0x412072
push eax
push 4
push eax
push dword [0x5895ec]
call fcn.004d551d
mov eax, dword [0x5248cc]
add esp, 0x10
mov ecx, 0x5248cc
mov byte [ebp - 0x218], 0
mov eax, dword [eax]
call eax
push eax
lea eax, [ebp - 0x218]
push str.SPACE_BEAST_TERROR_FRIGHT___X___c_2015_2024_nornware_AB
push eax
call fcn.00412370
add esp, 0xc
push eax
push str.WinMain
push str._s__:__s
push 0x5795c0
call fcn.004125a0
add esp, 0x10
push 1
push ecx
mov ecx, 0x589e00
call fcn.004aa400
test al, al
je 0x411f15
mov ecx, 0x589e00
call fcn.004aa500
push 0
lea eax, [ebp - 0x102c]
mov dword [ebp - 0x101c], 0
push eax
lea eax, [ebp - 0x101c]
mov dword [ebp - 0x102c], 1
push eax
mov dword [ebp - 0x1028], 0
mov dword [ebp - 0x1024], 0
mov dword [ebp - 0x1020], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
lea eax, [ebp - 0x1070]
mov dword [ebp - 0x1070], 3
xorps xmm0, xmm0
mov dword [ebp - 0x106c], 0x41a5a0
push eax
mov dword [ebp - 0x1068], 0
mov dword [ebp - 0x1064], 0
mov dword [ebp - 0x1060], esi
movups xmmword [ebp - 0x105c], xmm0
mov dword [ebp - 0x104c], str.w32_gdi_splash
call dword [sym.imp.USER32.dll_RegisterClassA]
mov ecx, dword [0x589e08]
push 0
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
movzx eax, word [ecx + 0xe]
push 0
push 0
push eax
movzx eax, word [ecx + 0xc]
push eax
push 1
call esi
mov ecx, dword [0x589e08]
movzx ecx, word [ecx + 0xe]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
push eax
push 0
call esi
mov ecx, dword [0x589e08]
movzx ecx, word [ecx + 0xc]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
push eax
push closesocket
push 0
push str.w32_gdi_splash
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push dword [ebx + 0x14]
mov dword [0x5895f8], eax
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x5895f8]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [ebp - 0x101c]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
lea eax, [ebp - 0x218]
mov byte [ebp - 0x218], 0
push str.initializing_DirectX...
push eax
call fcn.00412370
push eax
push str.WinMain
push str._s__:__s
push 0x5795c0
call fcn.004125a0
movzx eax, byte [0x554f94]
lea ecx, [ebp - 0x1034]
add esp, 0x18
mov dword [ebp - 0x1034], 2
xorps xmm0, xmm0
mov dword [ebp - 0x1030], str.S_P_A_C_E____B_E_A_S_T____T_E_R_R_O_R____F_R_I_G_H_T_____c_2015_2024_nornware_AB
and eax, 1
movlpd qword [ebp - 0x1028], xmm0
mov dword [ebp - 0x102c], eax
mov dword [ebp - vtable.pbtf::vc_app_core_t.0], 0x5248f0
call fcn.00416650
test eax, eax
js 0x412072
push dword [0x589e04]
call fcn.004cf4f6
add esp, 4
push dword [0x5895f8]
call dword [sym.imp.USER32.dll_DestroyWindow]
lea eax, [ebp - 0x218]
mov byte [ebp - 0x218], 0
push str.initializing_application...
push eax
call fcn.00412370
push eax
push str.WinMain
push str._s__:__s
push 0x5795c0
call fcn.004125a0
add esp, 0x18
mov edx, 2
mov ecx, 0x5248cc
call fcn.00419440
mov ecx, eax
mov dword [ebp - 0x102c], 0x502bdc
xor eax, eax
xorps xmm0, xmm0
movq qword [ebp - 0x1048], xmm0
mov dword [ebp - 0x1040], eax
test ecx, ecx
je 0x412032
mov dword [ebp - 0x1048], ecx
lea ecx, [ebp - 0x1048]
mov dword [ebp - 0x1044], edx
call fcn.00412b10
mov eax, dword [ebp - 0x1040]
movq xmm0, qword [ebp - 0x1048]
movq qword [ebp - 0x1028], xmm0
mov dword [ebp - 0x1020], eax
call dword [sym.imp.steam_api.dll_SteamAPI_Init]
mov edx, 0x52e528
lea ecx, [ebp - 0x102c]
call fcn.0043a7e0
test al, al
jne 0x412095
push dword [ebp - 0x1028]
mov dword [ebp - 0x102c], 0x502bdc
call fcn.004cf4f6
add esp, 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004cf01b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
lea ecx, [ebp - 0x488]
call fcn.004b53d0
lea ecx, [ebp - 0x488]
call fcn.004b58c0
mov esi, eax
lea edx, [ebp - 0x101c]
lea eax, [ebp - 0x488]
mov dword [ebp - 0x101c], esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x30]
call fcn.004b4820
mov ecx, esi
lea edx, [ebp - 0x101c]
shr ecx, 3
mov eax, esi
and ecx, 0x200000
and eax, 0x800000
or ecx, eax
add esp, 0xc
shr ecx, 8
mov eax, esi
and eax, 0x4000
and esi, 3
or ecx, eax
shr ecx, 0xb
or ecx, esi
mov dword [ebp - 0x101c], ecx
lea ecx, [ebp - 0x488]
push 0x52e528
push 1
call fcn.00435d30
add esp, 8
test al, al
je 0x41205a
mov edx, 0x554f58
lea ecx, [ebp - 0x488]
call fcn.00436eb0
call fcn.004aaa50
push dword [ebp - 0x1028]
mov dword [ebp - 0x102c], 0x502bdc
call fcn.004cf4f6
mov edx, dword [0x576fc0]
add esp, 4
test edx, 0x300
jne 0x41223c
or edx, 0x200
mov dword [0x576fc0], edx
test dl, 0x20
je 0x412283
call fcn.00412ce0
and edx, 0x2a
mov esi, eax
cmp dl, 0x2a
jne 0x412218
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
lea eax, [ebp - 0x1038]
push 0
push 0
push 0
push 0
push eax
mov dword [ebp - 0x1034], 0
call edi
cmp dword [ebp - 0x1034], 0x12
je 0x41220c
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x1038]
push eax
call edi
test eax, eax
je 0x4121fe
test esi, esi
je 0x4121e2
lea eax, [ebp - 0x1038]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x412203
lea eax, [ebp - 0x1038]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1038]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x412203
call fcn.00415e40
cmp dword [ebp - 0x1034], 0x12
jne 0x4121b5
and dword [0x576fc0], 0xfffffdff
jmp 0x412283
mov eax, dword [0x576fbc]
test eax, eax
je 0x412226
cmp eax, 0xb
jne 0x412230
mov dword [0x576fbc], 1
mov ecx, 0x80004005
call fcn.004174e0
jmp 0x412283
mov eax, dword [0x576fbc]
test eax, eax
je 0x41224a
cmp eax, 0xb
jne 0x412254
mov dword [0x576fbc], 1
push 0x80004005
lea eax, [ebp - 0x1018]
push str.HR:__d
push eax
call fcn.00417540
add esp, 0xc
lea eax, [ebp - 0x1018]
push 0
push str.error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 0x530204
call fcn.0042b2d0
mov ecx, 0x52e528
call fcn.00444520
mov eax, dword [0x530bc0]
mov ecx, 0x530bc0
call dword [eax + 0xc]
push 0x60
lea eax, [ebp - 0x10d0]
push 0
push eax
call fcn.004d0d20
movups xmm0, xmmword [ebp - 0x10d0]
mov esi, dword [0x573ab0]
add esp, 0xc
movups xmmword [0x530b60], xmm0
movups xmm0, xmmword [ebp - 0x10c0]
movups xmmword [0x530b70], xmm0
movups xmm0, xmmword [ebp - 0x10b0]
movups xmmword [0x530b80], xmm0
movups xmm0, xmmword [ebp - 0x10a0]
movups xmmword [0x530b90], xmm0
movups xmm0, xmmword [ebp - 0x1090]
movups xmmword [0x530ba0], xmm0
movups xmm0, xmmword [ebp - 0x1080]
movups xmmword [0x530bb0], xmm0
test esi, esi
je 0x412340
mov dword [ebp - 4], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x412329
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi]
test ecx, ecx
je 0x412335
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x28
push esi
call fcn.004cf029
add esp, 8
mov dword [0x573aac], 0
mov dword [0x573ab0], 0
call dword [sym.imp.steam_api.dll_SteamAPI_Shutdown]
mov eax, dword [0x576fbc]
jmp 0x412075