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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63f89b
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
cmp dword [esi + 0x218], 0x10
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x37], eax
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov word [ebp - 0x27], ax
mov byte [ebp - 0x25], al
mov byte [ebp - 0x24], al
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
jb 0x479009
mov eax, dword [esi + 0x204]
lea ebx, [esi + 0x204]
mov dword [ebp - 0xc0], ebx
jmp 0x479017
lea eax, [esi + 0x204]
mov dword [ebp - 0xc0], eax
mov ebx, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x13
lea eax, [ebp - 0x38]
push eax
push 0
push str.last_version
push str.update
call edi
cmp dword [esi + 0x218], 0x10
jb 0x47903f
mov eax, dword [ebx]
jmp 0x479041
mov eax, ebx
push eax
push 0x13
lea ecx, [ebp - 0x24]
push ecx
push 0
push str.now_version
push str.update
call edi
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x78]
call fcn.00412330
mov edi, eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call fcn.00412330
mov ebx, eax
mov byte [ebp - 4], 1
cmp dword [edi + 0x18], 0x10
mov eax, dword [edi + 0x14]
jb 0x47908b
mov edi, dword [edi + 4]
jmp 0x47908e
add edi, 4
push edi
mov edi, eax
mov eax, dword [ebx + 0x14]
call fcn.004127d0
test eax, eax
setne byte [ebp - 0xb9]
cmp dword [ebp - 0x40], 0x10
jb 0x4790b4
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.005f0cb0
add esp, 4
xor ebx, ebx
mov edi, 0xf
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], ebx
mov byte [ebp - 0x54], bl
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.0040ed70
mov edx, dword [ebp - 0x58]
push edx
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], ebx
mov byte [ebp - 4], bl
call fcn.0040ed70
cmp dword [ebp - 0x60], 0x10
jb 0x4790fc
mov eax, dword [ebp - 0x74]
push eax
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x64], ebx
mov byte [ebp - 0x74], bl
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 3
call fcn.0040ed70
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0040ed70
cmp byte [ebp - 0xb9], bl
je 0x4791c7
push str..down
lea ebx, [esi + 0x19c]
lea edx, [ebp - 0x98]
push ebx
push edx
call fcn.0041d670
push str..temp
lea eax, [ebp - 0xb8]
push ebx
push eax
mov dword [ebp - 4], 4
call fcn.0041d670
mov eax, dword [ebp - 0x94]
mov edi, 0x10
add esp, 0x18
cmp dword [ebp - 0x80], edi
jae 0x479188
lea eax, [ebp - 0x94]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call ebx
mov eax, dword [ebp - 0xb4]
cmp dword [ebp - 0xa0], edi
jae 0x4791a5
lea eax, [ebp - 0xb4]
push eax
call ebx
lea ecx, [ebp - 0xb8]
call fcn.00412410
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0xffffffff
call fcn.00412410
jmp 0x4791cc
mov edi, 0x10
cmp dword [esi + 0x218], edi
jb 0x4791de
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ecx]
jmp 0x4791e4
mov eax, dword [ebp - 0xc0]
push eax
lea edx, [ebp - 0x24]
push edx
push str.last_version
push str.update
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret