Function at 0x2007179a
Capabilities:
Create directory
Delete file
Read .ini file

Disassembly:
mov eax, 0x200a25b9
call fcn.2007d394
sub esp, 0x1a4
mov eax, dword [0x200cc84c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x1ac], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1a8], eax
mov edi, dword [ebp + 0x14]
xor ecx, ecx
mov dword [ebp - 0x1a4], ecx
cmp dword [ebx + 0x14], ecx
je 0x20071a5a
cmp dword [esi + 0x14], ecx
je 0x20071a5a
cmp dword [eax + 0x14], ecx
je 0x20071a5a
cmp dword [ebx + 0x18], 0x10
jb 0x20071800
mov eax, dword [ebx + 4]
jmp 0x20071803
lea eax, [ebx + 4]
push str.isfor.ini
push 0x104
lea ecx, [ebp - 0x118]
push ecx
push 0x200a4a9c
push 0x200aace0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x150]
call fcn.20003c27
and dword [ebp - 4], 0
push dword [ebp - 0x1a8]
lea ecx, [ebp - 0x150]
call fcn.2000176e
test eax, eax
je 0x20071a47
push 0
push str.http:__
mov ecx, esi
call fcn.20001f68
test eax, eax
jne 0x20071a47
push eax
lea ecx, [ebp - 0x19c]
call fcn.200162c7
mov byte [ebp - 4], 1
call fcn.2005ed9d
push eax
lea ecx, [ebp - 0x134]
call fcn.20003c27
mov byte [ebp - 4], 2
push str.cache
lea ecx, [ebp - 0x134]
call fcn.20008f58
cmp dword [ebp - 0x11c], 0x10
mov eax, dword [ebp - 0x130]
jae 0x200718b4
lea eax, [ebp - 0x130]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x200ab3a4
lea ecx, [ebp - 0x134]
call fcn.20008f58
cmp dword [ebp - 0x11c], 0x10
mov eax, dword [ebp - 0x130]
jae 0x200718e2
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x11c], 0x10
mov eax, dword [ebp - 0x130]
jae 0x200718fe
lea eax, [ebp - 0x130]
cmp dword [esi + 0x18], 0x10
jb 0x20071909
mov esi, dword [esi + 4]
jmp 0x2007190c
add esi, 4
push eax
push esi
xor esi, esi
push esi
push esi
push esi
call fcn.2002af51
add esp, 0x14
cmp eax, esi
jne 0x20071a26
cmp dword [ebp - 0x11c], 0x10
mov eax, dword [ebp - 0x130]
jae 0x20071938
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x19c]
call fcn.200163a4
test eax, eax
je 0x20071a26
cmp dword [edi + 0x14], esi
je 0x200719cc
cmp dword [ebp - 0x11c], 0x10
mov eax, dword [ebp - 0x130]
jae 0x20071966
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1a0], eax
mov byte [ebp - 4], 3
cmp dword [edi + 0x18], 0x10
jb 0x20071982
mov eax, dword [edi + 4]
jmp 0x20071985
lea eax, [edi + 4]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.200340c8
mov byte [ebp - 4], 4
mov dword [ebp - 0x1b0], esi
cmp eax, esi
je 0x200719b1
call eax
jmp 0x200719b1
mov dword [ebp - 4], 2
cmp dword [ebp - 0x1a0], esi
je 0x200719cc
push dword [ebp - 0x1a0]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x11c], 0x10
mov eax, dword [ebp - 0x130]
jae 0x200719e1
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x1a8]
cmp dword [ecx + 0x18], 0x10
jb 0x200719f9
mov ecx, dword [ecx + 4]
jmp 0x200719fc
add ecx, 4
cmp dword [ebx + 0x18], 0x10
jb 0x20071a07
mov eax, dword [ebx + 4]
jmp 0x20071a0a
lea eax, [ebx + 4]
push str.isfor.ini
push ecx
push 0x200aace0
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x1a4], 1
mov byte [ebp - 4], 1
push esi
push 1
lea ecx, [ebp - 0x134]
call fcn.2000275e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x19c]
call fcn.200166a0
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x150]
call fcn.2000275e
mov eax, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.2007c9ae
leave
ret 0x10