Function at 0x416f79
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x618
lea ebp, [esp - 4]
mov eax, dword [0x4aa3ec]
xor eax, ebp
mov dword [ebp + 0x618], eax
push 0x18
mov eax, 0x47d95d
call fcn.004409e3
mov edi, dword [ebp + 0x624]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], edi
call fcn.0042b714
push eax
lea ecx, [ebp - 0x20]
call fcn.004014b3
and dword [ebp - 4], 0
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push eax
call fcn.00440110
add esp, 0xc
test edi, edi
je 0x417224
push edi
call fcn.004405d4
pop ecx
test eax, eax
je 0x417224
mov ebx, str._func
push ebx
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
call edi
mov dword [ebp - 0x14], eax
test eax, eax
je 0x417224
push ebx
call fcn.004405d4
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax*2]
push eax
call fcn.00440ed4
pop ecx
pop ecx
mov ebx, str._cmd
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
call edi
mov dword [ebp - 0x10], eax
test eax, eax
je 0x417044
push ebx
call fcn.004405d4
pop ecx
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax*2]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
sub eax, 3
je 0x4171fa
dec eax
dec eax
je 0x4171f3
dec eax
jne 0x417224
push str._queryfilelist
push dword [ebp - 0x18]
call edi
mov ebx, eax
xor edi, edi
mov dword [ebp - 0x10], ebx
cmp ebx, edi
je 0x417087
push str._queryfilelist_
call fcn.004405d4
lea eax, [ebx + eax*2]
pop ecx
mov dword [ebp - 0x10], eax
mov ebx, eax
push 0x484854
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_StrRStrIW]
cmp eax, edi
je 0x41709d
xor ecx, ecx
mov word [eax], cx
call fcn.0042b714
push eax
lea ecx, [ebp - 0x1c]
call fcn.004014b3
xor eax, eax
push esi
mov word [ebp + 0x410], ax
lea eax, [ebp + 0x412]
push edi
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], edi
call fcn.00440110
xor eax, eax
push esi
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.00440110
push edi
lea eax, [ebp - 0x1c]
push 0x487c10
push eax
call fcn.004017d6
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0x24
push ebx
push 0x208
lea eax, [ebp + 0x410]
push eax
push 0x4831b0
push dword [ebp - 0x1c]
push str.filelist
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x4171d5
inc dword [ebp - 0x18]
push str._cmdline
push 0
lea eax, [ebp + 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRStrIW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41715f
push str._cmdline
call fcn.004405d4
pop ecx
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax*2]
push eax
push 0x104
lea eax, [ebp]
push eax
call fcn.00402dc9
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov word [ecx], ax
lea eax, [ebp]
push eax
lea eax, [ebp + 0x410]
push eax
mov eax, dword [ebp - 0x24]
push 0x65a
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
push esi
push eax
mov word [ebp + 0x410], ax
lea eax, [ebp + 0x412]
push eax
call fcn.00440110
xor eax, eax
push esi
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00440110
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push 0x487c10
push eax
call fcn.004017d6
add esp, 0x24
push dword [ebp - 0x10]
lea eax, [ebp + 0x410]
push 0x208
push eax
push 0x4831b0
push dword [ebp - 0x1c]
push str.filelist
call edi
lea eax, [ebp + 0x410]
push eax
call ebx
test eax, eax
jne 0x417119
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401100
jmp 0x417224
push str.UtilsFileSmasher.exe
jmp 0x4171ff
push 0x487b8c
lea eax, [ebp + 0x208]
push 0x104
push eax
call fcn.00407b46
push 5
push dword [ebp - 0x10]
lea eax, [ebp + 0x208]
push eax
call fcn.00407ae6
add esp, 0x18
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401100
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x618]
xor ecx, ebp
call fcn.004409d4
add ebp, 0x61c
leave
ret 4