Function at 0x1022a810
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, 0x1c0
mov eax, dword [0x1043f49c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
add ecx, 4
mov dword [ebp - 0xe4], ecx
push 0
mov ecx, dword [ebp - 0xe4]
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 0x1022abee
mov dword [ebp - 0xc], 0
lea edx, [ebx + 8]
push edx
call fcn.102264b0
add esp, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
add eax, 0x40
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x130]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.10012cd0
mov edx, dword [eax]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 8]
add eax, 0x40
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x134]
push ecx
mov ecx, dword [ebp - 0x3c]
call fcn.10012d10
mov edx, dword [eax]
mov dword [ebp - 0x48], edx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x48]
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.1024e460
add esp, 0x10
mov ecx, dword [ebp - 8]
add ecx, 0x40
mov dword [ebp - 0x4c], ecx
lea edx, [ebp - 0x138]
push edx
mov ecx, dword [ebp - 0x4c]
call fcn.10012cd0
push eax
lea ecx, [ebp - 0x18]
call fcn.10032f30
movzx eax, al
test eax, eax
je 0x1022a937
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 8]
add edx, 0x40
mov dword [ebp - 0x50], edx
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.10012d10
mov ecx, dword [eax]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x58]
push eax
call fcn.1024e4d0
add esp, 8
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
add ecx, 0x40
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x5c]
call fcn.1024e1c0
cmp dword [eax], 0
je 0x1022abee
mov eax, dword [ebp - 8]
movss xmm0, dword [eax + 0x1c]
addss xmm0, dword [0x103353b0]
movss dword [ebp - 0x60], xmm0
call fcn.1002c410
mov ecx, eax
call fcn.10222f10
fstp dword [ebp - 0x64]
movss xmm0, dword [ebp - 0x60]
mulss xmm0, dword [ebp - 0x64]
movss dword [ebp - 0x78], xmm0
mov ecx, dword [ebp - 8]
movss xmm0, dword [ecx + 0x20]
addss xmm0, dword [0x103352f0]
movss dword [ebp - 0x74], xmm0
call fcn.1002c410
mov ecx, eax
call fcn.10222f10
fstp dword [ebp - 0x68]
movss xmm0, dword [ebp - 0x68]
mulss xmm0, dword [0x103353d0]
mov edx, dword [ebp - 8]
movss xmm1, dword [edx + 0x24]
subss xmm1, xmm0
movss dword [ebp - 0x70], xmm1
mov eax, dword [ebp - 8]
movss xmm0, dword [eax + 0x28]
subss xmm0, dword [0x1033533c]
movss dword [ebp - 0x6c], xmm0
push ecx
movss xmm0, dword [ebp - 0x6c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x70]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x74]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x78]
movss dword [esp], xmm0
lea ecx, [ebp - 0x34]
call fcn.100a9b70
lea ecx, [ebp - 0x140]
push ecx
call fcn.10226a90
add esp, 4
mov dword [ebp - 0x84], eax
push ecx
movss xmm0, dword [0x103352f4]
movss dword [esp], xmm0
call fcn.1002c410
mov ecx, eax
call fcn.10222f10
fstp dword [ebp - 0x7c]
movss xmm0, dword [ebp - 0x7c]
mulss xmm0, dword [0x103353b4]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x148]
call fcn.10027ec0
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
push edx
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x84]
call fcn.10213e30
lea ecx, [ebp - 0x118]
call fcn.10086d40
mov ecx, dword [ebp - 8]
add ecx, 0x40
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x88]
call fcn.1024e1c0
mov eax, dword [eax]
movzx ecx, byte [eax + 0x4f]
test ecx, ecx
jne 0x1022abba
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0xf8], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0xf0], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0xec], edx
mov eax, dword [ebp - 8]
add eax, 0x40
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x8c]
call fcn.1024e1c0
mov edx, dword [eax]
mov dword [ebp - 0x90], edx
lea eax, [ebp - 0x110]
push eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0xf8]
mov dword [ecx], edx
mov eax, dword [ebp - 0xf4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xf0]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xec]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.10226de0
add esp, 0x18
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x108], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x100], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 8]
add eax, 0x40
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x94]
call fcn.1024e1c0
mov edx, dword [eax]
mov dword [ebp - 0x98], edx
lea eax, [ebp - 0x118]
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 - 0x98]
push ecx
call fcn.102274e0
add esp, 0x18
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x30]
test eax, eax
jne 0x1022abd4
lea ecx, [ebp - 0x110]
push ecx
call fcn.10226a30
add esp, 4
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x31]
test eax, eax
jne 0x1022abee
lea ecx, [ebp - 0x118]
push ecx
call fcn.10226a60
add esp, 4
mov edx, dword [ebx + 0x1c]
push edx
mov eax, dword [ebx + 8]
push eax
call fcn.10227c70
add esp, 8
call fcn.10226980
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x3c], edx
mov eax, dword [ebp - 4]
cvttss2si ecx, dword [eax + 0x1c]
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 4]
cvttss2si eax, dword [edx + 0x20]
add eax, 4
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
movss xmm0, dword [ecx + 0x1c]
addss xmm0, dword [edx + 0x24]
subss xmm0, dword [0x103352a8]
cvttss2si eax, xmm0
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
movss xmm0, dword [ecx + 0x20]
addss xmm0, dword [edx + 0x28]
subss xmm0, dword [0x1033524c]
cvttss2si eax, xmm0
mov dword [ebp - 0x11c], eax
mov ecx, 0x104648cc
call fcn.1000f510
mov ecx, eax
call fcn.10256900
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x12c]
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x128]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [ebp - 0x9c]
mov ecx, 0x104648cc
call fcn.1000f510
mov ecx, eax
call fcn.10256900
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xe4]
mov dword [ebp - 0xa0], edx
push 1
push 0xae
mov eax, dword [ebp - 0x20]
push eax
call dword [ebp - 0xa0]
call fcn.1002c410
movzx ecx, byte [eax + 2]
test ecx, ecx
je 0x1022ad51
push 0x10325eb0
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
mov edx, dword [ebp - 8]
add edx, 0x40
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x24]
call fcn.1000f510
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x24]
call fcn.10014290
mov dword [ebp - 0xa4], eax
jmp 0x1022ad26
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0xa4]
je 0x1022ad48
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov byte [ecx + 0x50], 0
jmp 0x1022ad1d
call fcn.1002c410
mov byte [eax + 2], 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x50]
test eax, eax
jne 0x1022b00b
mov ecx, dword [ebp - 8]
add ecx, 0x40
mov dword [ebp - 0xb0], ecx
lea edx, [ebx + 8]
push edx
call fcn.102264b0
add esp, 4
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0xb0]
call fcn.1003acd0
cvttss2si ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], ecx
cvttss2si eax, dword [ebx + 0x10]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x58], eax
cvttss2si edx, dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov dword [eax + 0x5c], edx
cvttss2si ecx, dword [ebx + 0x18]
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], ecx
push 0x10325d80
push 0x14
lea eax, [ebp - 0x1bc]
push eax
push 0x102da8ef
push 0x10325e3c
mov ecx, dword [ebp - 4]
call fcn.10013020
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x1022af80
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x54]
push edx
lea eax, [ebp - 0x160]
push eax
call fcn.10027210
add esp, 8
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
call fcn.10013020
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 4]
call fcn.10013020
mov dword [ebp - 0xbc], eax
push 0x10325de0
mov ecx, dword [ebp - 0xb8]
push ecx
push 0x10325cec
mov edx, dword [ebp - 0xbc]
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x160]
call fcn.1000c760
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x58]
push ecx
lea edx, [ebp - 0x178]
push edx
call fcn.10027210
add esp, 8
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
call fcn.10013020
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 4]
call fcn.10013020
mov dword [ebp - 0xc8], eax
push 0x10325c90
mov eax, dword [ebp - 0xc4]
push eax
push 0x10325d64
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x178]
call fcn.1000c760
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5c]
push eax
lea ecx, [ebp - 0x190]
push ecx
call fcn.10027210
add esp, 8
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
call fcn.10013020
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 4]
call fcn.10013020
mov dword [ebp - 0xd4], eax
push 0x10325d08
mov edx, dword [ebp - 0xd0]
push edx
push 0x10326164
mov eax, dword [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x190]
call fcn.1000c760
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x60]
push edx
lea eax, [ebp - 0x1a8]
push eax
call fcn.10027210
add esp, 8
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
call fcn.10013020
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 4]
call fcn.10013020
mov dword [ebp - 0xe0], eax
push 0x103261e0
mov ecx, dword [ebp - 0xdc]
push ecx
push 0x103261d4
mov edx, dword [ebp - 0xe0]
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x1a8]
call fcn.1000c760
jmp 0x1022b004
push 0x10326240
push 0
push 0x1032615c
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 + 0x54], eax
push 0x10326100
push 0
push 0x103261cc
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 + 0x58], eax
push 0x10326170
push 0
push 0x10325e44
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 + 0x5c], eax
push 0x103260a0
push 0
push 0x10326094
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 + 0x60], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x50], 1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret