Function at 0x419860
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry key

Disassembly:
push esi
push edi
push ebx
push ebp
push ecx
mov eax, 0x1380
call fcn.00424e80
mov ecx, dword [esp + 0x1380]
xor eax, eax
mov esi, dword [esp + 0x1398]
mov ebx, ecx
mov edi, dword [esp + 0x13a4]
mov dword [esp + 0x1378], eax
mov dword [esp + 0x137c], eax
push esi
call fcn.0041b020
mov ebp, eax
test ebp, ebp
jl 0x41a754
cmp byte [esi], 0x7d
je 0x41a442
mov ebp, dword [esp + 0x13a0]
mov eax, 1
mov dword [esp + 0x1380], edi
push str.Delete
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
xor edi, edi
test eax, eax
push str.ForceRemove
mov eax, 1
push esi
cmove edi, eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4198f2
test edi, edi
je 0x419b5c
mov ecx, ebx
push esi
call fcn.0041b020
mov edx, eax
test edx, edx
jl 0x41a729
test ebp, ebp
je 0x419b5c
movsx edx, byte [esi]
mov eax, esi
test edx, edx
je 0x41992c
cmp byte [eax], 0x5c
je 0x41a4c5
push eax
call dword [sym.imp.USER32.dll_CharNextA]
movsx edx, byte [eax]
test edx, edx
jne 0x419915
xor eax, eax
mov ebp, eax
push dword [ebp*4 + 0x44e1c8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x41a4b9
inc ebp
cmp ebp, 0xc
jl 0x419930
xor edx, edx
lea eax, [esp + 0x136c]
mov ebp, dword [esp + 0x13a0]
mov dword [esp + 0x1364], edx
mov dword [esp + 0x1368], edx
mov dword [esp + 0x136c], edx
push eax
push 0x2001f
push edx
push esi
push dword [esp + 0x13ac]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0x1364]
test eax, eax
jne 0x4199b9
test ecx, ecx
je 0x41999e
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4199a0
xor eax, eax
mov ecx, dword [esp + 0x136c]
mov dword [esp + 0x1364], ecx
mov dword [esp + 0x1368], 0
test eax, eax
jne 0x419b0b
mov dword [esp + 0x1370], 0x100
lea eax, [esp + 0x1334]
lea edx, [esp + 0x1370]
push eax
xor eax, eax
push eax
push eax
push eax
push edx
lea edx, [esp + 0x111c]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x419a6e
mov dword [esp + 0x1354], edi
lea esi, [esp + 0x1334]
mov dword [esp + 0x1350], ebx
lea edi, [esp + 0x1370]
xor ebp, ebp
lea ebx, [esp + 0x1108]
push ebx
lea ecx, [esp + 0x1368]
call fcn.0041a790
test eax, eax
jne 0x41a477
mov dword [esp + 0x1370], 0x100
push esi
push ebp
push ebp
push ebp
push edi
push ebx
push ebp
push dword [esp + 0x1380]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x419a1a
mov edi, dword [esp + 0x1354]
mov ebx, dword [esp + 0x1350]
mov ebp, dword [esp + 0x13a0]
mov esi, dword [esp + 0x1398]
mov eax, dword [esp + 0x1364]
test eax, eax
je 0x419a8b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1364], 0
movzx eax, byte [0x44b2fc]
test eax, eax
mov dword [esp + 0x1368], 0
je 0x419aa8
mov eax, dword [0x44b300]
jmp 0x419ad6
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x419aca
push str.RegDeleteKeyExA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x44b300], eax
jmp 0x419acf
mov eax, dword [0x44b300]
mov byte [0x44b2fc], 1
test eax, eax
je 0x41a463
xor edx, edx
push edx
push edx
push esi
push dword [esp + 0x13a8]
call eax
mov eax, dword [esp + 0x1364]
test eax, eax
je 0x419b21
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1364], 0
jmp 0x419b21
test ecx, ecx
je 0x419b21
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1364], 0
mov dword [esp + 0x1368], 0
test edi, edi
je 0x419b5c
mov ecx, ebx
push esi
call fcn.0041b020
mov edx, eax
test edx, edx
jl 0x41a729
mov ecx, ebx
push esi
call fcn.0041af80
mov edx, eax
test edx, edx
jl 0x41a440
movsx ecx, byte [esi]
jmp 0x41a42e
push str.NoRemove
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x419b82
mov ecx, ebx
push esi
call fcn.0041b020
mov edx, eax
test edx, edx
jl 0x41a440
xor edi, edi
jmp 0x419b87
mov edi, 1
push 0x43a7e0
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x419cd0
mov ecx, ebx
lea eax, [esp + 0x100]
push eax
call fcn.0041b020
mov edx, eax
test edx, edx
jl 0x41a729
mov ecx, ebx
push esi
call fcn.0041b020
mov edx, eax
test edx, edx
jl 0x41a729
cmp byte [esi], 0x3d
jne 0x41a542
test ebp, ebp
jne 0x419c7d
cmp dword [esp + 0x1380], 0
jne 0x419c63
test edi, edi
je 0x419c63
xor edx, edx
lea eax, [esp + 0x135c]
mov dword [esp + 0x135c], edx
push eax
push 0x20006
push edx
push edx
push dword [esp + 0x13ac]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x419c22
push eax
call fcn.0041b410
add esp, 4
mov ebp, eax
jmp 0x41a442
mov edx, dword [esp + 0x135c]
lea eax, [esp + 0x100]
mov dword [esp + 0x1344], edx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x419c4c
cmp eax, 2
jne 0x41a4e9
cmp dword [esp + 0x1344], 0
je 0x419c63
push dword [esp + 0x1344]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, ebx
push esi
call fcn.0041af80
mov edx, eax
test edx, edx
jl 0x41a440
movsx ecx, byte [esi]
jmp 0x41a437
mov eax, dword [esp + 0x139c]
lea edi, [esp + 0x1328]
mov dword [esp + 0x1328], eax
mov ecx, ebx
mov dword [esp + 0x132c], 0
push esi
lea edx, [esp + 0x104]
push edx
push edi
call fcn.0041a990
mov edx, eax
test edx, edx
jl 0x41a50f
xor ecx, ecx
mov dword [esp + 0x132c], ecx
mov dword [esp + 0x1328], ecx
movsx ecx, byte [esi]
jmp 0x41a42e
movsx edx, byte [esi]
mov eax, esi
test edx, edx
je 0x419cf0
cmp byte [eax], 0x5c
je 0x41a730
push eax
call dword [sym.imp.USER32.dll_CharNextA]
movsx edx, byte [eax]
test edx, edx
jne 0x419cd9
test ebp, ebp
jne 0x41a2e5
cmp dword [esp + 0x1380], 0
je 0x419d0f
mov dword [esp + 0x1374], 2
jmp 0x419d8c
xor edx, edx
lea eax, [esp + 0x1358]
mov dword [esp + 0x1358], edx
push eax
push 0x20019
push edx
push esi
push dword [esp + 0x13ac]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [esp + 0x1374], eax
cmp dword [esp + 0x1374], 0
jne 0x419d82
mov eax, dword [esp + 0x1378]
test eax, eax
je 0x419d60
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1374], eax
jmp 0x419d69
xor eax, eax
mov dword [esp + 0x1374], eax
mov eax, dword [esp + 0x1358]
mov dword [esp + 0x1378], eax
mov dword [esp + 0x137c], 0
cmp dword [esp + 0x1374], 0
je 0x419d98
mov eax, 1
mov dword [esp + 0x1380], eax
lea eax, [esp + 0x121c]
push 0xffffffffffffffff
push esi
push 0x104
push eax
call fcn.00425dbb
add esp, 0x10
cmp eax, 0x22
ja case.0x419dbc.4635
mov edx, dword [eax*4 + 0x439ca0]
jmp edx
push 0x80070057
call fcn.0041fe50
push 0x8007000e
call fcn.0041fe50
cmp eax, 0x50
jne 0x41a2db
mov ecx, ebx
push esi
call fcn.0041b020
mov edx, eax
test edx, edx
jl 0x41a729
mov ecx, ebx
push esi
call fcn.0041af80
mov edx, eax
test edx, edx
jl 0x41a729
cmp byte [esi], 0x7b
je 0x41a638
mov ecx, dword [esp + 0x13a4]
mov dword [esp + 0x1380], ecx
cmp dword [esp + 0x1374], 2
je 0x419c75
cmp dword [esp + 0x1374], 0
je 0x419e45
mov ecx, dword [esp + 0x13a4]
test ecx, ecx
je 0x41a566
movsx ecx, byte [esi]
jmp 0x41a437
mov ecx, dword [esp + 0x13a4]
test ecx, ecx
je 0x41a18e
xor eax, eax
lea ecx, [esp + 0x133c]
mov dword [esp + 0x133c], eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push ecx
push eax
push eax
push eax
push dword [esp + 0x13a4]
mov dword [esp + 0x137c], edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov edx, dword [esp + 0x134c]
test eax, eax
jne 0x41a18e
cmp dword [esp + 0x133c], 0
jbe 0x41a18e
xor eax, eax
lea esi, [esp + 0x121c]
mov dword [esp + 0x1350], ebx
mov ebp, eax
mov ebx, edx
push dword [ebp*4 + 0x44e1c8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x41a5f8
inc ebp
cmp ebp, 0xc
jl 0x419eb4
mov ebp, dword [esp + 0x13a0]
mov edx, ebx
mov esi, dword [esp + 0x1398]
test edi, edi
mov ebx, dword [esp + 0x1350]
jne 0x419ef3
movsx ecx, byte [esi]
jmp 0x41a437
mov edi, dword [esp + 0x137c]
lea ecx, [esp + 0x1208]
xor eax, eax
or edi, 0x2001f
mov dword [esp + 0x1210], eax
mov dword [esp + 0x1214], eax
mov dword [esp + 0x120c], edi
mov dword [esp + 0x1208], eax
push ecx
push edi
push eax
lea ecx, [esp + 0x1228]
push ecx
push dword [esp + 0x1388]
mov dword [esp + 0x1360], edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, dword [esp + 0x134c]
mov edi, eax
mov eax, dword [esp + 0x1210]
test edi, edi
jne 0x419f9b
test eax, eax
je 0x419f75
push eax
mov dword [esp + 0x1350], edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x134c]
mov edi, eax
jmp 0x419f79
xor eax, eax
xor edi, edi
mov eax, dword [esp + 0x1208]
mov ecx, dword [esp + 0x120c]
and ecx, 0x300
mov dword [esp + 0x1210], eax
mov dword [esp + 0x1214], ecx
test edi, edi
jne 0x41a157
mov dword [esp + 0x1218], 0x100
lea ecx, [esp + 0x1100]
lea edi, [esp + 0x1218]
push ecx
xor ecx, ecx
push ecx
push ecx
push ecx
push edi
lea edi, [esp + 0x14]
push edi
push ecx
push eax
mov dword [esp + 0x136c], edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov edx, dword [esp + 0x134c]
test eax, eax
jne 0x41a057
mov dword [esp + 0x134c], edx
lea ebp, [esp + 0x1100]
mov dword [esp + 0x1350], ebx
lea esi, [esp + 0x1218]
xor ebx, ebx
lea edi, [esp]
push edi
lea ecx, [esp + 0x1214]
call fcn.0041a790
test eax, eax
jne 0x41a59e
mov dword [esp + 0x1218], 0x100
push ebp
push ebx
push ebx
push ebx
push esi
push edi
push ebx
push dword [esp + 0x122c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x41a003
mov edx, dword [esp + 0x134c]
mov ebx, dword [esp + 0x1350]
mov ebp, dword [esp + 0x13a0]
mov esi, dword [esp + 0x1398]
mov ecx, dword [esp + 0x1210]
test ecx, ecx
je 0x41a082
push ecx
mov dword [esp + 0x1350], edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x134c]
mov dword [esp + 0x1210], 0
movzx ecx, byte [0x44b2fc]
test ecx, ecx
mov dword [esp + 0x1214], 0
je 0x41a09f
mov eax, dword [0x44b300]
jmp 0x41a0e9
push str.Advapi32.dll
mov dword [esp + 0x1350], edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, dword [esp + 0x134c]
test eax, eax
je 0x41a0dd
push str.RegDeleteKeyExA
push eax
mov dword [esp + 0x1354], edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esp + 0x134c]
mov dword [0x44b300], eax
jmp 0x41a0e2
mov eax, dword [0x44b300]
mov byte [0x44b2fc], 1
test eax, eax
je 0x41a57d
push 0
push dword [esp + 0x1380]
lea ecx, [esp + 0x1224]
push ecx
push dword [esp + 0x1384]
mov dword [esp + 0x135c], edx
call eax
mov edx, dword [esp + 0x134c]
mov ecx, dword [esp + 0x1210]
test ecx, ecx
je 0x41a144
push ecx
mov dword [esp + 0x1350], edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x134c]
mov dword [esp + 0x1210], 0
mov dword [esp + 0x1214], 0
movsx ecx, byte [esi]
jmp 0x41a437
test eax, eax
je 0x41a17b
push eax
mov dword [esp + 0x1350], edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x134c]
mov dword [esp + 0x1210], 0
mov dword [esp + 0x1214], 0
movsx ecx, byte [esi]
jmp 0x41a437
xor eax, eax
lea ecx, [esp + 0x1348]
mov dword [esp + 0x1348], eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push ecx
push eax
push eax
push eax
push dword [esp + 0x13a4]
mov dword [esp + 0x137c], edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov edx, dword [esp + 0x134c]
test eax, eax
jne 0x41a1dd
xor ecx, ecx
cmp ecx, dword [esp + 0x1348]
adc ecx, 0
mov dword [esp + 0x1330], ecx
jmp 0x41a1e8
mov dword [esp + 0x1330], 0
mov ecx, dword [esp + 0x1378]
test ecx, ecx
je 0x41a215
push ecx
mov dword [esp + 0x1350], edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x134c]
mov dword [esp + 0x1378], 0
jmp 0x41a217
xor eax, eax
test eax, eax
jne 0x41a775
mov dword [esp + 0x137c], 0
test edi, edi
je 0x419c75
cmp dword [esp + 0x1330], 0
je 0x41a244
movsx ecx, byte [esi]
jmp 0x41a437
movzx ecx, byte [0x44b2fc]
test ecx, ecx
je 0x41a256
mov eax, dword [0x44b300]
jmp 0x41a2a0
push str.Advapi32.dll
mov dword [esp + 0x1350], edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, dword [esp + 0x134c]
test eax, eax
je 0x41a294
push str.RegDeleteKeyExA
push eax
mov dword [esp + 0x1354], edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esp + 0x134c]
mov dword [0x44b300], eax
jmp 0x41a299
mov eax, dword [0x44b300]
mov byte [0x44b2fc], 1
test eax, eax
je 0x41a617
xor ecx, ecx
push ecx
push ecx
lea edi, [esp + 0x1224]
push edi
push dword [esp + 0x13a8]
mov dword [esp + 0x135c], edx
call eax
mov edx, dword [esp + 0x134c]
test eax, eax
jne 0x419c12
movsx ecx, byte [esi]
jmp 0x41a437
push 0x80004005
call fcn.0041fe50
xor edx, edx
lea eax, [esp + 0x1360]
mov dword [esp + 0x1360], edx
push eax
push 0x2001f
push edx
push esi
push dword [esp + 0x13ac]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41a33d
mov eax, dword [esp + 0x1378]
test eax, eax
je 0x41a322
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41a324
xor eax, eax
mov edx, dword [esp + 0x1360]
mov dword [esp + 0x1378], edx
mov dword [esp + 0x137c], 0
test eax, eax
je 0x41a410
xor edx, edx
lea eax, [esp + 0x1340]
mov dword [esp + 0x1340], edx
push eax
push 0x20019
push edx
push esi
push dword [esp + 0x13ac]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41a39d
mov eax, dword [esp + 0x1378]
test eax, eax
je 0x41a382
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41a384
xor eax, eax
mov edx, dword [esp + 0x1340]
mov dword [esp + 0x1378], edx
mov dword [esp + 0x137c], 0
test eax, eax
je 0x41a410
xor ecx, ecx
lea eax, [esp + 0x1324]
mov dword [esp + 0x1320], ecx
lea edx, [esp + 0x1320]
push eax
push edx
push ecx
push 0x2001f
push ecx
push ecx
push ecx
push esi
push dword [esp + 0x13bc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, eax
test edi, edi
jne 0x41a408
mov eax, dword [esp + 0x1378]
test eax, eax
je 0x41a3ed
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
jmp 0x41a3ef
xor edi, edi
mov eax, dword [esp + 0x1320]
mov dword [esp + 0x1378], eax
mov dword [esp + 0x137c], 0
test edi, edi
jne 0x41a698
mov ecx, ebx
push esi
call fcn.0041b020
mov edx, eax
test edx, edx
jl 0x41a729
movsx ecx, byte [esi]
cmp ecx, 0x3d
je 0x41a709
cmp ecx, 0x7b
je 0x41a6bd
cmp ecx, 0x7d
jne 0x4198c2
mov ebp, edx
mov eax, dword [esp + 0x1378]
test eax, eax
je 0x41a454
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
add esp, 0x1384
pop ebp
pop ebx
pop edi
pop esi
ret 0x10
push esi
mov eax, dword [esp + 0x13a0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x419aec
mov eax, dword [esp + 0x1364]
test eax, eax
mov edi, dword [esp + 0x1354]
mov ebx, dword [esp + 0x1350]
mov ebp, dword [esp + 0x13a0]
mov esi, dword [esp + 0x1398]
je 0x419b21
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1364], 0
jmp 0x419b21
mov ebp, dword [esp + 0x13a0]
jmp 0x419b2c
mov eax, dword [esp + 0x1378]
test eax, eax
je 0x41a4d7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
add esp, 0x1384
pop ebp
pop ebx
pop edi
pop esi
ret 0x10
mov esi, dword [esp + 0x1344]
push eax
call fcn.0041b410
add esp, 4
mov ebp, eax
test esi, esi
je 0x41a442
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41a442
mov ecx, dword [esp + 0x1378]
mov ebp, edx
test ecx, ecx
je 0x41a533
xor eax, eax
mov dword [esp + 0x132c], eax
mov dword [esp + 0x1328], eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
add esp, 0x1384
pop ebp
pop ebx
pop edi
pop esi
ret 0x10
mov eax, dword [esp + 0x1378]
test eax, eax
je 0x41a554
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
add esp, 0x1384
pop ebp
pop ebx
pop edi
pop esi
ret 0x10
mov eax, dword [esp + 0x1374]
push eax
call fcn.0041b410
add esp, 4
mov ebp, eax
jmp 0x41a442
lea ecx, [esp + 0x121c]
push ecx
push dword [esp + 0x137c]
mov dword [esp + 0x1354], edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x41a112
mov ecx, dword [esp + 0x1210]
test ecx, ecx
mov edx, dword [esp + 0x134c]
mov ebx, dword [esp + 0x1350]
mov ebp, dword [esp + 0x13a0]
mov esi, dword [esp + 0x1398]
je 0x41a5e5
push ecx
mov dword [esp + 0x1350], edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x134c]
mov dword [esp + 0x1210], 0
mov dword [esp + 0x1214], 0
movsx ecx, byte [esi]
jmp 0x41a437
mov esi, dword [esp + 0x1398]
mov edx, ebx
mov ebp, dword [esp + 0x13a0]
mov ebx, dword [esp + 0x1350]
movsx ecx, byte [esi]
jmp 0x41a437
lea ecx, [esp + 0x121c]
push ecx
push dword [esp + 0x13a0]
mov dword [esp + 0x1354], edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x41a2c4
push esi
mov dword [esp + 0x1350], edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x134c]
cmp eax, 1
jne 0x419e08
push dword [esp + 0x1380]
push ebp
push dword [esp + 0x1380]
mov ecx, ebx
push esi
call fcn.00419860
mov edx, eax
test edx, edx
jge 0x41a681
cmp dword [esp + 0x1380], 0
je 0x41a729
mov ecx, ebx
push esi
call fcn.0041b020
mov edx, eax
test edx, edx
jl 0x41a729
jmp 0x419e08
mov eax, dword [esp + 0x1378]
test eax, eax
je 0x41a6aa
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.0041b410
add esp, 0x1388
pop ebp
pop ebx
pop edi
pop esi
ret 0x10
push esi
mov dword [esp + 0x1350], edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x134c]
cmp eax, 1
jne 0x419c75
push 0
push ebp
push dword [esp + 0x1380]
mov ecx, ebx
push esi
call fcn.00419860
mov edx, eax
test edx, edx
jl 0x41a729
mov ecx, ebx
push esi
call fcn.0041b020
mov edx, eax
test edx, edx
jl 0x41a729
movsx ecx, byte [esi]
jmp 0x41a437
mov ecx, ebx
lea eax, [esp + 0x1378]
push esi
push 0
push eax
call fcn.0041a990
mov edx, eax
test edx, edx
jl 0x41a729
movsx ecx, byte [esi]
jmp 0x41a42e
mov ebp, edx
jmp 0x41a442
mov eax, dword [esp + 0x1378]
test eax, eax
je 0x41a742
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
add esp, 0x1384
pop ebp
pop ebx
pop edi
pop esi
ret 0x10
mov eax, dword [esp + 0x1378]
test eax, eax
je 0x41a766
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
add esp, 0x1384
pop ebp
pop ebx
pop edi
pop esi
ret 0x10
push eax
call fcn.0041b410
add esp, 0x1388
pop ebp
pop ebx
pop edi
pop esi
ret 0x10