Function at 0x10020db0
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
push 0xffffffffffffffff
push 0x1012be51
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x15e8
call fcn.10128d40
mov eax, dword [0x1016c008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x101e0c3c], 0
mov esi, dword [ebx + 8]
jne 0x10021278
mov eax, dword [0x101e0c0c]
test eax, eax
je 0x10020e14
inc dword [eax + 0x36c]
push dword [0x101e0c08]
push 0x3a78
call fcn.10062c40
mov dword [ebp - 0x1514], eax
lea ecx, [ebp - 0x1515]
add esp, 8
mov dword [ebp - 0x1530], ecx
mov dword [ebp - 0x1534], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x10020e56
push ecx
mov ecx, eax
call fcn.10061d50
mov ecx, eax
jmp 0x10020e58
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x101e0c0c]
test eax, eax
cmove eax, ecx
mov dword [0x101e0c0c], eax
call fcn.10067940
mov eax, dword [0x101e0c0c]
test eax, eax
je 0x10021298
add eax, 8
lea ecx, [ebp - 0x1510]
push eax
call fcn.100212b0
mov dword [ebp - 4], 1
mov eax, dword [0x101e0c0c]
test eax, eax
je 0x10021298
movaps xmm0, xmmword [0x10163160]
mov dword [eax + 0x150c], 0
mov word [eax + 0x15a0], 0x101
mov dword [eax + 0x1568], 0
mov dword [eax + 0x1564], 0x40c00000
mov dword [eax + 0x1504], 0
mov dword [eax + 0x1508], 0
movups xmmword [eax + 0x1688], xmm0
push 0x38
movaps xmm0, xmmword [0x10163170]
movups xmmword [eax + 0x1698], xmm0
lea eax, [ebp - 0x15f8]
mov byte [0x101e0c3d], 1
push 0
push eax
mov dword [ebp - 0x151c], 0
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi]
lea ecx, [ebp - 0x1544]
add esp, 0xc
xorps xmm0, xmm0
movups xmmword [ebp - 0x1544], xmm0
push ecx
push esi
call dword [eax + 0x24]
mov eax, dword [esi]
lea ecx, [ebp - 0x151c]
push ecx
push 0
push esi
call dword [eax + 0x38]
mov ecx, dword [ebp - 0x151c]
test ecx, ecx
je 0x10020f5b
mov eax, dword [ecx]
lea edx, [ebp - 0x15f8]
push edx
push ecx
call dword [eax + 0x24]
mov edi, dword [ebp - 0x153c]
push 0x1021e2c0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x10021049
push 0x1021e2b8
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x10021049
mov eax, dword [0x101e0c0c]
mov dword [0x1021e2b4], edi
test eax, eax
je 0x10021298
or dword [eax + 0xc], 6
mov dword [eax + 0xb4], str.imgui_impl_win32
mov dword [eax + 0xd8], edi
mov dword [eax + 0x34], 9
mov dword [eax + 0x38], 0x25
mov dword [eax + 0x3c], 0x27
mov dword [eax + 0x40], 0x26
mov dword [eax + 0x44], 0x28
mov dword [eax + 0x48], 0x21
mov dword [eax + 0x4c], 0x22
mov dword [eax + 0x50], 0x24
mov dword [eax + 0x54], 0x23
mov dword [eax + 0x58], 0x2d
mov dword [eax + 0x5c], 0x2e
mov dword [eax + 0x60], 8
mov dword [eax + 0x64], 0x20
mov dword [eax + 0x68], 0xd
mov dword [eax + 0x6c], 0x1b
mov dword [eax + 0x70], 0x41
mov dword [eax + 0x74], 0x43
mov dword [eax + 0x78], 0x56
mov dword [eax + 0x7c], 0x58
mov dword [eax + 0x80], 0x59
mov dword [eax + 0x84], 0x5a
jmp 0x1002104e
mov eax, dword [0x101e0c0c]
test eax, eax
je 0x10021298
push 0x101e0c40
push 0
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
mov dword [eax + 0xb8], str.imgui_impl_dx9
push dword [ebp - 0x15f0]
mov dword [0x1021e2a8], esi
push 0
push 0xffffffffffffffff
push 0x1000
push 0x1000
push 0x3c00f
push 0x101770e0
push esi
call dword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileInMemoryEx]
lea ecx, [ebp - 0x15c0]
call fcn.1007df80
mov esi, dword [ebp - 0x1484]
mov eax, ecx
push 0
push eax
push 0x1015ecf8
mov ecx, esi
call fcn.1007e330
push 0x10160f84
lea eax, [ebp - 0x15c0]
mov ecx, esi
push eax
push str.C:_windows_fonts_tahomabd.ttf
call fcn.1007e330
movss xmm3, dword [0x10162838]
lea eax, [ebp - 0x15c0]
push 0x10160f84
push eax
push 0x6400
push 0x1016c0d8
mov ecx, esi
call fcn.1007e460
movss xmm3, dword [0x101628a8]
lea eax, [ebp - 0x15c0]
push 0x10160f84
push eax
push 0x4b30
push 0x101724d8
mov ecx, esi
call fcn.1007e460
movss xmm3, dword [0x101628e0]
mov ecx, esi
push 0x10160f84
mov dword [0x101e0bf8], eax
lea eax, [ebp - 0x15c0]
push eax
push 0x4b30
push 0x101724d8
call fcn.1007e460
movss xmm3, dword [0x101628e8]
mov ecx, esi
push 0x10160f84
mov dword [0x101e0bf4], eax
lea eax, [ebp - 0x15c0]
push eax
push 0x4b30
push 0x101724d8
call fcn.1007e460
movss xmm3, dword [0x101628d4]
mov ecx, esi
push 0x10160f84
mov dword [0x101e0bfc], eax
lea eax, [ebp - 0x15c0]
push eax
push 0x4b30
push 0x101724d8
call fcn.1007e460
mov dword [0x101e0c04], eax
lea eax, [ebp - 0x15c0]
push 0x10160f84
push eax
push 0x4b30
movss xmm3, dword [0x101628ac]
mov ecx, esi
push 0x101724d8
call fcn.1007e460
push ecx
mov ecx, esi
mov dword [0x101e0c00], eax
call fcn.1007e250
lea eax, [ebp - 0x1514]
mov dword [ebp - 0x152c], 0
push eax
lea eax, [ebp - 0x152c]
mov dword [ebp - 0x1528], 0x10083de0
push eax
mov dword [ebp - 0x1524], 0x10083e00
mov dword [ebp - 0x1520], 0x10083e20
call fcn.100d4930
add esp, 8
test eax, eax
jne 0x10021245
push dword [ebp - 0x1514]
call fcn.100d2790
mov ecx, dword [ebp - 0x1514]
add esp, 4
mov edx, esi
push 0
call fcn.10082780
add esp, 4
push dword [ebp - 0x1514]
call fcn.100d2ff0
add esp, 4
mov byte [0x101e0c3c], 1
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x10021278
mov eax, dword [0x101e0c0c]
test eax, eax
je 0x10021269
dec dword [eax + 0x36c]
push dword [0x101e0c08]
push ecx
call fcn.10062c60
add esp, 8
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.1012838d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3