Function at 0x410f28
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43e57b
mov eax, dword fs:[0]
push eax
sub esp, 0x640
mov eax, dword [0x44d08c]
xor eax, esp
mov dword [esp + 0x638], eax
push ebx
push esi
push edi
mov eax, dword [0x44d08c]
xor eax, esp
push eax
lea eax, [esp + 0x650]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov dword [esp + 0x24], eax
mov eax, dword [0x451a2c]
mov ebx, 0x451a2c
mov ecx, ebx
mov dword [esp + 0x1c], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
and dword [esp + 0x658], 0
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [esp + 0x444], ax
lea eax, [esp + 0x446]
push eax
call fcn.004253c0
add esp, 0xc
test edi, edi
je 0x41125d
push edi
call fcn.00425946
pop ecx
test eax, eax
je 0x41125d
push str._func
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
call edi
mov dword [esp + 0x18], eax
test eax, eax
je 0x41125d
push str._func
call fcn.00425946
pop ecx
mov ecx, dword [esp + 0x18]
lea eax, [ecx + eax*2]
push eax
call fcn.004261b5
mov dword [esp], str._cmd
push dword [esp + 0x20]
mov dword [esp + 0x20], eax
call edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x41102c
push str._cmd
call fcn.00425946
pop ecx
mov ecx, dword [esp + 0x14]
lea eax, [ecx + eax*2]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
sub eax, 3
je 0x411236
dec eax
dec eax
je 0x411227
dec eax
je 0x41108d
dec eax
jne 0x41125d
push str._regas:1_1
push dword [esp + 0x18]
call edi
test eax, eax
je 0x411062
push 0
push 5
push 0x13
jmp 0x41107b
push str._regas:0_1
push dword [esp + 0x18]
call edi
test eax, eax
je 0x41125d
push 0
push 5
push 0x14
mov edx, dword [esp + 0x30]
add edx, 0x2c
pop ecx
call fcn.0041c16d
jmp 0x41125d
push str._queryfilelist
push dword [esp + 0x20]
call edi
xor edi, edi
mov dword [esp + 0x14], eax
cmp eax, edi
je 0x4110b8
push str._queryfilelist_
call fcn.00425946
pop ecx
mov ecx, dword [esp + 0x14]
lea eax, [ecx + eax*2]
mov dword [esp + 0x14], eax
push 0x443fe8
push edi
push dword [esp + 0x1c]
call dword [sym.imp.SHLWAPI.dll_StrRStrIW]
cmp eax, edi
je 0x4110d1
xor ecx, ecx
mov word [eax], cx
mov eax, dword [0x451a2c]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
xor eax, eax
mov byte [esp + 0x658], 1
push esi
mov word [esp + 0x30], ax
lea eax, [esp + 0x32]
push edi
push eax
mov dword [esp + 0x28], edi
call fcn.004253c0
add esp, 0xc
xor eax, eax
push esi
mov word [esp + 0x238], ax
lea eax, [esp + 0x23a]
push edi
push eax
call fcn.004253c0
add esp, 0xc
push edi
push 0x443fec
lea eax, [esp + 0x28]
call fcn.00405984
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, 0x104
jmp 0x4111ea
inc dword [esp + 0x1c]
push str._cmdline
push 0
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRStrIW]
mov dword [esp + 0x18], eax
test eax, eax
je 0x411187
push str._cmdline
call fcn.00425946
pop ecx
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax*2]
lea eax, [esp + 0x234]
push eax
mov eax, edi
call fcn.0040570c
mov ecx, dword [esp + 0x18]
xor eax, eax
mov word [ecx], ax
lea eax, [esp + 0x234]
push eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x2c]
push 0x65a
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
push esi
push eax
mov word [esp + 0x34], ax
lea eax, [esp + 0x36]
push eax
call fcn.004253c0
add esp, 0xc
xor eax, eax
push esi
push eax
mov word [esp + 0x23c], ax
lea eax, [esp + 0x23e]
push eax
call fcn.004253c0
add esp, 0xc
push dword [esp + 0x1c]
lea eax, [esp + 0x24]
push 0x443fec
call fcn.00405984
pop ecx
pop ecx
push dword [esp + 0x14]
lea eax, [esp + 0x30]
push edi
push eax
push 0x4425b8
push dword [esp + 0x30]
push str.filelist
call ebx
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x41113f
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.004054cf
jmp 0x41125d
lea eax, [esp + 0x43c]
push eax
mov eax, str.UtilsFileSmasher.exe
jmp 0x411243
lea eax, [esp + 0x43c]
push eax
mov eax, str.Utils360FileUnlock.exe
call fcn.0040a54b
pop ecx
push 0
push dword [esp + 0x18]
lea ecx, [esp + 0x444]
call fcn.0040a664
pop ecx
pop ecx
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.004054cf
mov ecx, dword [esp + 0x650]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x638]
xor ecx, esp
call fcn.00425271
mov esp, ebp
pop ebp
ret 4