Function at 0x43adf0
Capabilities:
Terminate process

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
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43cbd3
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x14
push esi
push 0x462010
push 0x20
call dword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x43ae39
push 3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov ecx, dword [0x462010]
xorps xmm0, xmm0
mov edx, dword [0x46200c]
mov eax, dword [0x46bd30]
push 0x462018
push 0
push 0x462020
push 0x40
push edx
mov dword [0x462020], eax
mov eax, dword [0x46bd38]
push 1
movlpd qword [0x46202c], xmm0
movlpd qword [0x46204c], xmm0
mov dword [0x462040], 1
mov dword [0x462038], 1
mov dword [0x46203c], edx
mov dword [0x462034], 0
mov dword [0x462028], 0x15
mov dword [0x462024], eax
mov dword [0x462044], 1
mov dword [0x462048], 0x50
mov dword [0x462054], 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x50]
test eax, eax
jns 0x43aee8
mov eax, dword [0x462010]
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]
mov esi, dword [0x461fe8]
test esi, esi
je 0x43aef8
inc dword [esi + 0xac]
push 0x5c70
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x11]
add esp, 4
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x43af28
push 0
mov ecx, eax
call fcn.004019c0
jmp 0x43af2a
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x461fe8], eax
call fcn.0041cf30
mov eax, dword [0x461fe8]
test esi, esi
mov ecx, dword [0x46200c]
cmovne eax, esi
mov dword [0x461fe8], eax
call fcn.004331b0
mov esi, dword [0x461fe8]
mov eax, dword [0x462018]
mov dword [ebp - 0x18], eax
test esi, esi
je 0x43af6d
inc dword [esi + 0xac]
push 0x18
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
je 0x43af9a
xorps xmm0, xmm0
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm0
mov dword [eax + 0x10], 0x1388
mov dword [eax + 0x14], 0x2710
jmp 0x43af9c
xor eax, eax
mov ecx, dword [ebp - 0x18]
or dword [esi + 0xc], 8
mov dword [esi + 0x74], eax
mov dword [esi + 0x6c], str.imgui_impl_dx9
mov dword [eax], ecx
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov eax, dword [0x461fe8]
movaps xmm0, xmmword [0x457ad0]
mov dword [eax + 0x20], 0
mov dword [eax + 0x3790], 0x40e00000
mov dword [eax + 0x37ac], 0x40a00000
movups xmmword [eax + 0x387c], xmm0
movaps xmm0, xmmword [0x457b00]
movups xmmword [eax + 0x388c], xmm0
movaps xmm0, xmmword [0x457bc0]
movups xmmword [eax + 0x38cc], xmm0
movaps xmm0, xmmword [0x457b90]
movups xmmword [eax + 0x38ec], xmm0
movaps xmm0, xmmword [0x457ad0]
movups xmmword [eax + 0x38ac], xmm0
movaps xmm0, xmmword [0x457b00]
movups xmmword [eax + 0x397c], xmm0
movaps xmm0, xmmword [0x457b00]
movups xmmword [eax + 0x398c], xmm0
movaps xmm0, xmmword [0x457b00]
movups xmmword [eax + 0x399c], xmm0
movaps xmm0, xmmword [0x457b60]
movups xmmword [eax + 0x3a3c], xmm0
movaps xmm0, xmmword [0x457af0]
movups xmmword [eax + 0x39dc], xmm0
movaps xmm0, xmmword [0x457ae0]
movups xmmword [eax + 0x39ec], xmm0
xorps xmm0, xmm0
mulps xmm0, xmmword [0x457980]
movups xmmword [eax + 0x39fc], xmm0
movaps xmm0, xmmword [0x457ad0]
movups xmmword [eax + 0x38fc], xmm0
movaps xmm0, xmmword [0x457ad0]
movups xmmword [eax + 0x390c], xmm0
movaps xmm0, xmmword [0x457bc0]
movups xmmword [eax + 0x38dc], xmm0
movaps xmm0, xmmword [0x457af0]
movups xmmword [eax + 0x393c], xmm0
movaps xmm0, xmmword [0x4579c0]
movups xmmword [eax + 0x394c], xmm0
movaps xmm0, xmmword [0x457c40]
movups xmmword [eax + 0x395c], xmm0
movaps xmm0, xmmword [0x457b50]
movups xmmword [eax + 0x396c], xmm0
movaps xmm0, xmmword [0x457b40]
movups xmmword [eax + 0x389c], xmm0
movaps xmm0, xmmword [0x457b70]
movups xmmword [eax + 0x39ac], xmm0
movaps xmm0, xmmword [0x457b70]
movups xmmword [eax + 0x39bc], xmm0
movaps xmm0, xmmword [0x457b70]
movups xmmword [eax + 0x39cc], xmm0
movaps xmm0, xmmword [0x457ca0]
movups xmmword [eax + 0x385c], xmm0
mov eax, dword [0x462010]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret