Function at 0x10019e90
Capabilities:
Persist via run registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x75c
mov eax, dword [0x1017455c]
xor eax, esp
mov dword [esp + 0x754], eax
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
xor ebx, ebx
mov edi, edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], edi
cmp eax, ebx
je 0x10019ec7
push eax
call fcn.1010dc10
add esp, 4
mov dword [esi], ebx
mov eax, dword [edi]
cmp eax, ebx
je 0x10019ed8
push eax
call fcn.1010dc10
add esp, 4
mov dword [edi], ebx
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x10019eff
push 0x10156808
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x10019eff
call eax
mov dword [esp + 0x14], eax
jmp 0x10019f03
mov dword [esp + 0x14], ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x24], ebx
jne 0x10019f31
lea eax, [esp + 0x20]
push eax
push 9
push ebx
push ebx
push reloc.WS2_32.dll_closesocket
jmp 0x10019f43
lea ecx, [esp + 0x20]
push ecx
push 9
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionProfileList
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
mov esi, eax
push esi
call edi
cmp esi, ebx
jne 0x1001a900
push 0x207
lea edx, [esp + 0x45]
push ebx
push edx
mov byte [esp + 0x4c], bl
call fcn.10116880
push 0x103
lea eax, [esp + 0x461]
push ebx
mov esi, 0x208
push eax
mov dword [esp + 0x30], esi
mov byte [esp + 0x468], bl
call fcn.10116880
push 0x207
lea ecx, [esp + 0x265]
push ebx
push ecx
call fcn.10116880
add esp, 0x24
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x24]
push ebx
push ebx
push ebx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x25c]
push ecx
push ebx
push edx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x268], bl
mov dword [esp + 0x50], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1001a8f5
jmp 0x10019fe0
cmp byte [esp + 0x248], bl
je 0x1001a8b4
lea eax, [esp + 0x248]
push str.S_1_5_11
push eax
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea ecx, [esp + 0x248]
push str.S_1_5_32_545
push ecx
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea edx, [esp + 0x248]
push str.S_1_1_0
push edx
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea eax, [esp + 0x248]
push str.S_1_5_4
push eax
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea ecx, [esp + 0x248]
push str.S_1_5_32_544
push ecx
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea edx, [esp + 0x248]
push str.S_1_5_32_546
push edx
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea eax, [esp + 0x248]
push str.S_1_5_32_548
push eax
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea ecx, [esp + 0x248]
push str.S_1_5_32_549
push ecx
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea edx, [esp + 0x248]
push str.S_1_5_32_550
push edx
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea eax, [esp + 0x248]
push str.S_1_5_32_551
push eax
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea ecx, [esp + 0x248]
push str.S_1_5_32_552
push ecx
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea edx, [esp + 0x248]
push str.S_1_5_21_917267712_1342860078_1792151419_512
push edx
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea eax, [esp + 0x248]
push str.S_1_5_21_917267712_1342860078_1792151419_513
push eax
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea ecx, [esp + 0x248]
push str.S_1_5_21_917267712_1342860078_1792151419_514
push ecx
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea edx, [esp + 0x248]
push str.S_1_3_0
push edx
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea eax, [esp + 0x248]
push str.S_1_5_7
push eax
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea ecx, [esp + 0x248]
push str.S_1_5_32_547
push ecx
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea edx, [esp + 0x248]
push str.S_1_5_13
push edx
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea eax, [esp + 0x248]
push str.S_1_5_32_555
push eax
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea ecx, [esp + 0x248]
push str.S_1_5_32_556
push ecx
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea edx, [esp + 0x248]
push str.S_1_5_20
push edx
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea eax, [esp + 0x248]
push str.S_1_3_0
push eax
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea ecx, [esp + 0x248]
push str.S_1_5_2
push ecx
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea edx, [esp + 0x248]
push str.S_1_5_18
push edx
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea eax, [esp + 0x248]
push str.S_1_5_19
push eax
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea ecx, [esp + 0x248]
push str..default
push ecx
call fcn.1011c280
add esp, 8
test eax, eax
je 0x1001a8b4
lea edx, [esp + 0x248]
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x450]
push edx
cmp dword [esp + 0x28], ebx
jne 0x1001a337
push str._sSoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push eax
call fcn.1010d6a8
lea ecx, [esp + 0x254]
push ecx
lea edx, [esp + 0x568]
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionProfileList_s
push edx
call fcn.1010d6a8
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
push 1
push ebx
lea ecx, [esp + 0x45c]
push ecx
push reloc.WS2_32.dll_closesocket
jmp 0x1001a361
push 0x1013fb04
push eax
mov byte [esp + 0x564], bl
call fcn.1010d6a8
mov eax, dword [esp + 0x2c]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push 1
push ebx
lea edx, [esp + 0x45c]
push edx
push eax
call ebp
mov esi, eax
push esi
call edi
cmp esi, ebx
jne 0x1001a8b4
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x44]
push edx
push ebx
mov byte [esp + 0x4c], bl
mov dword [esp + 0x24], 0x208
push ebx
cmp dword [esp + 0x34], ebx
jne 0x1001a60a
push str.Desktop
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001a3fa
cmp byte [esp + 0x40], bl
je 0x1001a404
push 1
lea ecx, [esp + 0x44]
push ecx
call sym.EncDec.dll_IsItEnvStringType
lea edi, [esp + 0x40]
call fcn.10044b00
test eax, eax
je 0x1001a5e9
cmp dword [esp + 0x14], ebx
je 0x1001a3fa
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
cmp eax, ebx
je 0x1001a3e8
push 0x2c
mov ecx, edi
push ecx
push eax
call sym.EncDec.dll_CheckIfPresentInCommaList
test eax, eax
jne 0x1001a3fa
lea edx, [esp + 0x40]
push edx
push str.DESKTOP_PRESENT:__s_n
call fcn.1010e391
add esp, 8
cmp byte [esp + 0x40], bl
jne 0x1001a4bd
cmp byte [esp + 0x558], bl
je 0x1001a4b7
push str.ProfileImagePath
lea eax, [esp + 0x1c]
lea edi, [esp + 0x44]
lea ecx, [esp + 0x55c]
mov edx, reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x44], bl
mov dword [esp + 0x1c], 0x208
call fcn.100315c0
cmp byte [esp + 0x40], bl
je 0x1001a4d0
mov ecx, edi
call fcn.10049c40
mov eax, edi
dec eax
nop
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x1001a450
mov edx, dword [str.Desktop]
mov ecx, dword [0x1014b95c]
mov dword [eax], edx
push 1
lea edx, [esp + 0x44]
push edx
mov dword [eax + 4], ecx
call sym.EncDec.dll_IsItEnvStringType
lea edi, [esp + 0x40]
call fcn.10044b00
test eax, eax
je 0x1001a6c3
cmp dword [esp + 0x14], ebx
je 0x1001a4b7
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
cmp eax, ebx
je 0x1001a4a5
push 0x2c
mov ecx, edi
push ecx
push eax
call sym.EncDec.dll_CheckIfPresentInCommaList
test eax, eax
jne 0x1001a4b7
lea edx, [esp + 0x40]
push edx
push str.ALT_DESKTOP_PRESENT:__s_n
call fcn.1010e391
add esp, 8
cmp byte [esp + 0x40], bl
je 0x1001a4d0
mov edx, dword [esp + 0x2c]
push 1
push 0x2c
lea ecx, [esp + 0x48]
push ecx
push edx
call sym.EncDec.dll_AddToCommaList_Malloc
mov esi, dword [esp + 0x14]
mov byte [esp + 0x40], bl
mov dword [esp + 0x18], 0x208
cmp dword [esp + 0x24], ebx
jne 0x1001a705
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x44]
push ecx
push ebx
push ebx
push str.Personal
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001a55c
cmp byte [esp + 0x40], bl
je 0x1001a566
push 1
lea eax, [esp + 0x44]
push eax
call sym.EncDec.dll_IsItEnvStringType
lea edi, [esp + 0x40]
call fcn.10044b00
test eax, eax
je 0x1001a6e6
cmp esi, ebx
je 0x1001a55c
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
cmp eax, ebx
je 0x1001a54a
push 0x2c
mov edx, edi
push edx
push eax
call sym.EncDec.dll_CheckIfPresentInCommaList
test eax, eax
jne 0x1001a55c
lea eax, [esp + 0x40]
push eax
push str.DOCUMENTS_PRESENT:__s_n
call fcn.1010e391
add esp, 8
cmp byte [esp + 0x40], bl
jne 0x1001a890
cmp byte [esp + 0x558], bl
je 0x1001a88a
push str.ProfileImagePath
lea eax, [esp + 0x1c]
lea edi, [esp + 0x44]
lea ecx, [esp + 0x55c]
mov edx, reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x44], bl
mov dword [esp + 0x1c], 0x208
call fcn.100315c0
cmp byte [esp + 0x40], bl
je 0x1001a8a3
mov ecx, edi
call fcn.10049c40
call fcn.1004fe90
test eax, eax
mov eax, edi
je 0x1001a812
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x1001a5c0
mov edx, dword [str.Documents]
mov ecx, dword [0x1014ba14]
mov dword [eax], edx
mov dx, word [0x1014ba18]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
jmp 0x1001a83e
cmp dword [esp + 0x14], ebx
je 0x1001a601
lea eax, [esp + 0x40]
push eax
push str.DESKTOP_ABSENT:__s_n
call fcn.1010e391
add esp, 8
mov byte [esp + 0x40], bl
jmp 0x1001a404
push str.ProfileImagePath
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001a3fa
cmp byte [esp + 0x40], bl
je 0x1001a404
lea ecx, [esp + 0x40]
call fcn.10049c40
lea eax, [esp + 0x40]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x1001a636
mov ecx, dword [str.Desktop]
mov edx, dword [0x1014b95c]
mov dword [eax], ecx
mov dword [eax + 4], edx
push 1
lea eax, [esp + 0x44]
push eax
call sym.EncDec.dll_IsItEnvStringType
lea edi, [esp + 0x40]
call fcn.10044b00
test eax, eax
je 0x1001a69e
cmp dword [esp + 0x14], ebx
je 0x1001a3fa
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
cmp eax, ebx
je 0x1001a68f
push 0x2c
mov edx, edi
push edx
push eax
call sym.EncDec.dll_CheckIfPresentInCommaList
test eax, eax
jne 0x1001a3fa
lea eax, [esp + 0x40]
push eax
push str.ALT_DESKTOP_PRESENT:__s_n
jmp 0x1001a3f2
cmp dword [esp + 0x14], ebx
je 0x1001a601
lea ecx, [esp + 0x40]
push ecx
push str.ALT_DESKTOP_ABSENT:__s_n
call fcn.1010e391
add esp, 8
mov byte [esp + 0x40], bl
jmp 0x1001a404
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x1001a4d4
lea eax, [esp + 0x40]
push eax
push str.ALT_DESKTOP_ABSENT:__s_n
call fcn.1010e391
add esp, 8
jmp 0x1001a4d4
cmp esi, ebx
je 0x1001a6fc
lea ecx, [esp + 0x40]
push ecx
push str.DOCUMENTS_ABSENT:__s_n
call fcn.1010e391
add esp, 8
mov byte [esp + 0x40], bl
jmp 0x1001a566
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x44]
push eax
push ebx
push ebx
push str.ProfileImagePath
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001a55c
cmp byte [esp + 0x40], bl
je 0x1001a566
lea ecx, [esp + 0x40]
call fcn.10049c40
call fcn.1004fe90
test eax, eax
lea eax, [esp + 0x40]
je 0x1001a776
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x1001a750
mov edx, dword [str.Documents]
mov ecx, dword [0x1014ba14]
mov dword [eax], edx
mov dx, word [0x1014ba18]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
jmp 0x1001a7a2
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x1001a777
mov ecx, dword [str.My_Documents]
mov edx, dword [0x1014ba20]
mov dword [eax], ecx
mov ecx, dword [0x1014ba24]
mov dword [eax + 4], edx
mov dl, byte [0x1014ba28]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], dl
push 1
lea eax, [esp + 0x44]
push eax
call sym.EncDec.dll_IsItEnvStringType
lea edi, [esp + 0x40]
call fcn.10044b00
test eax, eax
je 0x1001a7ef
cmp esi, ebx
je 0x1001a55c
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
cmp eax, ebx
je 0x1001a7e0
push 0x2c
mov edx, edi
push edx
push eax
call sym.EncDec.dll_CheckIfPresentInCommaList
test eax, eax
jne 0x1001a55c
lea eax, [esp + 0x40]
push eax
push str.ALT_DOCUMENTS_PRESENT:__s_n
jmp 0x1001a554
cmp esi, ebx
je 0x1001a6fc
lea ecx, [esp + 0x40]
push ecx
push str.ALT_DOCUMENTS_ABSENT:__s_n
call fcn.1010e391
add esp, 8
mov byte [esp + 0x40], bl
jmp 0x1001a566
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x1001a813
mov ecx, dword [str.My_Documents]
mov edx, dword [0x1014ba20]
mov dword [eax], ecx
mov ecx, dword [0x1014ba24]
mov dword [eax + 4], edx
mov dl, byte [0x1014ba28]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], dl
push 1
lea eax, [esp + 0x44]
push eax
call sym.EncDec.dll_IsItEnvStringType
lea edi, [esp + 0x40]
call fcn.10044b00
test eax, eax
je 0x1001a92b
cmp esi, ebx
je 0x1001a88a
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
cmp eax, ebx
je 0x1001a878
push 0x2c
mov edx, edi
push edx
push eax
call sym.EncDec.dll_CheckIfPresentInCommaList
test eax, eax
jne 0x1001a88a
lea eax, [esp + 0x40]
push eax
push str.ALT_DOCUMENTS_PRESENT:__s_n
call fcn.1010e391
add esp, 8
cmp byte [esp + 0x40], bl
je 0x1001a8a3
mov eax, dword [esp + 0x28]
push 1
push 0x2c
lea edx, [esp + 0x48]
push edx
push eax
call sym.EncDec.dll_AddToCommaList_Malloc
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x38]
push edx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x40]
push ecx
inc eax
lea edx, [esp + 0x25c]
push edx
push eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
push eax
mov byte [esp + 0x268], bl
mov dword [esp + 0x50], 0x208
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x10019fe0
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 2
mov dword [esp + 0x24], eax
jl 0x10019f13
mov ecx, dword [esp + 0x764]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1010d699
add esp, 0x75c
ret
cmp esi, ebx
je 0x1001a941
lea ecx, [esp + 0x40]
push ecx
push str.ALT_DOCUMENTS_ABSENT:__s_n
call fcn.1010e391
add esp, 8
mov byte [esp + 0x40], bl
jmp 0x1001a8a3