Function at 0x411120
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba883
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x6877f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0058db90
push 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 0x280], 0
push 0
push eax
call fcn.0058db90
add esp, 0x18
mov dword [ebp - 0x234], 0
xorps xmm0, xmm0
mov dword [ebp - 0x28c], 0
movups xmmword [ebp - 0x244], xmm0
mov dword [ebp - 0x288], 0
push 0
push 0
call fcn.00415400
mov edi, eax
mov dword [ebp - 0x28c], edi
lea eax, [ebp - 0x284]
mov dword [ebp - 4], 0
push eax
push 0xf003f
push 0
push str.SystemCurrentControlSet_servicesCtesHostSvcProviders
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x27c], eax
test eax, eax
je 0x411306
push 0x24
push str.Open_registry_failed_with_error:__ld
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040a020
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x278]
call fcn.00419ad0
mov esi, eax
push dword [ebp - 0x27c]
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00419ef0
lea eax, [ebp - 0x25c]
mov ecx, esi
push eax
call fcn.0041a330
push eax
mov byte [ebp - 4], 3
call fcn.00418bd0
mov edx, dword [ebp - 0x248]
add esp, 4
cmp edx, 0x10
jb 0x411297
mov ecx, dword [ebp - 0x25c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41128d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4116df
push edx
push ecx
call fcn.00575155
add esp, 8
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0xf
mov byte [ebp - 0x25c], 0
call fcn.00419ba0
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x4112f7
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4112ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4116e4
push edx
push ecx
call fcn.00575155
add esp, 8
mov dword [ebp - 0x27c], 0
jmp 0x411693
lea eax, [ebp - 0x280]
mov dword [ebp - 0x280], 0x104
push eax
lea eax, [ebp - 0x114]
xor esi, esi
push eax
push esi
push dword [ebp - 0x284]
mov dword [ebp - 0x27c], esi
call dword [sym.imp.SHLWAPI.dll_SHEnumKeyExA]
test eax, eax
jne 0x4115c0
nop dword [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x114]
movups xmmword [ebp - 0x244], xmm0
call fcn.00410f30
test eax, eax
je 0x41158c
lea eax, [ebp - 0x244]
mov edx, 4
lea esi, [ebp - 0x114]
mov ecx, eax
sub esi, ecx
nop dword [eax]
lea ecx, [edx + 0x7ffffffa]
test ecx, ecx
je 0x411399
mov cl, byte [esi + eax]
test cl, cl
je 0x411399
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x411380
test edx, edx
lea ecx, [eax - 1]
push 0
cmovne ecx, eax
lea edx, [ebp - 0x244]
mov byte [ecx], 0
lea ecx, [ebp - 0x114]
call fcn.00410ba0
lea eax, [ebp - 0x114]
mov dword [ebp - 0x234], 0
push eax
push str.SystemCurrentControlSet_servicesCtesHostSvcProviders
lea eax, [ebp - 0x218]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
mov dword [ebp - 0x294], 4
lea eax, [ebp - 0x298]
mov dword [ebp - 0x298], 4
xor esi, esi
mov dword [ebp - 0x290], esi
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x294]
push eax
push str.ScanType
lea eax, [ebp - 0x218]
push eax
push connect
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
mov dword [ebp - 0x220], 0
push 0x29
cmove esi, dword [ebp - 0x290]
lea ecx, [ebp - 0x230]
push str.Adding_component__s_into_the_providerlist
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040a020
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x278]
call fcn.00419ad0
mov esi, eax
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 5
push eax
mov ecx, esi
call fcn.0041a190
lea eax, [ebp - 0x25c]
mov ecx, esi
push eax
call fcn.0041a330
push eax
mov byte [ebp - 4], 6
call fcn.00418b30
mov byte [ebp - 4], 5
add esp, 4
mov edx, dword [ebp - 0x248]
cmp edx, 0x10
jb 0x4114e9
mov ecx, dword [ebp - 0x25c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4114df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4116df
push edx
push ecx
call fcn.00575155
add esp, 8
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0xf
mov byte [ebp - 0x25c], 0
call fcn.00419ba0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x41154d
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411543
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4116df
push edx
push ecx
call fcn.00575155
add esp, 8
mov esi, dword [edi + 4]
lea eax, [ebp - 0x244]
push eax
push esi
push edi
call fcn.004154b0
mov edx, dword [ebp - 0x288]
mov ecx, 0x9249248
sub ecx, edx
cmp ecx, 1
jb 0x4116ee
mov dword [edi + 4], eax
inc edx
mov edi, dword [ebp - 0x28c]
mov dword [esi], eax
mov esi, dword [ebp - 0x27c]
mov dword [ebp - 0x288], edx
lea eax, [ebp - 0x280]
mov dword [ebp - 0x280], 0x104
push eax
lea eax, [ebp - 0x114]
inc esi
push eax
push esi
push dword [ebp - 0x284]
mov dword [ebp - 0x27c], esi
call dword [sym.imp.SHLWAPI.dll_SHEnumKeyExA]
test eax, eax
je 0x411340
sub esp, 8
lea eax, [ebp - 0x28c]
mov ecx, esp
push eax
call fcn.004152d0
call fcn.004131e0
add esp, 8
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
lea ecx, [ebp - 0x230]
mov byte [ebp - 0x230], 0
test eax, eax
je 0x41164f
push 0x2d
push str.ProviderList_updated_in_GetInstalledProviders
call fcn.0040a020
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 7
push eax
call fcn.00419230
mov edx, dword [ebp - 0x21c]
add esp, 4
cmp edx, 0x10
jb 0x411677
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41166d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4116e9
jmp 0x41166d
push 0x36
push str.ProviderList_Failed_to_update_in_GetInstalledProviders
call fcn.0040a020
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 8
push eax
call fcn.00418bd0
jmp 0x41161a
push edx
push ecx
call fcn.00575155
add esp, 8
push dword [ebp - 0x284]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x28c]
mov dword [ebp - 0x27c], 1
mov eax, dword [edi]
mov dword [edi], edi
mov dword [edi + 4], edi
cmp eax, edi
je 0x4116b3
nop
mov esi, dword [eax]
push 0x1c
push eax
call fcn.00575155
add esp, 8
mov eax, esi
cmp esi, edi
jne 0x4116a0
push 0x1c
push edi
call fcn.00575155
mov eax, dword [ebp - 0x27c]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00574c7a
mov esp, ebp
pop ebp
ret
call fcn.0059b248
call fcn.0059b248
call fcn.0059b248
push str.list_T__too_long
call fcn.005733fa
int3