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

Disassembly:
push 0xa0
mov eax, 0x4672c4
call fcn.00463b54
mov esi, ecx
mov dword [ebp - 0x84], esi
lea eax, [ebp - 0x64]
xor ebx, ebx
push eax
push str.PrepareRemotePatchDescriptor
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x64], ebx
call fcn.0041bb53
mov dword [ebp - 4], ebx
call fcn.004068d0
push eax
lea ecx, [ebp - 0x88]
call fcn.00405f99
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x5c], str.Patches
lea edi, [ebp - 0x28]
mov dword [ebp - 0x58], str.Patches_Dll
push 6
pop ecx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x4c]
push 8
pop ecx
rep stosd dword es:[edi], eax
push 2
stosw word es:[edi], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x50], eax
pop edi
mov dword [ebp - 0x90], edi
test esi, esi
je 0x41b14b
xor eax, eax
cmp word [esi], ax
je 0x41b14b
mov edx, str..ini
lea ecx, [ebp - 0x8c]
call fcn.0041c23b
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
push eax
call fcn.0040764f
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x8c]
add ecx, 0xfffffff0
call fcn.00406985
mov esi, dword [ebp - 0x88]
cmp dword [esi - 0xc], ebx
jne 0x41ad73
mov dword [ebp - 0x64], 0x52
jmp 0x41b163
xor ebx, ebx
mov edx, esi
push ebx
push ecx
mov ecx, dword [ebp - 0x84]
call fcn.0041a2b7
mov dword [ebp - 0x64], eax
pop ecx
pop ecx
test eax, eax
jne 0x41b163
mov dword [ebp - 0x70], ebx
lea ecx, [ebp - 0x74]
or ebx, 0xffffffff
push esi
mov dword [ebp - 0x74], ebx
call fcn.00409673
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x64], eax
test eax, eax
je 0x41adcf
mov byte [ebp - 4], 2
cmp dword [ebp - 0x74], ebx
je 0x41b163
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x74], ebx
jmp 0x41b163
xor eax, eax
mov ecx, esi
push eax
call fcn.0041ed18
mov dword [ebp - 0x64], eax
pop ecx
test eax, eax
jne 0x41adb1
cmp byte [0x48bd74], al
je 0x41ae21
push dword [0x48bdc8]
lea eax, [ebp - 0x28]
push 0x47a4f8
push 0xb
push eax
call fcn.0041b8d7
push dword [0x48bdc8]
lea eax, [ebp - 0x4c]
push str._u_Dll
push 0x10
push eax
call fcn.0041b8d7
add esp, 0x20
push 4
pop edi
mov dword [ebp - 0x90], edi
push 0x10002
call fcn.00445d23
mov ebx, eax
mov dword [ebp - 0xa0], ebx
pop ecx
test ebx, ebx
jne 0x41ae4b
mov dword [ebp - 0x64], 8
mov byte [ebp - 4], 2
or ebx, 0xffffffff
jmp 0x41adb5
xor eax, eax
mov dword [ebp - 0x84], eax
push esi
push 0x7fff
push ebx
push dword [ebp + eax*4 - 0x5c]
xor ecx, ecx
mov dword [ebx + 0xfffe], ecx
mov dword [ebx], ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
push ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x6c], ebx
call fcn.0040769d
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x60]
cmp dword [eax - 0xc], 0
je 0x41b10e
mov ebx, dword [ebp - 0x84]
mov esi, dword [ebp - 0x6c]
lea ecx, [ebp - 0x78]
call fcn.00405de0
mov byte [ebp - 4], 7
xor eax, eax
mov byte [ebp - 0x7c], al
mov byte [ebp - 4], 8
call fcn.004068d0
push eax
lea ecx, [ebp - 0x80]
call fcn.00405f99
mov byte [ebp - 4], 0xa
call fcn.004068d0
push eax
lea ecx, [ebp - 0x68]
call fcn.00405f99
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x60]
mov eax, dword [ebp - 0x60]
mov eax, dword [eax - 0xc]
lea esi, [esi + eax*2]
add esi, 2
call fcn.004185e2
mov ecx, eax
call fcn.0040751e
xor eax, eax
lea ecx, [ebp - 0x60]
push eax
push 0x3d
call fcn.0041a239
mov edi, eax
cmp edi, 0xffffffff
jne 0x41af29
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x68]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x80]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 6
lea eax, [ebp - 0x78]
mov dword [ebp - 0x6c], eax
jmp 0x41b0cf
push edi
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x60]
call fcn.00409467
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x80]
push eax
call fcn.0040764f
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x94]
lea ecx, [ecx - 0x10]
call fcn.00406985
lea ecx, [ebp - 0x80]
call fcn.004185e2
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x60]
call fcn.00414abd
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x68]
push eax
call fcn.0040764f
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x98]
lea ecx, [ecx - 0x10]
call fcn.00406985
lea ecx, [ebp - 0x68]
call fcn.0040751e
mov edi, dword [ebp - 0x80]
push edi
call fcn.00454741
pop ecx
mov ecx, dword [0x48bd3c]
mov dword [ebp - 0x8c], eax
test ecx, ecx
jne 0x41afea
test eax, eax
je 0x41afc0
cmp eax, dword [0x48bd40]
ja 0x41b018
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x68]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 8
lea ecx, [edi - 0x10]
call fcn.00406985
mov byte [ebp - 4], 6
lea eax, [ebp - 0x78]
mov dword [ebp - 0x6c], eax
jmp 0x41b0cf
cmp ecx, eax
je 0x41b018
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x68]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 8
lea ecx, [edi - 0x10]
call fcn.00406985
mov byte [ebp - 4], 6
lea eax, [ebp - 0x78]
mov dword [ebp - 0x6c], eax
jmp 0x41b0cf
mov al, bl
lea ecx, [ebp - 0x78]
and al, 1
mov byte [ebp - 0x7c], al
lea eax, [ebp - 0x68]
push eax
call fcn.0040764f
mov edx, dword [0x48bd34]
mov edi, edx
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x41b05f
mov ecx, dword [ebp - 0x8c]
cmp dword [eax + 0x10], ecx
jae 0x41b04c
mov eax, dword [eax + 8]
jmp 0x41b050
mov edi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x41b042
cmp edi, edx
je 0x41b05f
cmp ecx, dword [edi + 0x10]
jae 0x41b095
lea eax, [ebp - 0x8c]
push ecx
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push ecx
mov ecx, 0x48bd34
call fcn.0041b453
push eax
add eax, 0x10
mov ecx, 0x48bd34
push eax
push edi
lea eax, [ebp - 0x9c]
push eax
call fcn.0041b4c3
mov edi, dword [ebp - 0x9c]
mov al, byte [ebp - 0x7c]
lea ecx, [edi + 0x18]
mov byte [edi + 0x14], al
lea eax, [ebp - 0x78]
push eax
call fcn.0040764f
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x68]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x80]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 6
lea eax, [ebp - 0x78]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x78]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov ecx, esi
call fcn.004082a0
push eax
push esi
lea ecx, [ebp - 0x60]
call fcn.00408222
mov eax, dword [ebp - 0x60]
cmp dword [eax - 0xc], 0
jne 0x41ae94
mov esi, dword [ebp - 0x88]
mov ebx, dword [ebp - 0xa0]
mov edi, dword [ebp - 0x90]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp eax, edi
jb 0x41ae53
mov byte [ebp - 4], 2
cmp dword [ebp - 0x74], 0xffffffff
je 0x41b158
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x74], 0xffffffff
jmp 0x41b158
mov esi, dword [ebp - 0x88]
mov dword [ebp - 0x64], 0x57
test ebx, ebx
je 0x41b163
push ebx
call fcn.00445d2e
pop ecx
cmp dword [esi - 0xc], 0
je 0x41b199
push 9
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x41b199
cmp eax, 0x20
je 0x41b189
cmp eax, 5
jne 0x41b199
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, 1
jns 0x41b16c
mov edi, dword [ebp - 0x64]
xor eax, eax
mov byte [ebp - 4], al
lea ecx, [esi - 0x10]
call fcn.00406985
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.0041bbc1
mov eax, edi
call fcn.00463afe
ret