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

Disassembly:
push 0x9c
mov eax, 0x47ea10
call fcn.004569c5
mov esi, ecx
lea eax, [ebp - 0x6c]
xor ebx, ebx
push eax
push str.PrepareRemotePatchDescriptor
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x6c], ebx
call fcn.0041e6cc
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x64]
call fcn.0040aaed
mov byte [ebp - 4], 1
xor eax, eax
push 6
pop ecx
lea edi, [ebp - 0x28]
mov dword [ebp - 0x5c], str.Patches
rep stosd dword es:[edi], eax
push 8
pop ecx
lea edi, [ebp - 0x4c]
mov dword [ebp - 0x58], str.Patches_Dll
rep stosd dword es:[edi], eax
push 9
mov dword [ebp - 0x84], 2
pop ebx
stosw word es:[edi], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x54], eax
or edi, 0xffffffff
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x50], eax
test esi, esi
je 0x41dbd1
xor eax, eax
cmp word [esi], ax
je 0x41dbd1
mov edx, str..ini
lea ecx, [ebp - 0x68]
call fcn.0041eeb3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
push eax
call fcn.0040951e
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x68]
add ecx, 0xfffffff0
call fcn.0040aacb
mov eax, dword [ebp - 0x64]
cmp dword [eax - 0xc], 0
jne 0x41d8e4
mov dword [ebp - 0x6c], 0x52
jmp 0x41dbd8
mov edx, dword [ebp - 0x64]
xor eax, eax
push ecx
push eax
push ecx
mov ecx, esi
call fcn.0041ce33
add esp, 0xc
mov dword [ebp - 0x6c], eax
test eax, eax
jne 0x41dbd8
push dword [ebp - 0x64]
lea ecx, [ebp - 0x78]
call fcn.0040c04f
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x41d938
mov byte [ebp - 4], 1
cmp dword [ebp - 0x78], edi
je 0x41dbd8
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x78], edi
jmp 0x41dbd8
mov ecx, dword [ebp - 0x64]
xor eax, eax
push eax
call fcn.00421f7f
mov dword [ebp - 0x6c], eax
pop ecx
test eax, eax
jne 0x41d91a
cmp byte [0x4c2570], al
je 0x41d98c
push dword [0x4c25cc]
lea eax, [ebp - 0x28]
push 0x4ab914
push 0xb
push eax
call fcn.0041e1bd
push dword [0x4c25cc]
lea eax, [ebp - 0x4c]
push str._u_Dll
push 0x10
push eax
call fcn.0041e1bd
add esp, 0x20
mov dword [ebp - 0x84], 4
push 0x10002
call fcn.004640c6
mov esi, eax
pop ecx
test esi, esi
jne 0x41d9a9
mov dword [ebp - 0x6c], 8
jmp 0x41d91a
xor eax, eax
mov ebx, eax
xor eax, eax
mov dword [esi + 0xfffe], eax
mov dword [esi], eax
push dword [ebp - 0x64]
push 0x7fff
push esi
push dword [ebp + ebx*4 - 0x5c]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
push esi
lea ecx, [ebp - 0x60]
mov edi, esi
call fcn.0040956c
mov byte [ebp - 4], 5
jmp 0x41db84
lea ecx, [ebp - 0x7c]
call fcn.0040aaed
mov byte [ebp - 4], 6
xor eax, eax
mov byte [ebp - 0x80], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x68]
call fcn.0040aaed
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x70]
call fcn.0040aaed
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x60]
mov eax, dword [ebp - 0x60]
mov eax, dword [eax - 0xc]
lea edi, [edi + eax*2]
add edi, 2
call fcn.0041b0f9
mov ecx, eax
call fcn.004093ea
xor eax, eax
lea ecx, [ebp - 0x60]
push eax
push 0x3d
call fcn.0041cd95
mov dword [ebp - 0x8c], eax
cmp eax, 0xffffffff
jne 0x41da52
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x70]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
jmp 0x41db60
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x60]
call fcn.0040bd08
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x68]
push eax
call fcn.0040951e
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x88]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
lea ecx, [ebp - 0x68]
call fcn.0041b0f9
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x60]
inc eax
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00416c10
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x70]
push eax
call fcn.0040951e
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x90]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
lea ecx, [ebp - 0x70]
call fcn.004093ea
push dword [ebp - 0x68]
call fcn.0046ce08
pop ecx
mov ecx, dword [0x4c2534]
mov dword [ebp - 0x94], eax
test ecx, ecx
jne 0x41dafd
test eax, eax
je 0x41daec
cmp eax, dword [0x4c2538]
ja 0x41db12
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x70]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
jmp 0x41db60
cmp ecx, eax
je 0x41db12
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x70]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
jmp 0x41db60
mov al, bl
lea ecx, [ebp - 0x7c]
and al, 1
mov byte [ebp - 0x80], al
lea eax, [ebp - 0x70]
push eax
call fcn.0040951e
lea eax, [ebp - 0x94]
mov ecx, 0x4c252c
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0041defe
mov ecx, dword [eax]
mov al, byte [ebp - 0x80]
mov byte [ecx + 0x14], al
lea eax, [ebp - 0x7c]
push eax
add ecx, 0x18
call fcn.0040951e
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x70]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x68]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.0040c0bf
push edi
lea ecx, [ebp - 0x60]
call fcn.0040a676
mov eax, dword [ebp - 0x60]
cmp dword [eax - 0xc], 0
jne 0x41d9de
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
inc ebx
cmp ebx, dword [ebp - 0x84]
jb 0x41d9ad
mov byte [ebp - 4], 1
or edi, 0xffffffff
cmp dword [ebp - 0x78], edi
je 0x41dbc5
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x78], edi
push esi
call fcn.0045f917
pop ecx
push 9
pop ebx
jmp 0x41dbd8
mov dword [ebp - 0x6c], 0x57
mov eax, dword [ebp - 0x64]
cmp dword [eax - 0xc], 0
je 0x41dc10
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x41dc10
cmp eax, 0x20
je 0x41dc00
cmp eax, 5
jne 0x41dc10
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, 1
jns 0x41dbe1
mov esi, dword [ebp - 0x6c]
xor eax, eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x64]
add ecx, 0xfffffff0
call fcn.0040aacb
mov dword [ebp - 4], edi
lea ecx, [ebp - 0xa0]
call fcn.0041e740
mov eax, esi
call fcn.00456974
ret