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

Disassembly:
push 0xffffffffffffffff
push 0x631c08
mov eax, dword fs:[0]
push eax
mov eax, 0x4284
call fcn.005f9ca0
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x4280], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x4298]
mov dword fs:[0], eax
mov eax, dword [esp + 0x42a8]
mov ebx, ecx
mov dword [esp + 0x30], eax
call fcn.0050c290
mov ecx, ebx
call fcn.0050c250
mov ecx, ebx
call fcn.0050c3c0
mov ecx, dword [ebx + 4]
xor ebp, ebp
mov edi, 1
cmp ecx, ebp
je 0x50cf47
push edi
call fcn.004376f0
test eax, eax
jne 0x50cf47
cmp dword [ebx + 8], ebp
je 0x50cf29
mov ecx, dword [ebx + 4]
cmp dword [ecx + 0x30], ebp
je 0x50cf47
lea ecx, [esp + 0x14]
call fcn.004e5be0
mov dword [esp + 0x42a0], ebp
mov edx, dword [ebx + 4]
push edx
lea ecx, [esp + 0x18]
call fcn.004e5c00
cmp eax, ebp
je 0x50cf33
mov dword [esp + 0x42a0], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.004e5bf0
mov eax, 4
jmp 0x50d84d
mov dword [esp + 0x42a0], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.004e5bf0
lea ecx, [esp + 0x20]
call fcn.004024e0
mov dword [esp + 0x42a0], edi
lea ecx, [esp + 0x1c]
call fcn.004024e0
mov byte [esp + 0x42a0], 2
lea ecx, [esp + 0x18]
call fcn.004024e0
mov byte [esp + 0x42a0], 3
lea ecx, [esp + 0x28]
call fcn.004024e0
mov byte [esp + 0x42a0], 4
lea ecx, [esp + 0x24]
call fcn.004024e0
mov byte [esp + 0x42a0], 5
mov esi, dword [esp + 0x42b0]
cmp esi, ebp
je 0x50cfc9
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0051a100
add esp, 0x14
jmp 0x50d02f
push 0x1f
push str.www.internetdownloadmanager.com
lea ecx, [esp + 0x28]
call fcn.00402940
push 0x10
push 0x67a450
lea ecx, [esp + 0x24]
call fcn.00402940
push 0x67a44c
push 0x67a448
push 0x67a444
push str.register
lea edx, [esp + 0x28]
push str._s._s_s_s
push edx
call fcn.00402f60
add esp, 0x18
push 5
push str.tcidm
lea ecx, [esp + 0x30]
call fcn.00402940
push 8
push str.azcfgped
lea ecx, [esp + 0x2c]
call fcn.00402940
lea ecx, [esp + 0x44]
call fcn.0059d310
mov byte [esp + 0x42a0], 6
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
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.0059b050
lea ecx, [esp + 0xd3c]
call fcn.00568340
mov byte [esp + 0x42a0], 7
lea ecx, [esp + 0x34]
push ecx
push 0x400
lea esi, [ebx + 0xc]
push esi
lea ecx, [esp + 0xd48]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebp
call fcn.00564fe0
test eax, eax
je 0x50d0cb
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x50d0cb
cmp dword [esp + 0x38], ebp
je 0x50d0cb
push eax
lea edx, [esp + 0x1e8]
push str.IDM_DataType_a1:_s
push edx
mov byte [esp + 0x1ec], 1
call fcn.00402f60
add esp, 0xc
jmp 0x50d0da
push 0x400
push esi
lea ecx, [esp + 0x6c]
call fcn.005aef10
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x50d0eb
push eax
call fcn.005f9aa9
add esp, 4
push 0xa
push str.text_plain
lea ecx, [esp + 0x13c]
call fcn.00402940
cmp dword [ebx + 0x514], ebp
je 0x50d13a
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x4c], ebp
mov byte [esp + 0xaa5], 0
call fcn.004a7510
add esp, 4
cmp dword [esp + 0x968], ebp
jne 0x50d132
cmp byte [esp + 0xac4], 0
je 0x50d148
mov dword [ebx + 0x518], edi
jmp 0x50d148
mov byte [esp + 0xaa1], 1
mov dword [ebx + 0x518], ebp
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.0059b150
mov ecx, dword [ebx + 8]
cmp ecx, ebp
je 0x50d16c
mov eax, edi
cmp dword [ebx + 0x51c], ebp
je 0x50d171
mov eax, 4
mov dword [esp + 0x48], eax
cmp ecx, ebp
je 0x50d186
cmp dword [ebx + 0x51c], ebp
jne 0x50d186
mov eax, dword [ebx + 4]
jmp 0x50d188
xor eax, eax
mov dword [esp + 0x44], eax
mov byte [esp + 0xadc], 1
mov byte [esp + 0x1c3], 0
mov byte [esp + 0x38d], 1
mov byte [esp + 0x38e], 1
cmp dword [ebx + 0x51c], ebp
je 0x50d1bc
mov byte [esp + 0x1ff], 1
push edi
lea ecx, [esp + 0x48]
call fcn.005aac70
mov eax, dword [esp + 0x960]
cmp eax, 3
je 0x50d1f3
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp eax, ebp
je 0x50d2b2
push 0xc8
call esi
mov eax, dword [esp + 0x960]
cmp eax, 3
jne 0x50d1d8
mov eax, dword [esp + 0x94]
push 0x65a7e0
push eax
call fcn.005fb2bd
mov edi, eax
add esp, 8
cmp edi, ebp
jne 0x50d364
mov ecx, dword [esp + 0x94]
push ecx
call fcn.005fc153
add esp, 4
lea ecx, [esp + 0x44]
call fcn.005a1560
mov byte [esp + 0x42a0], 6
lea ecx, [esp + 0xd3c]
call fcn.005bdc40
mov byte [esp + 0x42a0], 5
lea ecx, [esp + 0x44]
call fcn.0059d500
mov byte [esp + 0x42a0], 4
lea ecx, [esp + 0x24]
call fcn.00402550
mov byte [esp + 0x42a0], 3
lea ecx, [esp + 0x28]
call fcn.00402550
mov byte [esp + 0x42a0], 2
lea ecx, [esp + 0x18]
call fcn.00402550
mov byte [esp + 0x42a0], 1
lea ecx, [esp + 0x1c]
call fcn.00402550
mov dword [esp + 0x42a0], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00402550
mov eax, 4
jmp 0x50d84d
mov eax, dword [esp + 0x94]
cmp eax, ebp
je 0x50d2c6
push eax
call fcn.005fc153
add esp, 4
lea ecx, [esp + 0x44]
call fcn.005a1560
cmp byte [esp + 0x1ff], 0
jne 0x50d22b
mov byte [esp + 0x42a0], 6
lea ecx, [esp + 0xd3c]
call fcn.005bdc40
mov byte [esp + 0x42a0], 5
lea ecx, [esp + 0x44]
call fcn.0059d500
mov byte [esp + 0x42a0], 4
lea ecx, [esp + 0x24]
call fcn.00402550
mov byte [esp + 0x42a0], 3
lea ecx, [esp + 0x28]
call fcn.00402550
mov byte [esp + 0x42a0], 2
lea ecx, [esp + 0x18]
call fcn.00402550
mov byte [esp + 0x42a0], 1
lea ecx, [esp + 0x1c]
call fcn.00402550
mov dword [esp + 0x42a0], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00402550
mov eax, 8
jmp 0x50d84d
push edi
call fcn.005ffb44
push eax
call fcn.005fdb1a
mov esi, eax
lea ebp, [esi + 1]
push ebp
call fcn.005cfaa6
push ebp
push 0
push eax
mov dword [esp + 0x2c], eax
call fcn.005f8cb0
mov edx, dword [esp + 0x2c]
push edi
push esi
push 1
push edx
call fcn.005fd808
push edi
mov ebp, eax
call fcn.005faf97
mov eax, dword [esp + 0xc0]
push eax
call fcn.005fc153
add esp, 0x30
lea ecx, [esp + 0x44]
call fcn.005a1560
mov ecx, dword [esp + 0x14]
push 0x100
lea edx, [esp + 0x4198]
push 0
push edx
mov byte [ecx + esi], 0
call fcn.005f8cb0
add esp, 0xc
mov esi, ebp
cmp ebp, 0x100
jb 0x50d3e5
mov esi, 0x100
mov edi, dword [esp + 0x14]
push esi
lea eax, [esp + 0x4198]
push edi
push eax
call fcn.005fa190
mov ecx, dword [esp + 0x3c]
push esi
push edi
push ecx
call fcn.005fa190
mov edx, dword [0x710268]
mov eax, edx
add esp, 0x18
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x50d412
sub eax, edi
push eax
push edx
push esi
lea edx, [esp + 0x41a0]
push edx
lea ecx, [ebx + 0x508]
call fcn.00446bb0
lea esi, [ebx + 0x43e]
mov edx, esi
lea ecx, [esp + 0x4194]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x50d460
test al, al
je 0x50d45c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x50d460
add ecx, 2
add edx, 2
test al, al
jne 0x50d440
xor eax, eax
jmp 0x50d465
sbb eax, eax
sbb eax, 0xffffffff
xor eax, eax
jne 0x50d5fc
mov dword [esp + 0x30], eax
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x50d476
sub eax, edx
cmp byte [esp + eax + 0x4196], cl
lea esi, [esp + eax + 0x4196]
je 0x50d5af
lea edi, [ebx + 0x50c]
push edi
push 0x65a968
push esi
call fcn.005f9f5e
mov eax, dword [edi]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add esp, 0xc
test eax, eax
jle 0x50d500
cmp dword [0x70fbf0], 0
mov dword [0x710018], eax
je 0x50d4de
mov eax, dword [edi]
mov ecx, dword [0x70fbf0]
push eax
push 0x14a7
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x50d500
mov eax, dword [0x70f604]
test eax, eax
je 0x50d500
mov edx, dword [edi]
push 4
lea ecx, [esp + 0x30]
push ecx
push 4
push 0
push str.nExpDt
push eax
mov dword [esp + 0x44], edx
call ebp
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x50d505
sub eax, edx
add eax, 2
add esi, eax
cmp byte [esi], cl
je 0x50d5c4
add ebx, 0x510
push ebx
push 0x65a968
push esi
call fcn.005f9f5e
add esp, 0xc
cmp dword [ebx], 0
jne 0x50d53b
mov dword [ebx], 0xffffffff
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x50d540
sub eax, edx
add eax, 2
add esi, eax
cmp byte [esi], cl
je 0x50d5c4
lea edx, [esp + 0x2c]
push edx
push 0x65a968
push esi
mov dword [esp + 0x38], 0
call fcn.005f9f5e
add esp, 0xc
cmp eax, 1
jne 0x50d5c4
cmp dword [esp + 0x2c], 0
je 0x50d5c4
lea eax, [esp + 0x3c]
push eax
call fcn.005fbc53
mov ecx, dword [esp + 0x30]
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 [0x70f604]
push str.ptrk_scdt
push ecx
mov dword [esp + 0x58], edx
call ebp
jmp 0x50d5c4
mov eax, dword [0x70f604]
test eax, eax
je 0x50d5c4
push str.nExpDt
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [0x70fbf0]
test eax, eax
je 0x50d5e9
push 1
push 0x14bb
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov esi, dword [esp + 0x30]
jmp 0x50d7c1
mov esi, dword [esp + 0x30]
mov dword [0x70fbc0], 2
jmp 0x50d7c1
mov ecx, dword [0x710e7c]
lea eax, [esp + 0x4194]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x50d630
test dl, dl
je 0x50d62c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x50d630
add eax, 2
add ecx, 2
test dl, dl
jne 0x50d610
xor eax, eax
jmp 0x50d635
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x50d641
lea esi, [eax + 1]
jmp 0x50d7c1
mov ecx, dword [0x710e80]
lea eax, [esp + 0x4194]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x50d670
test dl, dl
je 0x50d66c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x50d670
add eax, 2
add ecx, 2
test dl, dl
jne 0x50d650
xor eax, eax
jmp 0x50d675
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x50d681
lea esi, [eax + 2]
jmp 0x50d7c1
mov ecx, dword [0x710e88]
lea eax, [esp + 0x4194]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x50d6b0
test dl, dl
je 0x50d6ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x50d6b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x50d690
xor eax, eax
jmp 0x50d6b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x50d6c1
lea esi, [eax + 7]
jmp 0x50d7c1
mov ecx, dword [0x710ea0]
lea eax, [esp + 0x4194]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x50d6f0
test dl, dl
je 0x50d6ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x50d6f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x50d6d0
xor eax, eax
jmp 0x50d6f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x50d701
lea esi, [eax + 0xa]
jmp 0x50d7c1
mov ecx, dword [0x710ea4]
lea eax, [esp + 0x4194]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x50d730
test dl, dl
je 0x50d72c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x50d730
add eax, 2
add ecx, 2
test dl, dl
jne 0x50d710
xor eax, eax
jmp 0x50d735
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x50d741
lea esi, [eax + 0xb]
jmp 0x50d7c1
mov ecx, dword [0x710ea8]
lea eax, [esp + 0x4194]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x50d770
test dl, dl
je 0x50d76c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x50d770
add eax, 2
add ecx, 2
test dl, dl
jne 0x50d750
xor eax, eax
jmp 0x50d775
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x50d77e
lea esi, [eax + 0xc]
jmp 0x50d7c1
mov ecx, dword [0x710e84]
lea eax, [esp + 0x4194]
jmp 0x50d790
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x50d7b0
test dl, dl
je 0x50d7ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x50d7b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x50d790
xor eax, eax
jmp 0x50d7b5
sbb eax, eax
sbb eax, 0xffffffff
xor edx, edx
test eax, eax
setne dl
add edx, 3
mov esi, edx
mov eax, dword [esp + 0x14]
push eax
call fcn.005cfa9b
add esp, 4
mov byte [esp + 0x42a0], 6
lea ecx, [esp + 0xd3c]
call fcn.005bdc40
mov byte [esp + 0x42a0], 5
lea ecx, [esp + 0x44]
call fcn.0059d500
mov byte [esp + 0x42a0], 4
lea ecx, [esp + 0x24]
call fcn.00402550
mov byte [esp + 0x42a0], 3
lea ecx, [esp + 0x28]
call fcn.00402550
mov byte [esp + 0x42a0], 2
lea ecx, [esp + 0x18]
call fcn.00402550
mov byte [esp + 0x42a0], 1
lea ecx, [esp + 0x1c]
call fcn.00402550
mov dword [esp + 0x42a0], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00402550
mov eax, esi
mov ecx, dword [esp + 0x4298]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4280]
xor ecx, esp
call fcn.005f85e7
add esp, 0x4290
ret 0xc