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

Disassembly:
push 0x9c
mov eax, 0x47d10e
call fcn.00454305
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.0041e3a4
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x64]
call fcn.0040aa2d
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 0x41d8fb
xor eax, eax
cmp word [esi], ax
je 0x41d8fb
mov edx, str..ini
lea ecx, [ebp - 0x68]
call fcn.0041eb87
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
push eax
call fcn.0040943e
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x68]
add ecx, 0xfffffff0
call fcn.0040aa0b
mov eax, dword [ebp - 0x64]
cmp dword [eax - 0xc], 0
jne 0x41d60e
mov dword [ebp - 0x6c], 0x52
jmp 0x41d902
mov edx, dword [ebp - 0x64]
xor eax, eax
push ecx
push eax
push ecx
mov ecx, esi
call fcn.0041cb53
add esp, 0xc
mov dword [ebp - 0x6c], eax
test eax, eax
jne 0x41d902
push dword [ebp - 0x64]
lea ecx, [ebp - 0x78]
call fcn.0040bf35
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x41d662
mov byte [ebp - 4], 1
cmp dword [ebp - 0x78], edi
je 0x41d902
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x78], edi
jmp 0x41d902
mov ecx, dword [ebp - 0x64]
xor eax, eax
push eax
call fcn.00421b1e
mov dword [ebp - 0x6c], eax
pop ecx
test eax, eax
jne 0x41d644
cmp byte [0x4a7498], al
je 0x41d6b6
push dword [0x4a74f4]
lea eax, [ebp - 0x28]
push 0x491134
push 0xb
push eax
call fcn.0041dee0
push dword [0x4a74f4]
lea eax, [ebp - 0x4c]
push str._u_Dll
push 0x10
push eax
call fcn.0041dee0
add esp, 0x20
mov dword [ebp - 0x84], 4
push 0x10002
call fcn.00461b84
mov esi, eax
pop ecx
test esi, esi
jne 0x41d6d3
mov dword [ebp - 0x6c], 8
jmp 0x41d644
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.0040948c
mov byte [ebp - 4], 5
jmp 0x41d8ae
lea ecx, [ebp - 0x7c]
call fcn.0040aa2d
mov byte [ebp - 4], 6
xor eax, eax
mov byte [ebp - 0x80], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x68]
call fcn.0040aa2d
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x70]
call fcn.0040aa2d
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.0041aee1
mov ecx, eax
call fcn.0040930a
xor eax, eax
lea ecx, [ebp - 0x60]
push eax
push 0x3d
call fcn.0041cab5
mov dword [ebp - 0x8c], eax
cmp eax, 0xffffffff
jne 0x41d77c
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x70]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
jmp 0x41d88a
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x60]
call fcn.0040bbee
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x68]
push eax
call fcn.0040943e
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x88]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
lea ecx, [ebp - 0x68]
call fcn.0041aee1
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x60]
inc eax
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00416bff
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x70]
push eax
call fcn.0040943e
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x90]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
lea ecx, [ebp - 0x70]
call fcn.0040930a
push dword [ebp - 0x68]
call fcn.0046a8c8
pop ecx
mov ecx, dword [0x4a745c]
mov dword [ebp - 0x94], eax
test ecx, ecx
jne 0x41d827
test eax, eax
je 0x41d816
cmp eax, dword [0x4a7460]
ja 0x41d83c
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x70]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
jmp 0x41d88a
cmp ecx, eax
je 0x41d83c
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x70]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
jmp 0x41d88a
mov al, bl
lea ecx, [ebp - 0x7c]
and al, 1
mov byte [ebp - 0x80], al
lea eax, [ebp - 0x70]
push eax
call fcn.0040943e
lea eax, [ebp - 0x94]
mov ecx, 0x4a7454
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0041dc21
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.0040943e
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x70]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x68]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.0040bfa5
push edi
lea ecx, [ebp - 0x60]
call fcn.0040a5c2
mov eax, dword [ebp - 0x60]
cmp dword [eax - 0xc], 0
jne 0x41d708
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
inc ebx
cmp ebx, dword [ebp - 0x84]
jb 0x41d6d7
mov byte [ebp - 4], 1
or edi, 0xffffffff
cmp dword [ebp - 0x78], edi
je 0x41d8ef
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x78], edi
push esi
call fcn.0045d3d7
pop ecx
push 9
pop ebx
jmp 0x41d902
mov dword [ebp - 0x6c], 0x57
mov eax, dword [ebp - 0x64]
cmp dword [eax - 0xc], 0
je 0x41d93a
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 0x41d93a
cmp eax, 0x20
je 0x41d92a
cmp eax, 5
jne 0x41d93a
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, 1
jns 0x41d90b
mov esi, dword [ebp - 0x6c]
xor eax, eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x64]
add ecx, 0xfffffff0
call fcn.0040aa0b
mov dword [ebp - 4], edi
lea ecx, [ebp - 0xa0]
call fcn.0041e418
mov eax, esi
call fcn.004542b4
ret