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

Disassembly:
mov eax, 0x4637eb
call fcn.004341ac
sub esp, 0x41c
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 1
lea eax, [ebp - 0x24]
pop edi
lea ecx, [ebp - 0x54]
push edi
push eax
push esi
call fcn.00402dbc
movsx eax, byte [esi]
add eax, 0xffffffbf
xor ebx, ebx
cmp eax, 0x39
mov dword [ebp - 4], ebx
ja case.0x412d0b.71
jmp dword [eax*4 + 0x41395a]
push str.auto
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x412d34
push ebx
push ebx
mov dword [0x4863cc], edi
push str._auto
jmp 0x41391b
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], ebx
je 0x412d4a
push eax
call fcn.0041268c
pop ecx
xor edi, edi
jmp 0x412e49
mov ecx, dword [ebp + 8]
push ebx
push ebx
push 0x47bca8
mov dword [ecx + 0x14], edi
call fcn.004299c4
push esi
call dword [sym.imp.USER32.dll_CharNextA]
lea ecx, [ebp - 0x23]
push edi
push ecx
push eax
lea ecx, [ebp - 0x1e4]
call fcn.00402dbc
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1e4]
push ebx
push eax
push 0x10
mov byte [ebp - 4], 1
call fcn.00408527
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1e4]
jmp 0x413655
push esi
call dword [sym.imp.USER32.dll_CharNextA]
lea ecx, [ebp - 0x25]
push edi
push ecx
push eax
lea ecx, [ebp - 0x284]
call fcn.00402dbc
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x284]
push ebx
push eax
push 0xd
mov byte [ebp - 4], 2
call fcn.00408527
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x284]
jmp 0x413655
mov esi, dword [ebp + 8]
push edi
mov ecx, esi
call fcn.0042754b
jmp 0x4133d0
mov eax, str.debuglog
mov dword [ebp - 0x11c], 0x469580
mov ecx, eax
mov dword [ebp - 0xfc], 0x469578
test ecx, ecx
jne 0x412e08
mov eax, 0x483918
lea ecx, [ebp - 0x1e]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x11c]
call fcn.00403fe2
lea eax, [ebp - 0x11c]
push ebx
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.004025bd
neg eax
sbb al, al
lea ecx, [ebp - 0x11c]
inc al
mov byte [ebp - 4], bl
mov byte [ebp + 0xf], al
call fcn.004020a2
cmp byte [ebp + 0xf], bl
je 0x412e5c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.004020a2
mov eax, edi
jmp 0x41394b
push edi
push esi
call dword [sym.imp.USER32.dll_CharNextA]
push eax
push 0x47bc90
jmp 0x41391b
mov eax, 0x47bc80
mov edi, 0x469578
mov ecx, eax
mov dword [ebp - 0x7c], 0x469580
test ecx, ecx
mov dword [ebp - 0x5c], edi
jne 0x412e8e
mov eax, 0x483918
lea ecx, [ebp - 0x18]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.00403fe2
lea eax, [ebp - 0x7c]
push ebx
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.004025bd
test eax, eax
jne 0x412f10
mov eax, 0x47bc7c
mov dword [ebp - 0xcc], 0x469580
mov ecx, eax
mov dword [ebp - 0xac], edi
test ecx, ecx
jne 0x412ed1
mov eax, 0x483918
lea ecx, [ebp - 0x22]
push ebx
push ecx
push eax
lea ecx, [ebp - 0xcc]
call fcn.00403fe2
lea eax, [ebp - 0xcc]
lea ecx, [ebp - 0x54]
push eax
mov byte [ebp - 4], 5
call fcn.00413b94
lea ecx, [ebp - 0xcc]
mov byte [ebp + 0xf], al
mov byte [ebp - 4], 4
call fcn.004020a2
cmp byte [ebp + 0xf], bl
mov byte [ebp + 0xf], 1
jne 0x412f13
mov byte [ebp + 0xf], bl
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], bl
call fcn.004020a2
cmp byte [ebp + 0xf], bl
je 0x412f54
push 0xffffffffffffffff
lea eax, [ebp - 0x400]
push 5
push eax
lea ecx, [ebp - 0x54]
call fcn.00402e3e
mov ecx, dword [ebp + 8]
push ebx
push eax
push 0x13
mov byte [ebp - 4], 6
call fcn.00408527
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x400]
jmp 0x413655
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
push str._IS_E_
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x412f7f
mov edi, 0x485fc8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x41301a
mov dword [ebp + 0xc], ebx
push 0xf003f
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 7
call fcn.00413a57
test eax, eax
jne 0x4130f3
push 0x40
lea edi, [ebp - 0x3d7]
pop ecx
mov byte [ebp - 0x3d8], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x104
push eax
lea eax, [ebp - 0x3d8]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
mov dword [ebp - 0x14], ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x3d8]
mov edi, 0x485fc8
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp dword [ebp + 0xc], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x41300d
push dword [ebp + 0xc]
call esi
mov dword [ebp + 0xc], ebx
cmp dword [ebp + 0xc], ebx
mov byte [ebp - 4], bl
je 0x41301a
push dword [ebp + 0xc]
call esi
push edi
call fcn.004300c0
mov esi, dword [ebp + 8]
mov ecx, 0x485b70
mov dword [esi + 0x4c], 1
call fcn.00401c5e
push eax
push edi
push 0x484ec0
call fcn.004301d9
lea eax, [ebp - 0x1a]
push ebx
push eax
push 0x483918
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0x46953c
mov dword [ebp - 0x84], 0x469534
call fcn.004010c6
lea eax, [ebp - 0x20]
push 1
push eax
lea ecx, [ebp - 0x2ac]
push dword [0x4695b8]
mov byte [ebp - 4], 8
call fcn.00401a6d
lea eax, [ebp - 0x1c]
push 1
push eax
lea ecx, [ebp - 0x16c]
push dword [0x4695ac]
mov byte [ebp - 4], 9
call fcn.00401a6d
lea eax, [ebp - 0xa4]
mov ecx, esi
push eax
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x16c]
push eax
push 6
mov byte [ebp - 4], 0xa
call fcn.00408647
lea ecx, [ebp - 0x16c]
call fcn.00401306
lea ecx, [ebp - 0x2ac]
call fcn.00401306
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], bl
call fcn.00401306
push 2
mov ecx, esi
call fcn.0042756d
jmp 0x413923
push dword [ebp + 8]
call fcn.0041268c
cmp dword [ebp + 0xc], ebx
pop ecx
je 0x41393d
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0xc], ebx
jmp 0x41393d
mov edi, dword [sym.imp.USER32.dll_CharNextA]
push esi
call edi
movsx eax, byte [eax]
sub eax, 0x31
je 0x41316b
dec eax
je 0x413159
dec eax
je 0x41313c
push ebx
push esi
call edi
push eax
push 0x47bc44
jmp 0x41391b
mov ebx, dword [ebp + 8]
push esi
mov byte [ebx + 0x16c], 1
call edi
push eax
call edi
push eax
mov ecx, ebx
call fcn.00427472
jmp 0x413923
push ebx
push esi
call edi
push eax
call edi
push eax
push 0x47bc40
jmp 0x41391b
push ebx
push esi
call edi
push eax
call edi
mov esi, dword [ebp + 8]
push eax
push 0x47b95c
mov ecx, esi
call fcn.004299c4
mov dword [esi + 0x54], 1
jmp 0x413923
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.hide_progress
push esi
call edi
mov ebx, dword [ebp + 8]
test eax, eax
jne 0x4131aa
mov byte [ebx + 0x165], 1
push str.hide_splash
push esi
call edi
test eax, eax
jne 0x413923
mov byte [ebx + 0x166], 1
jmp 0x413923
mov eax, str.instance
mov dword [ebp - 0xf4], 0x469580
mov ecx, eax
mov dword [ebp - 0xd4], 0x469578
test ecx, ecx
jne 0x4131ea
mov eax, 0x483918
lea ecx, [ebp - 0x15]
push ebx
push ecx
push eax
lea ecx, [ebp - 0xf4]
call fcn.00403fe2
lea eax, [ebp - 0xf4]
push ebx
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xb
call fcn.004025bd
neg eax
sbb al, al
lea ecx, [ebp - 0xf4]
inc al
mov byte [ebp - 4], bl
mov byte [ebp + 0xf], al
call fcn.004020a2
cmp byte [ebp + 0xf], bl
je 0x413923
mov eax, dword [ebp + 8]
push 0xfffffffffffffffd
pop edi
lea ecx, [ebp - 0x54]
lea esi, [eax + 0x168]
push 0xffffffffffffffff
lea eax, [ebp - 0x144]
push 9
push eax
mov dword [esi], edi
call fcn.00402e3e
lea eax, [ebp - 0x144]
lea ecx, [ebp - 0x140]
neg eax
sbb eax, eax
push 0x47bc00
and eax, ecx
mov byte [ebp - 4], 0xc
push eax
call fcn.00409bc3
pop ecx
test al, al
pop ecx
je 0x41327c
or dword [esi], 0xffffffff
jmp 0x413290
push 0xa
push esi
lea ecx, [ebp - 0x144]
call fcn.00413b4b
test al, al
jne 0x413290
mov dword [esi], edi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x144]
jmp 0x413655
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], ebx
jne case.0x412d0b.71
push esi
mov dword [eax + 0x14], 3
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
lea eax, [ebp - 0x16]
push edi
push eax
push esi
lea ecx, [ebp - 0x234]
call fcn.00402dbc
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x234]
push ebx
push eax
push 9
mov byte [ebp - 4], 0xd
call fcn.00408527
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], bl
call fcn.004020a2
push ebx
push esi
push 0x47bbfc
jmp 0x41391b
mov edi, dword [ebp + 8]
lea eax, [ebp + 0xc]
push edi
push eax
push esi
mov dword [ebp + 0xc], ebx
call dword [sym.imp.USER32.dll_CharNextA]
push eax
call fcn.00413cc5
add esp, 0xc
test eax, eax
je 0x41332a
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x50], eax
mov dword [0x4854e0], eax
jmp 0x413923
push edi
jmp 0x413937
push esi
mov esi, dword [sym.imp.USER32.dll_CharNextA]
call esi
movsx ecx, byte [eax]
sub ecx, 0x31
je 0x41335d
dec ecx
push ebx
push eax
je 0x413350
push 0x47bbf8
jmp 0x41391b
call esi
push eax
push 0x47bbf4
jmp 0x41391b
push ebx
push eax
call esi
push eax
push 0x47bbf0
jmp 0x41391b
push str.noscript_uninst
push esi
call fcn.004358d0
pop ecx
test eax, eax
pop ecx
jne 0x413389
push ebx
push ebx
push str._noscript_uninst
jmp 0x41391b
push esi
call dword [sym.imp.USER32.dll_CharNextA]
lea ecx, [ebp - 0x17]
push edi
push ecx
push eax
lea ecx, [ebp - 0x2d4]
call fcn.00402dbc
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2d4]
push ebx
push eax
push 6
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.00408527
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], bl
call fcn.004020a2
push 2
mov ecx, esi
call fcn.0042756d
mov dword [esi + 0x4c], edi
jmp 0x413923
push esi
call dword [sym.imp.USER32.dll_CharNextA]
push eax
push 0x4839b0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x413923
mov eax, dword [ebp + 8]
mov byte [eax + 0x16d], 1
jmp 0x413923
push str.removeonly
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41341b
push ebx
push ebx
push str._removeonly
jmp 0x41391b
push str.runas
push esi
call fcn.004358d0
pop ecx
test eax, eax
pop ecx
je 0x413923
push 0x47bba0
push esi
call fcn.004358d0
pop ecx
test eax, eax
pop ecx
je 0x413923
push 6
push 0x47bb98
push esi
call fcn.00435340
add esp, 0xc
test eax, eax
je 0x413923
push 0x47bb80
push esi
call fcn.004358d0
pop ecx
test eax, eax
pop ecx
je 0x413923
push ebx
push ebx
push 0x47bb7c
jmp 0x41391b
push 0x47bb78
push esi
call fcn.004358d0
pop ecx
test eax, eax
pop ecx
je 0x4134a1
push ebx
push ebx
mov dword [0x4863d0], edi
push 0x47bb74
jmp 0x41391b
push ebx
push ebx
push str._SMS
jmp 0x41391b
mov edi, str.tempdisk1folder
push edi
call fcn.00433d95
pop ecx
push eax
push ebx
push edi
lea ecx, [ebp - 0x50]
call fcn.00404123
cmp eax, ebx
je 0x413923
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
push str._IS_T_
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x4134f3
mov ecx, dword [ebp + 8]
push esi
call fcn.00427427
jmp 0x413596
mov dword [ebp + 0xc], ebx
push 0xf003f
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xf
call fcn.00413a57
test eax, eax
jne 0x4135af
push 0x40
lea edi, [ebp - 0x3d7]
pop ecx
mov byte [ebp - 0x3d8], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x104
push eax
lea eax, [ebp - 0x3d8]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push esi
mov dword [ebp - 0x10], ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x3d8]
push eax
call fcn.004300c0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x3d8]
push eax
call fcn.00427427
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp dword [ebp + 0xc], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x413589
push dword [ebp + 0xc]
call esi
mov dword [ebp + 0xc], ebx
cmp dword [ebp + 0xc], ebx
mov byte [ebp - 4], bl
je 0x413596
push dword [ebp + 0xc]
call esi
mov ecx, dword [ebp + 8]
push 3
call fcn.0042756d
mov eax, dword [ebp + 8]
mov dword [eax + 0x4c], 1
jmp 0x413923
push dword [ebp + 8]
call fcn.0041268c
cmp dword [ebp + 0xc], ebx
pop ecx
je 0x41393d
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0xc], ebx
jmp 0x41393d
mov edi, dword [sym.imp.USER32.dll_CharNextA]
push esi
call edi
mov al, byte [eax]
cmp al, 0x41
je 0x413698
cmp al, 0x4d
je 0x41365f
cmp al, 0x57
je 0x41361e
cmp al, 0x61
je 0x413698
cmp al, 0x6d
je 0x41365f
cmp al, 0x77
je 0x41361e
push str.uninst
push esi
call fcn.004358d0
pop ecx
test eax, eax
pop ecx
jne 0x413923
push ebx
push ebx
push str._uninst
jmp 0x41391b
push esi
call edi
push eax
call edi
lea ecx, [ebp - 0x19]
push 1
push ecx
push eax
lea ecx, [ebp - 0x194]
call fcn.00402dbc
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x194]
push ebx
push eax
push 0xb
mov byte [ebp - 4], 0x11
call fcn.00408527
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x194]
call fcn.004020a2
jmp 0x413923
push esi
call edi
push eax
call edi
lea ecx, [ebp - 0x1b]
push 1
push ecx
push eax
lea ecx, [ebp - 0x1bc]
call fcn.00402dbc
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1bc]
push ebx
push eax
push 0xc
mov byte [ebp - 4], 0x12
call fcn.00408527
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1bc]
jmp 0x413655
push esi
call edi
push eax
call edi
lea ecx, [ebp - 0x1d]
push 1
push ecx
push eax
lea ecx, [ebp - 0x20c]
call fcn.00402dbc
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push ebx
push eax
push 0xa
mov byte [ebp - 4], 0x10
call fcn.00408527
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20c]
jmp 0x413655
mov dword [ebp - 0x10], ebx
push 0xf003f
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x13
call fcn.00413a57
test eax, eax
jne 0x413712
push str.ISSetup
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp dword [ebp - 0x10], ebx
je 0x413712
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
push 7
push str.verbose
push esi
call fcn.00435340
add esp, 0xc
test eax, eax
je 0x4138b5
push esi
call dword [sym.imp.USER32.dll_CharNextA]
push str._IS_V_
push eax
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x4137c9
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 8
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 4]
call fcn.00408df1
mov esi, eax
cmp dword [esi + 0xc], ebx
je 0x41377e
push 0x47bae8
call fcn.00433d95
pop ecx
push eax
push 0x47bae8
lea ecx, [esi + 4]
call fcn.00412bc8
lea eax, [ebp - 0x1f]
push edi
push eax
lea ecx, [ebp - 0x428]
push dword [ebp + 0xc]
call fcn.00402dbc
push dword [0x469588]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 0x14
neg ecx
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
lea ecx, [esi + 4]
call fcn.004108de
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x13
call fcn.004020a2
mov esi, dword [ebp + 0xc]
push edi
push esi
jmp 0x41388b
push 0xf003f
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
lea ecx, [ebp - 0x10]
call fcn.00413a57
test eax, eax
jne 0x413892
push 0x40
lea edi, [ebp - 0x3d7]
pop ecx
mov byte [ebp - 0x3d8], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x104
push eax
lea eax, [ebp - 0x3d8]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x2c], ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp dword [ebp - 0x10], ebx
je 0x41383f
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x21]
push 1
push eax
lea eax, [ebp - 0x3d8]
push eax
lea ecx, [ebp - 0x25c]
call fcn.00402dbc
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x25c]
push ebx
push eax
push 8
mov byte [ebp - 4], 0x15
call fcn.00408527
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 0x13
call fcn.004020a2
lea eax, [ebp - 0x3d8]
push 1
lea esi, [ebp - 0x3d8]
push eax
push 0x47b354
jmp 0x4138bf
push dword [ebp + 8]
call fcn.0041268c
cmp dword [ebp - 0x10], ebx
pop ecx
je 0x41393d
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
jmp 0x41393d
add esi, 7
push edi
push esi
push str._verbose
mov ecx, dword [ebp + 8]
call fcn.004299c4
cmp esi, ebx
je 0x4138de
push esi
push 0x483a14
mov byte [0x484a44], 1
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebp - 0x10], ebx
je 0x413923
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
jmp 0x413923
mov eax, dword [ebp + 8]
mov dword [eax + 0x3c], edi
jmp 0x413923
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], ebx
je 0x413904
push eax
jmp 0x413937
mov dword [eax + 0x14], 4
jmp 0x413923
push ebx
push esi
call dword [sym.imp.USER32.dll_CharNextA]
push eax
push 0x47bad8
mov ecx, dword [ebp + 8]
call fcn.004299c4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.004020a2
push 1
pop eax
jmp 0x41394b
push dword [ebp + 8]
call fcn.0041268c
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.004020a2
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret