Function at 0x4460e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483f73
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x4a5080]
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
mov ebx, dword [0x4ac7f0]
push 0x4ac800
push 0x20
mov dword [ebp - 0xdc], ebx
call dword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x446133
push 3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov ecx, dword [0x4ac800]
lea edx, [ebp - 0xd0]
mov eax, dword [0x4ac89c]
xorps xmm0, xmm0
push 0x4ac87c
push edx
push 0x40
push ebx
mov dword [ebp - 0xd0], eax
mov eax, dword [0x4ac898]
push 1
movlpd qword [ebp - 0xc4], xmm0
movlpd qword [ebp - 0xa4], xmm0
mov dword [ebp - 0xb0], 1
mov dword [ebp - 0xb8], 1
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xc8], 0x15
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xac], 1
mov dword [ebp - 0xa8], 0x50
mov dword [ebp - 0x9c], 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x40]
test eax, eax
jns 0x4461de
mov eax, dword [0x4ac800]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push 0x78
lea eax, [ebp - 0x168]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [0x4ac6b0]
add esp, 0xc
mov dword [ebp - 0x130], 0x7f7fffff
mov eax, 0xffff
mov word [ebp - 0x120], ax
mov byte [ebp - 0x14c], 0
mov byte [ebp - 0x160], 0
mov dword [ebp - 0x154], 5
mov dword [ebp - 0x150], 5
mov dword [ebp - 0x124], 0x3f99999a
test ebx, ebx
je 0x446243
inc dword [ebx + 0xb4]
push 0x5c30
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea ecx, [ebp - 0xd1]
mov dword [ebp - 0xd8], eax
add esp, 4
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x446279
push 0
mov ecx, eax
call fcn.00404c70
jmp 0x44627b
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x4ac6b0], eax
call fcn.004080c0
test ebx, ebx
je 0x446298
mov dword [0x4ac6b0], ebx
jmp 0x44629e
mov ebx, dword [0x4ac6b0]
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0x14]
push ecx
push eax
mov ecx, str.C:WindowsFonts_tahoma.ttf
mov dword [ebp - 0x138], 0x497004
mov dword [ebp - 0x14], 0
call fcn.00406db0
add esp, 8
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x44637a
cmp byte [ebp - 0x11e], 0
lea esi, [ebp - 0x168]
mov ecx, 0x1e
lea edi, [ebp - 0x98]
rep movsd dword es:[edi], dword [esi]
jne 0x446332
mov eax, 0x496e0f
mov cl, byte [eax - 1]
cmp cl, 0x2f
je 0x44630b
cmp cl, 0x5c
je 0x44630b
dec eax
cmp eax, str.C:WindowsFonts_tahoma.ttf
ja 0x4462f6
movsd xmm0, qword [0x497150]
sub esp, 8
movsd qword [esp], xmm0
push eax
push str._s___.0fpx
lea eax, [ebp - 0x4e]
push 0x28
push eax
call fcn.00406b20
mov eax, dword [ebp - 0x1c]
add esp, 0x18
mov ecx, 0x1e
lea esi, [ebp - 0x98]
lea edi, [ebp - 0x1e0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1dc], eax
lea eax, [ebp - 0x1e0]
push eax
mov dword [ebp - 0x1d0], 0x41700000
mov dword [ebp - 0x1b0], 0x497004
call fcn.00428230
mov ecx, 0x1e
lea esi, [ebp - 0x168]
lea edi, [ebp - 0x1e0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x48]
lea eax, [ebp - 0x1e0]
push eax
mov dword [ebp - 0x1e0], 0x4a5308
mov dword [ebp - 0x1dc], 0x8d8
mov dword [ebp - 0x1d0], 0x41700000
mov dword [ebp - 0x1b0], 0x497004
call fcn.00428230
or dword [ebx + 8], 1
lea eax, [ebp - 0x20]
mov esi, dword [0x4ac6b0]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x4464da
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x4464da
mov eax, dword [0x4ac6b0]
test eax, eax
je 0x446401
inc dword [eax + 0xb4]
push 0x38
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x446421
push 0x38
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x446423
xor edi, edi
or dword [esi + 0xc], 6
mov edx, dword [ebp - 0xdc]
mov dword [esi + 0x78], edi
mov dword [esi + 0x70], str.imgui_impl_win32
xor esi, esi
mov dword [edi], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x10], eax
mov eax, dword [0x4ac6b0]
mov dword [edi + 0x14], ecx
mov dword [edi + 0x20], 9
mov dword [ebp - 0xf0], str.xinput1_4.dll
mov eax, dword [eax + 0x47c4]
mov dword [ebp - 0xec], str.xinput1_3.dll
mov dword [ebp - 0xe8], str.xinput9_1_0.dll
mov dword [ebp - 0xe4], str.xinput1_2.dll
mov eax, dword [eax]
mov dword [ebp - 0xe0], str.xinput1_1.dll
mov dword [eax + 0x24], edx
mov byte [edi + 0x25], 1
push dword [ebp + esi*4 - 0xf0]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x4464bb
inc esi
cmp esi, 5
jl 0x4464a0
jmp 0x4464da
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XInputGetCapabilities
push ebx
mov dword [edi + 0x28], ebx
call esi
push str.XInputGetState
push ebx
mov dword [edi + 0x2c], eax
call esi
mov dword [edi + 0x30], eax
mov esi, dword [0x4ac6b0]
mov edi, dword [0x4ac87c]
test esi, esi
je 0x4464f0
inc dword [esi + 0xb4]
push 0x18
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
test eax, eax
je 0x44652a
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0x1388
mov dword [eax + 0x14], 0x2710
jmp 0x44652c
xor eax, eax
or dword [esi + 0xc], 8
mov dword [esi + 0x7c], eax
mov dword [esi + 0x74], str.imgui_impl_dx9
mov dword [eax], edi
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [0x4ac800]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
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.00481c53
mov esp, ebp
pop ebp
ret