Function at 0x1022b020
Capabilities:
Delete file
Read .ini file

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
sub esp, 0x1d0
mov eax, dword [0x1043f49c]
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
add ecx, 4
mov dword [ebp - 0x44], ecx
push 0
mov ecx, dword [ebp - 0x44]
call fcn.1024e1c0
mov edx, dword [eax]
mov dword [ebp - 8], edx
mov eax, dword [ebx + 0x1c]
or eax, 8
mov dword [ebx + 0x1c], eax
mov ecx, dword [ebp - 8]
add ecx, 0x40
call fcn.1003a670
movzx ecx, al
test ecx, ecx
jne 0x1022b400
mov dword [ebp - 0x10], 0
lea edx, [ebx + 8]
push edx
call fcn.102264b0
add esp, 4
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 8]
add eax, 0x40
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x140]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.10012cd0
mov edx, dword [eax]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 8]
add eax, 0x40
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x144]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.10012d10
mov edx, dword [eax]
mov dword [ebp - 0x58], edx
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x58]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.1024e460
add esp, 0x10
mov ecx, dword [ebp - 8]
add ecx, 0x40
mov dword [ebp - 0x5c], ecx
lea edx, [ebp - 0x148]
push edx
mov ecx, dword [ebp - 0x5c]
call fcn.10012cd0
push eax
lea ecx, [ebp - 0x20]
call fcn.10032f30
movzx eax, al
test eax, eax
je 0x1022b147
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 8]
add edx, 0x40
mov dword [ebp - 0x60], edx
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x60]
call fcn.10012d10
mov ecx, dword [eax]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x68]
push eax
call fcn.1024e4d0
add esp, 8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
add ecx, 0x40
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x6c]
call fcn.1024e1c0
cmp dword [eax], 0
je 0x1022b400
mov eax, dword [ebp - 8]
movss xmm0, dword [eax + 0x1c]
addss xmm0, dword [0x103353b0]
movss dword [ebp - 0x70], xmm0
call fcn.1002c410
mov ecx, eax
call fcn.10222f10
fstp dword [ebp - 0x74]
movss xmm0, dword [ebp - 0x70]
mulss xmm0, dword [ebp - 0x74]
movss dword [ebp - 0x88], xmm0
mov ecx, dword [ebp - 8]
movss xmm0, dword [ecx + 0x20]
addss xmm0, dword [0x103352f0]
movss dword [ebp - 0x84], xmm0
call fcn.1002c410
mov ecx, eax
call fcn.10222f10
fstp dword [ebp - 0x78]
movss xmm0, dword [ebp - 0x78]
mulss xmm0, dword [0x103353d0]
mov edx, dword [ebp - 8]
movss xmm1, dword [edx + 0x24]
subss xmm1, xmm0
movss dword [ebp - 0x80], xmm1
mov eax, dword [ebp - 8]
movss xmm0, dword [eax + 0x28]
subss xmm0, dword [0x1033533c]
movss dword [ebp - 0x7c], xmm0
push ecx
movss xmm0, dword [ebp - 0x7c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x80]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x84]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x88]
movss dword [esp], xmm0
lea ecx, [ebp - 0x40]
call fcn.100a9b70
lea ecx, [ebp - 0x150]
push ecx
call fcn.10226a90
add esp, 4
mov dword [ebp - 0x94], eax
push ecx
movss xmm0, dword [0x103352f4]
movss dword [esp], xmm0
call fcn.1002c410
mov ecx, eax
call fcn.10222f10
fstp dword [ebp - 0x8c]
movss xmm0, dword [ebp - 0x8c]
mulss xmm0, dword [0x103353b4]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x158]
call fcn.10027ec0
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
push edx
lea eax, [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x94]
call fcn.10213e30
lea ecx, [ebp - 0x128]
call fcn.10086d40
mov ecx, dword [ebp - 8]
add ecx, 0x40
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x98]
call fcn.1024e1c0
mov eax, dword [eax]
movzx ecx, byte [eax + 0x4f]
test ecx, ecx
jne 0x1022b3e2
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x108], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x100], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 8]
add eax, 0x40
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x9c]
call fcn.1024e1c0
mov edx, dword [eax]
mov dword [ebp - 0xa0], edx
lea eax, [ebp - 0x120]
push eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x108]
mov dword [ecx], edx
mov eax, dword [ebp - 0x104]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x100]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xfc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.10226de0
add esp, 0x18
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x118], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x110], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x10c], edx
mov eax, dword [ebp - 8]
add eax, 0x40
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0xa4]
call fcn.1024e1c0
mov edx, dword [eax]
mov dword [ebp - 0xa8], edx
lea eax, [ebp - 0x128]
push eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x118]
mov dword [ecx], edx
mov eax, dword [ebp - 0x114]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x110]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x10c]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xa8]
push ecx
call fcn.102274e0
add esp, 0x18
lea edx, [ebp - 0x120]
push edx
call fcn.10226a30
add esp, 4
lea eax, [ebp - 0x128]
push eax
call fcn.10226a60
add esp, 4
mov ecx, dword [ebx + 0x1c]
push ecx
mov edx, dword [ebx + 8]
push edx
call fcn.10227c70
add esp, 8
call fcn.10226980
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x3c], ecx
mov edx, dword [ebp - 4]
cvttss2si eax, dword [edx + 0x1c]
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 4]
cvttss2si edx, dword [ecx + 0x20]
add edx, 4
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
movss xmm0, dword [eax + 0x1c]
addss xmm0, dword [ecx + 0x24]
subss xmm0, dword [0x103352a8]
cvttss2si edx, xmm0
mov dword [ebp - 0x130], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
movss xmm0, dword [eax + 0x20]
addss xmm0, dword [ecx + 0x28]
subss xmm0, dword [0x1033524c]
cvttss2si edx, xmm0
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x18], str.Weapon_typerage
mov eax, dword [ebx + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx]
mov byte [ebp - 9], dl
mov eax, dword [ebp - 0x18]
cmp dl, byte [eax]
jne 0x1022b4ce
cmp byte [ebp - 9], 0
je 0x1022b4c5
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + 1]
mov byte [ebp - 0xa], dl
mov eax, dword [ebp - 0x18]
cmp dl, byte [eax + 1]
jne 0x1022b4ce
add dword [ebp - 0x14], 2
add dword [ebp - 0x18], 2
cmp byte [ebp - 0xa], 0
jne 0x1022b491
mov dword [ebp - 0x24], 0
jmp 0x1022b4d6
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0xac], edx
cmp dword [ebp - 0xac], 0
jne 0x1022b502
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
movss xmm0, dword [eax + 0x1c]
addss xmm0, dword [ecx + 0x24]
cvttss2si edx, xmm0
mov dword [ebp - 0x130], edx
mov ecx, 0x104648cc
call fcn.1000f510
mov ecx, eax
call fcn.10256900
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x12c]
mov dword [ebp - 0xb0], edx
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [ebp - 0xb0]
mov ecx, 0x104648cc
call fcn.1000f510
mov ecx, eax
call fcn.10256900
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov ecx, dword [eax + 0xe4]
mov dword [ebp - 0xb4], ecx
push 1
push 0xae
mov edx, dword [ebp - 0x2c]
push edx
call dword [ebp - 0xb4]
call fcn.1002c410
movzx eax, byte [eax + 2]
test eax, eax
je 0x1022b5e1
push 0x10326030
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
mov ecx, dword [ebp - 8]
add ecx, 0x40
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x30]
call fcn.1000f510
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x30]
call fcn.10014290
mov dword [ebp - 0xb8], eax
jmp 0x1022b5b6
mov edx, dword [ebp - 0x1c]
add edx, 4
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0xb8]
je 0x1022b5d8
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xbc]
mov byte [eax + 0x50], 0
jmp 0x1022b5ad
call fcn.1002c410
mov byte [eax + 2], 0
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x50]
test edx, edx
jne 0x1022b89b
mov eax, dword [ebp - 8]
add eax, 0x40
mov dword [ebp - 0xc4], eax
lea ecx, [ebx + 8]
push ecx
call fcn.102264b0
add esp, 4
mov dword [ebp - 0xc0], eax
lea edx, [ebp - 0xc0]
push edx
mov ecx, dword [ebp - 0xc4]
call fcn.1003acd0
cvttss2si eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x54], eax
cvttss2si edx, dword [ebx + 0x10]
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], edx
cvttss2si ecx, dword [ebx + 0x14]
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c], ecx
cvttss2si eax, dword [ebx + 0x18]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x60], eax
push 0x10325fd0
push 0x14
lea edx, [ebp - 0x1cc]
push edx
push 0x102da92b
push 0x1032608c
mov ecx, dword [ebp - 4]
call fcn.10013020
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x1022b810
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
push ecx
lea edx, [ebp - 0x170]
push edx
call fcn.10027210
add esp, 8
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
call fcn.10013020
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 4]
call fcn.10013020
mov dword [ebp - 0xd0], eax
push 0x10326520
mov eax, dword [ebp - 0xcc]
push eax
push str.posx
mov ecx, dword [ebp - 0xd0]
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x170]
call fcn.1000c760
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x58]
push eax
lea ecx, [ebp - 0x188]
push ecx
call fcn.10027210
add esp, 8
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
call fcn.10013020
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 4]
call fcn.10013020
mov dword [ebp - 0xdc], eax
push str.C:Program_Files__x86_Steam_steamappscommonCounter_Strike_Global_Offensiveluasmenu.ini
mov edx, dword [ebp - 0xd8]
push edx
push str.posy
mov eax, dword [ebp - 0xdc]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x188]
call fcn.1000c760
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5c]
push edx
lea eax, [ebp - 0x1a0]
push eax
call fcn.10027210
add esp, 8
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
call fcn.10013020
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 4]
call fcn.10013020
mov dword [ebp - 0xe8], eax
push 0x10326450
mov ecx, dword [ebp - 0xe4]
push ecx
push str.sizex
mov edx, dword [ebp - 0xe8]
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x1a0]
call fcn.1000c760
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x60]
push ecx
lea edx, [ebp - 0x1b8]
push edx
call fcn.10027210
add esp, 8
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
call fcn.10013020
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 4]
call fcn.10013020
mov dword [ebp - 0xf4], eax
push 0x103264b0
mov eax, dword [ebp - 0xf0]
push eax
push str.sizey
mov ecx, dword [ebp - 0xf4]
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x1b8]
call fcn.1000c760
jmp 0x1022b894
push 0x10326380
push 0
push 0x1032636c
mov ecx, dword [ebp - 4]
call fcn.10013020
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
push 0x103263f0
push 0
push 0x103263dc
mov ecx, dword [ebp - 4]
call fcn.10013020
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x58], eax
push 0x103262a8
push 0
push 0x1032629c
mov ecx, dword [ebp - 4]
call fcn.10013020
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c], eax
push 0x10326310
push 0
push 0x10326304
mov ecx, dword [ebp - 4]
call fcn.10013020
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x60], eax
mov edx, dword [ebp - 4]
mov byte [edx + 0x50], 1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret