Function at 0x5181c0
Capabilities:
Delete registry value
Read file on windows
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x652088
mov eax, dword fs:[0]
push eax
mov eax, 0x42c4
call fcn.006197b0
mov eax, dword [0x74f8a0]
xor eax, esp
mov dword [esp + 0x42c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x74f8a0]
xor eax, esp
push eax
lea eax, [esp + 0x42d8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x42e8]
mov ebx, ecx
mov dword [esp + 0x30], eax
call fcn.005175e0
mov ecx, ebx
call fcn.005175a0
mov ecx, ebx
call fcn.00517710
mov ecx, dword [ebx + 4]
xor ebp, ebp
mov edi, 1
cmp ecx, ebp
je 0x518297
push edi
call fcn.00438df0
test eax, eax
jne 0x518297
cmp dword [ebx + 8], ebp
je 0x518279
mov ecx, dword [ebx + 4]
cmp dword [ecx + 0x30], ebp
je 0x518297
lea ecx, [esp + 0x14]
call fcn.004f0410
mov dword [esp + 0x42e0], ebp
mov edx, dword [ebx + 4]
push edx
lea ecx, [esp + 0x18]
call fcn.004f0430
cmp eax, ebp
je 0x518283
mov dword [esp + 0x42e0], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.004f0420
mov eax, 4
jmp 0x518bed
mov dword [esp + 0x42e0], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.004f0420
lea ecx, [esp + 0x1c]
call fcn.00402500
mov dword [esp + 0x42e0], edi
lea ecx, [esp + 0x28]
call fcn.00402500
mov byte [esp + 0x42e0], 2
lea ecx, [esp + 0x20]
call fcn.00402500
mov byte [esp + 0x42e0], 3
lea ecx, [esp + 0x24]
call fcn.00402500
mov byte [esp + 0x42e0], 4
lea ecx, [esp + 0x2c]
call fcn.00402500
mov byte [esp + 0x42e0], 5
mov esi, dword [esp + 0x42f0]
cmp esi, ebp
je 0x518319
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00526010
add esp, 0x14
jmp 0x51837f
push 0x1f
push str.www.internetdownloadmanager.com
lea ecx, [esp + 0x24]
call fcn.00402960
push 0x10
push 0x69be98
lea ecx, [esp + 0x30]
call fcn.00402960
push 0x69be94
push 0x69be90
push 0x69be8c
push str.register
lea edx, [esp + 0x30]
push str._s._s_s_s
push edx
call fcn.00402f70
add esp, 0x18
push 5
push str.tcidm
lea ecx, [esp + 0x2c]
call fcn.00402960
push 8
push str.azcfgped
lea ecx, [esp + 0x34]
call fcn.00402960
lea ecx, [esp + 0x44]
call fcn.005b13c0
mov byte [esp + 0x42e0], 6
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
push 0xffffffffffffffff
push eax
xor eax, eax
cmp esi, ebp
setne al
push ecx
push edx
lea ecx, [esp + 0x54]
inc eax
push eax
call fcn.005af160
lea ecx, [esp + 0xd64]
call fcn.005780e0
mov byte [esp + 0x42e0], 7
lea ecx, [esp + 0x34]
push ecx
push 0x400
lea esi, [ebx + 0xc]
push esi
lea ecx, [esp + 0xd70]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebp
call fcn.00574bc0
test eax, eax
je 0x51841b
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x51841b
cmp dword [esp + 0x38], ebp
je 0x51841b
push eax
lea edx, [esp + 0x1f0]
push str.IDM_DataType_a1:_s
push edx
mov byte [esp + 0x1f4], 1
call fcn.00402f70
add esp, 0xc
jmp 0x51842a
push 0x400
push esi
lea ecx, [esp + 0x6c]
call fcn.005c3dd0
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x51843b
push eax
call fcn.006195bc
add esp, 4
push 0xa
push 0x67555c
lea ecx, [esp + 0x13c]
call fcn.00402960
cmp dword [ebx + 0x514], ebp
je 0x51848a
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x4c], ebp
mov byte [esp + 0xacd], 0
call fcn.004b1530
add esp, 4
cmp dword [esp + 0x990], ebp
jne 0x518482
cmp byte [esp + 0xaec], 0
je 0x518498
mov dword [ebx + 0x518], edi
jmp 0x518498
mov byte [esp + 0xac9], 1
mov dword [ebx + 0x518], ebp
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.005af260
mov ecx, dword [ebx + 8]
cmp ecx, ebp
je 0x5184bc
mov eax, edi
cmp dword [ebx + 0x51c], ebp
je 0x5184c1
mov eax, 4
mov dword [esp + 0x48], eax
cmp ecx, ebp
je 0x5184d6
cmp dword [ebx + 0x51c], ebp
jne 0x5184d6
mov eax, dword [ebx + 4]
jmp 0x5184d8
xor eax, eax
mov dword [esp + 0x44], eax
mov byte [esp + 0xb04], 1
mov byte [esp + 0x1cb], 0
mov byte [esp + 0x39d], 1
mov byte [esp + 0x39e], 1
cmp dword [ebx + 0x51c], ebp
je 0x51850c
mov byte [esp + 0x208], 1
push edi
lea ecx, [esp + 0x48]
call fcn.005bfa10
mov eax, dword [esp + 0x988]
cmp eax, 3
je 0x518543
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp eax, ebp
je 0x518602
push 0xc8
call esi
mov eax, dword [esp + 0x988]
cmp eax, 3
jne 0x518528
mov eax, dword [esp + 0x94]
push 0x67bb3c
push eax
call fcn.0061ad4d
mov edi, eax
add esp, 8
cmp edi, ebp
jne 0x5186b4
mov ecx, dword [esp + 0x94]
push ecx
call fcn.0061bbe3
add esp, 4
lea ecx, [esp + 0x44]
call fcn.005b6060
mov byte [esp + 0x42e0], 6
lea ecx, [esp + 0xd64]
call fcn.005d3300
mov byte [esp + 0x42e0], 5
lea ecx, [esp + 0x44]
call fcn.005b15c0
mov byte [esp + 0x42e0], 4
lea ecx, [esp + 0x2c]
call fcn.00402570
mov byte [esp + 0x42e0], 3
lea ecx, [esp + 0x24]
call fcn.00402570
mov byte [esp + 0x42e0], 2
lea ecx, [esp + 0x20]
call fcn.00402570
mov byte [esp + 0x42e0], 1
lea ecx, [esp + 0x28]
call fcn.00402570
mov dword [esp + 0x42e0], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00402570
mov eax, 4
jmp 0x518bed
mov eax, dword [esp + 0x94]
cmp eax, ebp
je 0x518616
push eax
call fcn.0061bbe3
add esp, 4
lea ecx, [esp + 0x44]
call fcn.005b6060
cmp byte [esp + 0x208], 0
jne 0x51857b
mov byte [esp + 0x42e0], 6
lea ecx, [esp + 0xd64]
call fcn.005d3300
mov byte [esp + 0x42e0], 5
lea ecx, [esp + 0x44]
call fcn.005b15c0
mov byte [esp + 0x42e0], 4
lea ecx, [esp + 0x2c]
call fcn.00402570
mov byte [esp + 0x42e0], 3
lea ecx, [esp + 0x24]
call fcn.00402570
mov byte [esp + 0x42e0], 2
lea ecx, [esp + 0x20]
call fcn.00402570
mov byte [esp + 0x42e0], 1
lea ecx, [esp + 0x28]
call fcn.00402570
mov dword [esp + 0x42e0], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00402570
mov eax, 8
jmp 0x518bed
push edi
call fcn.0061f5b7
push eax
call fcn.0061d37a
mov esi, eax
lea ebp, [esi + 1]
push ebp
call fcn.005ec342
push ebp
push 0
push eax
mov dword [esp + 0x2c], eax
call fcn.00618760
mov edx, dword [esp + 0x2c]
push edi
push esi
push 1
push edx
call fcn.0061d068
push edi
mov ebp, eax
call fcn.0061aa27
mov eax, dword [esp + 0xc0]
push eax
call fcn.0061bbe3
add esp, 0x30
lea ecx, [esp + 0x44]
call fcn.005b6060
mov ecx, dword [esp + 0x14]
push 0x100
lea edx, [esp + 0x41d8]
push 0
push edx
mov byte [ecx + esi], 0
call fcn.00618760
add esp, 0xc
mov esi, ebp
cmp ebp, 0x100
jb 0x518735
mov esi, 0x100
mov edi, dword [esp + 0x14]
push esi
lea eax, [esp + 0x41d8]
push edi
push eax
call fcn.00619c20
mov ecx, dword [esp + 0x3c]
push esi
push edi
push ecx
call fcn.00619c20
mov edx, dword [0x75592c]
mov eax, edx
add esp, 0x18
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x518762
sub eax, edi
push eax
push edx
push esi
lea edx, [esp + 0x41e0]
push edx
lea ecx, [ebx + 0x508]
call fcn.004485e0
lea esi, [ebx + 0x43e]
mov edx, esi
lea ecx, [esp + 0x41d4]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x5187b0
test al, al
je 0x5187ac
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x5187b0
add ecx, 2
add edx, 2
test al, al
jne 0x518790
xor eax, eax
jmp 0x5187b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x5189a8
xor edi, edi
mov eax, esi
mov dword [esp + 0x30], edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5187c8
sub eax, edx
lea esi, [esp + eax + 0x41d6]
mov al, byte [esi]
test al, al
je 0x518982
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp al, 0x4c
jne 0x518829
mov eax, dword [0x754bec]
test eax, eax
je 0x5188a7
push str.nExpDt
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [0x754bec]
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push 0
push str.nLst
mov dword [esp + 0x2c], 1
push ecx
jmp 0x5188a5
lea edi, [ebx + 0x50c]
push edi
push 0x67bac8
push esi
call fcn.00619a6e
add esp, 0xc
cmp dword [edi], 0
jle 0x5188a7
mov eax, dword [0x754bec]
test eax, eax
je 0x51885d
push str.nLst
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [0x754bec]
cmp dword [0x755270], 0
mov edx, dword [edi]
mov dword [0x7556a0], edx
je 0x51888a
mov eax, dword [edi]
mov ecx, dword [0x755270]
push eax
push 0x14a7
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x5188a7
test eax, eax
je 0x5188a7
mov edx, dword [edi]
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push 0
push str.nExpDt
mov dword [esp + 0x2c], edx
push eax
call ebp
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5188b0
sub eax, edx
add eax, 2
add esi, eax
cmp byte [esi], cl
je 0x51895d
lea edi, [ebx + 0x510]
push edi
push 0x67bac8
push esi
call fcn.00619a6e
add esp, 0xc
cmp dword [edi], 0
jne 0x5188e6
mov dword [edi], 0xffffffff
mov eax, esi
lea edx, [eax + 1]
jmp 0x5188f0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5188f0
sub eax, edx
add eax, 2
add esi, eax
cmp byte [esi], cl
je 0x51895d
lea edx, [esp + 0x18]
push edx
push 0x67bac8
push esi
mov dword [esp + 0x24], 0
call fcn.00619a6e
add esp, 0xc
cmp eax, 1
jne 0x51895d
cmp dword [esp + 0x18], 0
je 0x51895d
lea eax, [esp + 0x3c]
push eax
call fcn.0061b821
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
add esp, 4
push 4
lea eax, [esp + 0x44]
push eax
push 4
push 0
add edx, ecx
mov ecx, dword [0x754bec]
push str.ptrk_scdt
push ecx
mov dword [esp + 0x58], edx
call ebp
mov edi, dword [esp + 0x30]
mov eax, dword [0x755270]
test eax, eax
je 0x518999
push 1
push 0x14bb
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x518b61
mov eax, dword [0x754bec]
test eax, eax
je 0x51895d
push str.nExpDt
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x518961
mov dword [0x755234], 2
jmp 0x518b61
mov ecx, dword [0x756544]
lea eax, [esp + 0x41d4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x5189d5
test dl, dl
je 0x5189d1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x5189d5
add eax, 2
add ecx, 2
test dl, dl
jne 0x5189b5
xor eax, eax
jmp 0x5189da
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x5189e6
lea edi, [eax + 1]
jmp 0x518b61
mov ecx, dword [0x756548]
lea eax, [esp + 0x41d4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x518a13
test dl, dl
je 0x518a0f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x518a13
add eax, 2
add ecx, 2
test dl, dl
jne 0x5189f3
xor eax, eax
jmp 0x518a18
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x518a24
lea edi, [eax + 2]
jmp 0x518b61
mov ecx, dword [0x756550]
lea eax, [esp + 0x41d4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x518a51
test dl, dl
je 0x518a4d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x518a51
add eax, 2
add ecx, 2
test dl, dl
jne 0x518a31
xor eax, eax
jmp 0x518a56
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x518a62
lea edi, [eax + 7]
jmp 0x518b61
mov ecx, dword [0x756568]
lea eax, [esp + 0x41d4]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x518a90
test dl, dl
je 0x518a8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x518a90
add eax, 2
add ecx, 2
test dl, dl
jne 0x518a70
xor eax, eax
jmp 0x518a95
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x518aa1
lea edi, [eax + 0xa]
jmp 0x518b61
mov ecx, dword [0x75656c]
lea eax, [esp + 0x41d4]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x518ad0
test dl, dl
je 0x518acc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x518ad0
add eax, 2
add ecx, 2
test dl, dl
jne 0x518ab0
xor eax, eax
jmp 0x518ad5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x518ae1
lea edi, [eax + 0xb]
jmp 0x518b61
mov ecx, dword [0x756570]
lea eax, [esp + 0x41d4]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x518b10
test dl, dl
je 0x518b0c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x518b10
add eax, 2
add ecx, 2
test dl, dl
jne 0x518af0
xor eax, eax
jmp 0x518b15
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x518b1e
lea edi, [eax + 0xc]
jmp 0x518b61
mov ecx, dword [0x75654c]
lea eax, [esp + 0x41d4]
jmp 0x518b30
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x518b50
test dl, dl
je 0x518b4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x518b50
add eax, 2
add ecx, 2
test dl, dl
jne 0x518b30
xor eax, eax
jmp 0x518b55
sbb eax, eax
sbb eax, 0xffffffff
xor edx, edx
test eax, eax
setne dl
add edx, 3
mov edi, edx
mov eax, dword [esp + 0x14]
push eax
call fcn.005ec337
add esp, 4
mov byte [esp + 0x42e0], 6
lea ecx, [esp + 0xd64]
call fcn.005d3300
mov byte [esp + 0x42e0], 5
lea ecx, [esp + 0x44]
call fcn.005b15c0
mov byte [esp + 0x42e0], 4
lea ecx, [esp + 0x2c]
call fcn.00402570
mov byte [esp + 0x42e0], 3
lea ecx, [esp + 0x24]
call fcn.00402570
mov byte [esp + 0x42e0], 2
lea ecx, [esp + 0x20]
call fcn.00402570
mov byte [esp + 0x42e0], 1
lea ecx, [esp + 0x28]
call fcn.00402570
mov dword [esp + 0x42e0], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00402570
mov eax, edi
mov ecx, dword [esp + 0x42d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x42c0]
xor ecx, esp
call fcn.0061807e
add esp, 0x42d0
ret 0xc