Function at 0x10054ec0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x1006b00c]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [0x10071724]
push esi
push edi
test eax, eax
je 0x10054ef0
mov eax, dword [eax + 0x74]
test eax, eax
je 0x10054ef0
mov byte [eax + 0x26], 1
xor edx, edx
push ecx
lea ecx, [edx + 0xa]
call fcn.1003fd10
mov edi, dword [0x1007156c]
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x10054f6f
mov ecx, dword fs:[0x2c]
mov eax, dword [0x10071798]
mov ecx, dword [ecx + edi*4]
cmp eax, dword [ecx + 4]
jle 0x10054f54
push 0x10071798
call fcn.10055fc7
add esp, 4
cmp dword [0x10071798], 0xffffffff
jne 0x10054f54
push str.user32.dll
call esi
push 0x10071798
mov dword [0x1007178c], eax
call fcn.10055f7d
add esp, 4
push str.SetThreadDpiAwarenessContext
push dword [0x1007178c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10054f6f
push 0xfffffffffffffffc
call eax
jmp 0x10054fea
mov edx, 3
push ecx
lea ecx, [edx + 3]
call fcn.1003fd10
add esp, 4
test eax, eax
je 0x10054fe4
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edi*4]
mov eax, dword [0x100717a0]
cmp eax, dword [ecx + 4]
jle 0x10054fc9
push 0x100717a0
call fcn.10055fc7
add esp, 4
cmp dword [0x100717a0], 0xffffffff
jne 0x10054fc9
push str.shcore.dll
call esi
push 0x100717a0
mov dword [0x10071790], eax
call fcn.10055f7d
add esp, 4
push str.SetProcessDpiAwareness
push dword [0x10071790]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10054fe4
push 2
call eax
jmp 0x10054fea
call dword [sym.imp.USER32.dll_SetProcessDPIAware]
push 0
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x20], 0x40
mov dword [esp + 0x24], 0x10054140
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp + 0x2c], eax
xorps xmm0, xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x40], str.Ninong_Hao
push eax
movups xmmword [esp + 0x34], xmm0
mov dword [esp + 0x48], 0
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [esp + 0x30]
push 0
push 0
push 0x32
push 0x32
push 0x64
push 0x64
push 0xcf0000
push str.JhayR_Alvarez
push dword [esp + 0x68]
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x10071734
mov esi, eax
mov dword [esp + 0x74], 2
lea eax, [esp + 0xc4]
mov dword [esp + 0x14], esi
push eax
push 0x10071738
push 0x1007172c
lea eax, [esp + 0x58]
mov dword [esp + 0x58], 0
push eax
push 7
push 2
lea eax, [esp + 0x138]
mov dword [esp + 0x68], 0
push eax
push 0
push 0
push 1
xorps xmm0, xmm0
mov dword [esp + 0x84], 0x1c
push 0
movlpd qword [esp + 0x8c], xmm0
mov dword [esp + 0x80], 0x3c
mov dword [esp + 0x84], 1
mov dword [esp + 0xb0], 2
mov dword [esp + 0x9c], 0x20
mov dword [esp + 0xa4], esi
mov dword [esp + 0x94], 1
mov dword [esp + 0x98], 0
mov dword [esp + 0xa8], 1
mov dword [esp + 0xac], 0
mov dword [esp + 0x14c], 0xb000
mov dword [esp + 0x150], 0xa000
call dword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x10055174
call fcn.100540d0
push dword [esp + 0x2c]
push dword [esp + 0x44]
call dword [sym.imp.USER32.dll_UnregisterClassA]
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
xor ecx, esp
call fcn.10055e44
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1007172c]
lea edx, [esp + 0x14]
push edx
push 0x10065d60
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov edx, dword [esp + 0x14]
test edx, edx
je 0x100551b0
mov eax, dword [0x10071738]
push 0x10071730
push 0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
sub esp, 0x14
call fcn.10015000
add esp, 0x14
call fcn.10007d30
call fcn.10007f20
mov edi, eax
mov dword [esp + 0xc0], edi
or dword [edi], 0x401
call fcn.10054310
call fcn.100057f0
test dword [edi], 0x400
je 0x10055207
mov dword [eax + 0x10], 0x40800000
mov dword [eax + 0xf4], 0x3f800000
push 2
push esi
call dword [sym.imp.USER32.dll_MonitorFromWindow]
xorps xmm0, xmm0
lea ecx, [esp + 0xe0]
push ecx
movaps xmmword [esp + 0xe4], xmm0
push eax
movaps xmmword [esp + 0xf8], xmm0
movq qword [esp + 0x108], xmm0
mov dword [esp + 0xe8], 0x28
call dword [sym.imp.USER32.dll_GetMonitorInfoA]
mov eax, dword [esp + 0xf0]
sub eax, dword [esp + 0xe8]
cmp eax, 0x438
jle 0x1005527e
lea ecx, [esp + 0x48]
call fcn.10036c30
mov dword [esp + 0x58], 0x41d00000
call fcn.10007f20
mov ecx, dword [eax + 0x38]
lea eax, [esp + 0x48]
push eax
call fcn.100371e0
call fcn.10007f20
mov ecx, esi
mov dword [eax + 0x18], 0
call fcn.1003da00
call fcn.1003d370
movss xmm3, dword [0x10067b78]
movss xmm2, dword [0x10067b74]
movss xmm1, dword [0x10067b68]
push ecx
lea ecx, [esp + 0x120]
mov dword [esp], 0x3f800000
call fcn.10001040
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
xor al, al
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov dword [esp + 0x14], eax
push 1
push 0
push 0
push 0
lea eax, [esp + 0xd4]
push eax
call esi
test eax, eax
je 0x10055342
nop word [eax + eax]
lea eax, [esp + 0xc4]
push eax
call edi
lea eax, [esp + 0xc4]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov eax, dword [esp + 0x14]
mov ecx, 1
cmp dword [esp + 0xc8], 0x12
push ecx
movzx eax, al
push 0
cmove eax, ecx
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0xd0]
push 0
push eax
call esi
test eax, eax
jne 0x100552f0
cmp byte [esp + 0x14], al
jne 0x1005541f
call fcn.1003d640
call fcn.1003e8a0
call fcn.100097f0
call fcn.10001860
call fcn.1000c1b0
call fcn.1000c7d0
movss xmm1, dword [esp + 0x128]
mov eax, dword [0x10071734]
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x11c]
push 0
push 0x10071730
movss dword [esp + 0x140], xmm1
movss dword [esp + 0x134], xmm0
movss xmm0, dword [esp + 0x128]
mulss xmm0, xmm1
push 1
push eax
movss dword [esp + 0x140], xmm0
movss xmm0, dword [esp + 0x134]
mulss xmm0, xmm1
movss dword [esp + 0x144], xmm0
mov ecx, dword [eax]
call dword [ecx + 0x84]
mov eax, dword [0x10071734]
lea edx, [esp + 0x12c]
push edx
push dword [0x10071730]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
call fcn.10007f50
mov ecx, eax
call fcn.1003c3d0
mov eax, dword [esp + 0xc0]
test dword [eax], 0x400
je 0x1005540b
call fcn.1001f160
call fcn.1001f630
mov eax, dword [0x1007172c]
push 0
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
jmp 0x100552d4
call fcn.1003d580
call fcn.1003dbc0
call fcn.10007dd0
call fcn.100540d0
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [esp + 0x2c]
push dword [esp + 0x44]
call dword [sym.imp.USER32.dll_UnregisterClassA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitThread]