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

Disassembly:
mov eax, 0x46302f
call fcn.00433ae8
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.00402caf
movsx eax, byte [esi]
add eax, 0xffffffbf
xor ebx, ebx
cmp eax, 0x39
mov dword [ebp - 4], ebx
ja case.0x412b4d.71
jmp dword [eax*4 + 0x41379c]
push 0x47bc5c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x412b76
push ebx
push ebx
mov dword [0x485f54], edi
push 0x47bc54
jmp 0x41375d
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], ebx
je 0x412b8c
push eax
call fcn.004124ce
pop ecx
xor edi, edi
jmp 0x412c8b
mov ecx, dword [ebp + 8]
push ebx
push ebx
push 0x47bc50
mov dword [ecx + 0x14], edi
call fcn.0042928a
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.00402caf
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1e4]
push ebx
push eax
push 0x10
mov byte [ebp - 4], 1
call fcn.0040833f
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1e4]
jmp 0x413497
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.00402caf
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x284]
push ebx
push eax
push 0xd
mov byte [ebp - 4], 2
call fcn.0040833f
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x284]
jmp 0x413497
mov esi, dword [ebp + 8]
push edi
mov ecx, esi
call fcn.00426df9
jmp 0x413212
mov eax, 0x47bc3c
mov dword [ebp - 0x11c], 0x469580
mov ecx, eax
mov dword [ebp - 0xfc], 0x469578
test ecx, ecx
jne 0x412c4a
mov eax, 0x483644
lea ecx, [ebp - 0x1e]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x11c]
call fcn.00403ed5
lea eax, [ebp - 0x11c]
push ebx
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.004024b0
neg eax
sbb al, al
lea ecx, [ebp - 0x11c]
inc al
mov byte [ebp - 4], bl
mov byte [ebp + 0xf], al
call fcn.00401f95
cmp byte [ebp + 0xf], bl
je 0x412c9e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00401f95
mov eax, edi
jmp 0x41378d
push edi
push esi
call dword [sym.imp.USER32.dll_CharNextA]
push eax
push 0x47bc38
jmp 0x41375d
mov eax, 0x47bc28
mov edi, 0x469578
mov ecx, eax
mov dword [ebp - 0x7c], 0x469580
test ecx, ecx
mov dword [ebp - 0x5c], edi
jne 0x412cd0
mov eax, 0x483644
lea ecx, [ebp - 0x18]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.00403ed5
lea eax, [ebp - 0x7c]
push ebx
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.004024b0
test eax, eax
jne 0x412d52
mov eax, 0x47bc24
mov dword [ebp - 0xcc], 0x469580
mov ecx, eax
mov dword [ebp - 0xac], edi
test ecx, ecx
jne 0x412d13
mov eax, 0x483644
lea ecx, [ebp - 0x22]
push ebx
push ecx
push eax
lea ecx, [ebp - 0xcc]
call fcn.00403ed5
lea eax, [ebp - 0xcc]
lea ecx, [ebp - 0x54]
push eax
mov byte [ebp - 4], 5
call fcn.004139d6
lea ecx, [ebp - 0xcc]
mov byte [ebp + 0xf], al
mov byte [ebp - 4], 4
call fcn.00401f95
cmp byte [ebp + 0xf], bl
mov byte [ebp + 0xf], 1
jne 0x412d55
mov byte [ebp + 0xf], bl
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], bl
call fcn.00401f95
cmp byte [ebp + 0xf], bl
je 0x412d96
push 0xffffffffffffffff
lea eax, [ebp - 0x400]
push 5
push eax
lea ecx, [ebp - 0x54]
call fcn.00402d31
mov ecx, dword [ebp + 8]
push ebx
push eax
push 0x13
mov byte [ebp - 4], 6
call fcn.0040833f
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x400]
jmp 0x413497
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
push 0x47bc1c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x412dc1
mov edi, 0x485b50
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x412e5c
mov dword [ebp + 0xc], ebx
push 0xf003f
push 0x47bbf0
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 7
call fcn.00413899
test eax, eax
jne 0x412f35
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, 0x485b50
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 0x412e4f
push dword [ebp + 0xc]
call esi
mov dword [ebp + 0xc], ebx
cmp dword [ebp + 0xc], ebx
mov byte [ebp - 4], bl
je 0x412e5c
push dword [ebp + 0xc]
call esi
push edi
call fcn.0042f91c
mov esi, dword [ebp + 8]
mov ecx, 0x485720
mov dword [esi + 0x4c], 1
call fcn.0040198d
push eax
push edi
push 0x484b48
call fcn.0042fa35
lea eax, [ebp - 0x1a]
push ebx
push eax
push 0x483644
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0x469540
mov dword [ebp - 0x84], 0x469538
call fcn.00408d40
lea eax, [ebp - 0x20]
push 1
push eax
lea ecx, [ebp - 0x2ac]
push dword [0x4695b8]
mov byte [ebp - 4], 8
call fcn.0040175f
lea eax, [ebp - 0x1c]
push 1
push eax
lea ecx, [ebp - 0x16c]
push dword [0x4695ac]
mov byte [ebp - 4], 9
call fcn.0040175f
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.0040845f
lea ecx, [ebp - 0x16c]
call fcn.00401bc2
lea ecx, [ebp - 0x2ac]
call fcn.00401bc2
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], bl
call fcn.00401bc2
push 2
mov ecx, esi
call fcn.00426e1b
jmp 0x413765
push dword [ebp + 8]
call fcn.004124ce
cmp dword [ebp + 0xc], ebx
pop ecx
je 0x41377f
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0xc], ebx
jmp 0x41377f
mov edi, dword [sym.imp.USER32.dll_CharNextA]
push esi
call edi
movsx eax, byte [eax]
sub eax, 0x31
je 0x412fad
dec eax
je 0x412f9b
dec eax
je 0x412f7e
push ebx
push esi
call edi
push eax
push 0x47bbec
jmp 0x41375d
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.00426d20
jmp 0x413765
push ebx
push esi
call edi
push eax
call edi
push eax
push 0x47bbe8
jmp 0x41375d
push ebx
push esi
call edi
push eax
call edi
mov esi, dword [ebp + 8]
push eax
push 0x47b904
mov ecx, esi
call fcn.0042928a
mov dword [esi + 0x54], 1
jmp 0x413765
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push 0x47bbd8
push esi
call edi
mov ebx, dword [ebp + 8]
test eax, eax
jne 0x412fec
mov byte [ebx + 0x165], 1
push 0x47bbcc
push esi
call edi
test eax, eax
jne 0x413765
mov byte [ebx + 0x166], 1
jmp 0x413765
mov eax, 0x47bbb8
mov dword [ebp - 0xf4], 0x469580
mov ecx, eax
mov dword [ebp - 0xd4], 0x469578
test ecx, ecx
jne 0x41302c
mov eax, 0x483644
lea ecx, [ebp - 0x15]
push ebx
push ecx
push eax
lea ecx, [ebp - 0xf4]
call fcn.00403ed5
lea eax, [ebp - 0xf4]
push ebx
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xb
call fcn.004024b0
neg eax
sbb al, al
lea ecx, [ebp - 0xf4]
inc al
mov byte [ebp - 4], bl
mov byte [ebp + 0xf], al
call fcn.00401f95
cmp byte [ebp + 0xf], bl
je 0x413765
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.00402d31
lea eax, [ebp - 0x144]
lea ecx, [ebp - 0x140]
neg eax
sbb eax, eax
push 0x47bba8
and eax, ecx
mov byte [ebp - 4], 0xc
push eax
call fcn.00409a77
pop ecx
test al, al
pop ecx
je 0x4130be
or dword [esi], 0xffffffff
jmp 0x4130d2
push 0xa
push esi
lea ecx, [ebp - 0x144]
call fcn.0041398d
test al, al
jne 0x4130d2
mov dword [esi], edi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x144]
jmp 0x413497
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], ebx
jne case.0x412b4d.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.00402caf
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x234]
push ebx
push eax
push 9
mov byte [ebp - 4], 0xd
call fcn.0040833f
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], bl
call fcn.00401f95
push ebx
push esi
push 0x47bba4
jmp 0x41375d
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.00413b07
add esp, 0xc
test eax, eax
je 0x41316c
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x50], eax
mov dword [0x485168], eax
jmp 0x413765
push edi
jmp 0x413779
push esi
mov esi, dword [sym.imp.USER32.dll_CharNextA]
call esi
movsx ecx, byte [eax]
sub ecx, 0x31
je 0x41319f
dec ecx
push ebx
push eax
je 0x413192
push 0x47bba0
jmp 0x41375d
call esi
push eax
push 0x47bb9c
jmp 0x41375d
push ebx
push eax
call esi
push eax
push 0x47bb98
jmp 0x41375d
push 0x47bb88
push esi
call fcn.00435130
pop ecx
test eax, eax
pop ecx
jne 0x4131cb
push ebx
push ebx
push 0x47bb74
jmp 0x41375d
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.00402caf
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.0040833f
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], bl
call fcn.00401f95
push 2
mov ecx, esi
call fcn.00426e1b
mov dword [esi + 0x4c], edi
jmp 0x413765
push esi
call dword [sym.imp.USER32.dll_CharNextA]
push eax
push 0x483688
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x413765
mov eax, dword [ebp + 8]
mov byte [eax + 0x16d], 1
jmp 0x413765
push 0x47bb68
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41325d
push ebx
push ebx
push 0x47bb5c
jmp 0x41375d
push 0x47bb54
push esi
call fcn.00435130
pop ecx
test eax, eax
pop ecx
je 0x413765
push 0x47bb48
push esi
call fcn.00435130
pop ecx
test eax, eax
pop ecx
je 0x413765
push 6
push 0x47bb40
push esi
call fcn.00434ba0
add esp, 0xc
test eax, eax
je 0x413765
push 0x47bb28
push esi
call fcn.00435130
pop ecx
test eax, eax
pop ecx
je 0x413765
push ebx
push ebx
push 0x47bb24
jmp 0x41375d
push 0x47bb20
push esi
call fcn.00435130
pop ecx
test eax, eax
pop ecx
je 0x4132e3
push ebx
push ebx
mov dword [0x485f58], edi
push 0x47bb1c
jmp 0x41375d
push ebx
push ebx
push 0x47bb14
jmp 0x41375d
mov edi, 0x47baf4
push edi
call fcn.0043423f
pop ecx
push eax
push ebx
push edi
lea ecx, [ebp - 0x50]
call fcn.00404016
cmp eax, ebx
je 0x413765
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
push 0x47baec
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x413335
mov ecx, dword [ebp + 8]
push esi
call fcn.00426cd5
jmp 0x4133d8
mov dword [ebp + 0xc], ebx
push 0xf003f
push 0x47bbf0
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xf
call fcn.00413899
test eax, eax
jne 0x4133f1
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.0042f91c
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x3d8]
push eax
call fcn.00426cd5
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 0x4133cb
push dword [ebp + 0xc]
call esi
mov dword [ebp + 0xc], ebx
cmp dword [ebp + 0xc], ebx
mov byte [ebp - 4], bl
je 0x4133d8
push dword [ebp + 0xc]
call esi
mov ecx, dword [ebp + 8]
push 3
call fcn.00426e1b
mov eax, dword [ebp + 8]
mov dword [eax + 0x4c], 1
jmp 0x413765
push dword [ebp + 8]
call fcn.004124ce
cmp dword [ebp + 0xc], ebx
pop ecx
je 0x41377f
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0xc], ebx
jmp 0x41377f
mov edi, dword [sym.imp.USER32.dll_CharNextA]
push esi
call edi
mov al, byte [eax]
cmp al, 0x41
je 0x4134da
cmp al, 0x4d
je 0x4134a1
cmp al, 0x57
je 0x413460
cmp al, 0x61
je 0x4134da
cmp al, 0x6d
je 0x4134a1
cmp al, 0x77
je 0x413460
push 0x47bae4
push esi
call fcn.00435130
pop ecx
test eax, eax
pop ecx
jne 0x413765
push ebx
push ebx
push 0x47badc
jmp 0x41375d
push esi
call edi
push eax
call edi
lea ecx, [ebp - 0x19]
push 1
push ecx
push eax
lea ecx, [ebp - 0x194]
call fcn.00402caf
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x194]
push ebx
push eax
push 0xb
mov byte [ebp - 4], 0x11
call fcn.0040833f
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x194]
call fcn.00401f95
jmp 0x413765
push esi
call edi
push eax
call edi
lea ecx, [ebp - 0x1b]
push 1
push ecx
push eax
lea ecx, [ebp - 0x1bc]
call fcn.00402caf
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1bc]
push ebx
push eax
push 0xc
mov byte [ebp - 4], 0x12
call fcn.0040833f
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1bc]
jmp 0x413497
push esi
call edi
push eax
call edi
lea ecx, [ebp - 0x1d]
push 1
push ecx
push eax
lea ecx, [ebp - 0x20c]
call fcn.00402caf
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push ebx
push eax
push 0xa
mov byte [ebp - 4], 0x10
call fcn.0040833f
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20c]
jmp 0x413497
mov dword [ebp - 0x10], ebx
push 0xf003f
push 0x47baac
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x13
call fcn.00413899
test eax, eax
jne 0x413554
push 0x47baa4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp dword [ebp - 0x10], ebx
je 0x413554
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
push 7
push 0x47ba9c
push esi
call fcn.00434ba0
add esp, 0xc
test eax, eax
je 0x4136f7
push esi
call dword [sym.imp.USER32.dll_CharNextA]
push 0x47ba94
push eax
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x41360b
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 8
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 4]
call fcn.00408c09
mov esi, eax
cmp dword [esi + 0xc], ebx
je 0x4135c0
push 0x47ba90
call fcn.0043423f
pop ecx
push eax
push 0x47ba90
lea ecx, [esi + 4]
call fcn.00412a0a
lea eax, [ebp - 0x1f]
push edi
push eax
lea ecx, [ebp - 0x428]
push dword [ebp + 0xc]
call fcn.00402caf
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.00410759
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x13
call fcn.00401f95
mov esi, dword [ebp + 0xc]
push edi
push esi
jmp 0x4136cd
push 0xf003f
push 0x47bbf0
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x10]
call fcn.00413899
test eax, eax
jne 0x4136d4
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 0x413681
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.00402caf
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x25c]
push ebx
push eax
push 8
mov byte [ebp - 4], 0x15
call fcn.0040833f
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 0x13
call fcn.00401f95
lea eax, [ebp - 0x3d8]
push 1
lea esi, [ebp - 0x3d8]
push eax
push 0x47b300
jmp 0x413701
push dword [ebp + 8]
call fcn.004124ce
cmp dword [ebp - 0x10], ebx
pop ecx
je 0x41377f
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
jmp 0x41377f
add esi, 7
push edi
push esi
push 0x47ba84
mov ecx, dword [ebp + 8]
call fcn.0042928a
cmp esi, ebx
je 0x413720
push esi
push 0x4836ec
mov byte [0x4846f0], 1
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebp - 0x10], ebx
je 0x413765
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
jmp 0x413765
mov eax, dword [ebp + 8]
mov dword [eax + 0x3c], edi
jmp 0x413765
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], ebx
je 0x413746
push eax
jmp 0x413779
mov dword [eax + 0x14], 4
jmp 0x413765
push ebx
push esi
call dword [sym.imp.USER32.dll_CharNextA]
push eax
push 0x47ba80
mov ecx, dword [ebp + 8]
call fcn.0042928a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00401f95
push 1
pop eax
jmp 0x41378d
push dword [ebp + 8]
call fcn.004124ce
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00401f95
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret