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

Disassembly:
mov eax, 0x10013434
call int.100057b0
sub esp, 0x46c
mov al, byte [ebp - 0xd]
and byte [ebp - 0xe], 0
push edi
mov dword [ebp - 0x18], ecx
xor edi, edi
lea ecx, [ebp - 0x50]
push edi
mov byte [ebp - 0x50], al
call fcn.10001b79
lea eax, [ebp - 0x50]
mov dword [ebp - 4], edi
push eax
call fcn.100025a1
test al, al
pop ecx
je 0x1000148a
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.100024a0
pop ecx
test al, al
pop ecx
je 0x1000148a
lea eax, [ebp - 0x50]
push str.BlockInfo.ini
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10002002
add esp, 0xc
mov byte [ebp - 4], 1
call fcn.10002a34
test al, al
je 0x10001478
mov eax, dword [ebp - 0x3c]
cmp eax, edi
jne 0x10001257
mov eax, 0x100141bc
push eax
call fcn.1000258e
test al, al
pop ecx
je 0x1000147c
mov eax, dword [ebp - 0x3c]
cmp eax, edi
jne 0x10001272
mov eax, 0x100141bc
push ebx
push esi
push eax
push edi
mov esi, str.Info
push str.Count
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], edi
jle 0x1000145b
fild dword [ebp - 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x54]
fdiv dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
and byte [ebp - 0x270], 0
push 0x40
lea edi, [ebp - 0x26f]
pop ecx
and byte [ebp - 0x374], 0
push 0x40
and byte [ebp - 0xd], 0
fstp dword [eax + 0x14]
xor eax, eax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x373]
push dword [ebp - 0x14]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x374]
push str.Block_d
push eax
call fcn.1000593b
mov eax, dword [ebp - 0x3c]
add esp, 0xc
test eax, eax
jne 0x10001302
mov eax, 0x100141bc
push eax
lea eax, [ebp - 0x270]
push 0x104
push eax
lea eax, [ebp - 0x374]
push 0x1001aab8
push eax
push esi
call ebx
test eax, eax
jle 0x1000145b
and byte [ebp - 0x16c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x16b]
and byte [ebp - 0x478], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x477]
rep stosd dword es:[edi], eax
push dword [ebp - 0x14]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x16c]
push str.MD5_d
push eax
call fcn.1000593b
mov eax, dword [ebp - 0x3c]
add esp, 0xc
test eax, eax
jne 0x10001377
mov eax, 0x100141bc
push eax
lea eax, [ebp - 0x478]
push 0x104
push eax
lea eax, [ebp - 0x16c]
push 0x1001aab8
push eax
push esi
call ebx
mov edi, eax
call fcn.10002a2e
test al, al
je 0x100013a6
test edi, edi
jle 0x1000145b
mov al, byte [ebp - 0xd]
push 0
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x30], al
call fcn.10001b79
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.10002002
add esp, 0xc
push dword [0x100141c0]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.10001a16
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.10001b79
call fcn.10002a2e
test al, al
je 0x10001414
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.100010af
test al, al
je 0x10001438
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x30]
push eax
call fcn.10001901
test al, al
je 0x10001438
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x30]
push eax
call fcn.1000158a
test al, al
je 0x10001438
mov byte [ebp - 0xd], 1
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.10001b79
cmp byte [ebp - 0xd], 0
je 0x1000145b
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
jl 0x100012a1
mov eax, dword [ebp - 0x3c]
pop esi
test eax, eax
pop ebx
jne 0x10001469
mov eax, 0x100141bc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jne 0x1000147c
mov byte [ebp - 0xe], 1
and byte [ebp - 4], 0
push 1
lea ecx, [ebp - 0x40]
call fcn.10001b79
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x50]
call fcn.10001b79
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xe]
pop edi
mov dword fs:[0], ecx
leave
ret