Function at 0x418270
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x618
lea ebp, [esp - 4]
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp + 0x618], eax
push 0x18
mov eax, 0x47f13b
call fcn.00442103
mov edi, dword [ebp + 0x624]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], edi
call fcn.0042ce56
push eax
lea ecx, [ebp - 0x20]
call fcn.004014ab
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.00441830
add esp, 0xc
test edi, edi
je 0x4184fb
push edi
call fcn.00441cf4
pop ecx
test eax, eax
je 0x4184fb
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 0x4184fb
push ebx
call fcn.00441cf4
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax*2]
push eax
call fcn.00442443
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 0x41833b
push ebx
call fcn.00441cf4
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 0x4184d1
dec eax
dec eax
je 0x4184ca
dec eax
jne 0x4184fb
push str._queryfilelist
push dword [ebp - 0x18]
call edi
mov ebx, eax
xor edi, edi
mov dword [ebp - 0x10], ebx
cmp ebx, edi
je 0x41837e
push str._queryfilelist_
call fcn.00441cf4
lea eax, [ebx + eax*2]
pop ecx
mov dword [ebp - 0x10], eax
mov ebx, eax
push 0x4858a4
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_StrRStrIW]
cmp eax, edi
je 0x418394
xor ecx, ecx
mov word [eax], cx
call fcn.0042ce56
push eax
lea ecx, [ebp - 0x1c]
call fcn.004014ab
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.00441830
xor eax, eax
push esi
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.00441830
push edi
lea eax, [ebp - 0x1c]
push 0x488d00
push eax
call fcn.004017d8
add esp, 0x24
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, 0x104
jmp 0x418491
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 0x418436
push str._cmdline
call fcn.00441cf4
pop ecx
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax*2]
push eax
push edi
lea eax, [ebp]
push eax
call fcn.00402ef4
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.00441830
xor eax, eax
push esi
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00441830
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push 0x488d00
push eax
call fcn.004017d8
add esp, 0x24
push dword [ebp - 0x10]
push edi
lea eax, [ebp + 0x410]
push eax
push 0x4841c0
push dword [ebp - 0x1c]
push str.filelist
call ebx
lea eax, [ebp + 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x4183f4
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401100
jmp 0x4184fb
push str.UtilsFileSmasher.exe
jmp 0x4184d6
push 0x488c7c
lea eax, [ebp + 0x208]
push 0x104
push eax
call fcn.00407efe
push 5
push dword [ebp - 0x10]
lea eax, [ebp + 0x208]
push eax
call fcn.00407e5d
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.004420f4
add ebp, 0x61c
leave
ret 4