Function at 0x415e46
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov eax, 0x46f647
call fcn.0045454c
sub esp, 0x524
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor edi, edi
mov ebx, 0x476628
mov esi, 0x476620
cmp eax, edi
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x38], esi
jne 0x415e77
mov eax, 0x4947d8
lea ecx, [ebp - 0x1d]
push edi
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00403cfd
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], edi
movzx eax, word [eax]
add eax, 0xffffffbf
cmp eax, 0x39
ja case.0x415e9a.71
jmp dword [eax*4 + 0x416ceb]
push 0x48a764
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x415edd
mov ecx, dword [ebp + 8]
push edi
push edi
push 0x48b324
mov eax, dword [ecx + 0x268]
lea esi, [ecx + 0x268]
mov byte [eax + 2], 1
call fcn.0042d928
mov eax, dword [esi]
mov byte [eax + 2], 1
jmp 0x416cb4
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], edi
je 0x415ef1
push eax
call fcn.0041515b
pop ecx
jmp 0x416024
mov ecx, dword [ebp + 8]
push edi
push edi
push 0x48b31c
mov dword [ecx + 0x14], 1
call fcn.0042d928
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_CharNextW]
cmp eax, edi
mov dword [ebp - 0x1e8], ebx
mov dword [ebp - 0x1c8], esi
jne 0x415f25
mov eax, 0x4947d8
lea ecx, [ebp - 0x22]
push edi
push ecx
push eax
lea ecx, [ebp - 0x1e8]
call fcn.00403cfd
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1e8]
push edi
push eax
push 0xe
mov byte [ebp - 4], 1
call fcn.0040a3f7
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1e8]
jmp 0x41696c
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_CharNextW]
cmp eax, edi
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xd8], esi
jne 0x415f79
mov eax, 0x4947d8
lea ecx, [ebp - 0x24]
push edi
push ecx
push eax
lea ecx, [ebp - 0xf8]
call fcn.00403cfd
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xf8]
push edi
push eax
push 0xc
mov byte [ebp - 4], 2
call fcn.0040a3f7
and byte [ebp - 4], 0
lea ecx, [ebp - 0xf8]
jmp 0x41696c
mov esi, dword [ebp + 8]
push 1
pop edi
mov ecx, esi
push edi
call fcn.0042b0a9
mov dword [esi + 0x44], edi
jmp 0x416cb4
mov eax, 0x48b308
mov dword [ebp - 0x238], ebx
mov ecx, eax
mov dword [ebp - 0x218], esi
test ecx, ecx
jne 0x415fe1
mov eax, 0x4947d8
lea ecx, [ebp - 0x17]
push edi
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.00403cfd
lea eax, [ebp - 0x238]
push edi
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.0040582a
mov ebx, eax
lea ecx, [ebp - 0x238]
neg ebx
sbb bl, bl
and byte [ebp - 4], 0
inc bl
call fcn.00402424
test bl, bl
push 1
je 0x416037
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00402424
mov eax, edi
jmp 0x416cdc
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_CharNextW]
push eax
push 0x48b300
jmp 0x416cac
mov eax, 0x48b2f0
mov dword [ebp - 0x2d8], ebx
mov ecx, eax
mov dword [ebp - 0x2b8], esi
test ecx, ecx
jne 0x416067
mov eax, 0x4947d8
lea ecx, [ebp - 0x1f]
push edi
push ecx
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00403cfd
lea eax, [ebp - 0x2d8]
push edi
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.0040582a
test eax, eax
jne 0x4160e9
mov eax, 0x48b2ec
mov dword [ebp - 0x148], ebx
mov ecx, eax
mov dword [ebp - 0x128], esi
test ecx, ecx
jne 0x4160ac
mov eax, 0x4947d8
lea ecx, [ebp - 0x19]
push edi
push ecx
push eax
lea ecx, [ebp - 0x148]
call fcn.00403cfd
lea eax, [ebp - 0x148]
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 4], 5
call fcn.00416ffb
lea ecx, [ebp - 0x148]
mov bl, al
mov byte [ebp - 4], 4
call fcn.00402424
test bl, bl
je 0x4160e9
mov bl, 1
jmp 0x4160eb
xor bl, bl
and byte [ebp - 4], 0
lea ecx, [ebp - 0x2d8]
call fcn.00402424
test bl, bl
je 0x416130
push 0xffffffffffffffff
lea eax, [ebp - 0x328]
push 5
push eax
lea ecx, [ebp - 0x58]
call fcn.00403f9d
mov ecx, dword [ebp + 8]
push edi
push eax
push 0x10
mov byte [ebp - 4], 6
call fcn.0040a3f7
and byte [ebp - 4], 0
lea ecx, [ebp - 0x328]
jmp 0x41696c
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_CharNextW]
mov ebx, eax
push 0x48b2dc
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x41615d
mov esi, 0x497c70
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4161ff
mov dword [ebp + 0xc], edi
push 0xf003f
push 0x48b288
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 7
call fcn.00416de8
test eax, eax
jne 0x41630f
xor edx, edx
mov ecx, 0x81
lea edi, [ebp - 0x52e]
mov word [ebp - 0x530], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x104
push eax
lea eax, [ebp - 0x530]
push eax
lea eax, [ebp - 0x10]
push eax
push edx
push ebx
mov dword [ebp - 0x10], edx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x530]
mov esi, 0x497c70
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
je 0x4161f1
push dword [ebp + 0xc]
call edi
mov dword [ebp + 0xc], ebx
and byte [ebp - 4], 0
cmp dword [ebp + 0xc], ebx
je 0x4161ff
push dword [ebp + 0xc]
call edi
push esi
call fcn.004357d3
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], 1
mov eax, dword [0x496c20]
test eax, eax
jne 0x41621d
mov eax, 0x4765fc
push eax
push esi
push 0x496c40
call fcn.004358f6
lea eax, [ebp - 0x23]
push 0
mov ebx, 0x4947d8
mov edi, 0x4765e0
mov esi, 0x4765d8
push eax
push ebx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0x88], esi
call fcn.004011a9
mov eax, dword [0x47665c]
mov byte [ebp - 4], 8
test eax, eax
mov dword [ebp - 0x288], edi
mov dword [ebp - 0x268], esi
jne 0x416271
mov eax, ebx
lea ecx, [ebp - 0x1b]
push 0
push ecx
push eax
lea ecx, [ebp - 0x288]
call fcn.004011a9
mov eax, dword [0x476654]
mov byte [ebp - 4], 9
test eax, eax
mov dword [ebp - 0x198], edi
mov dword [ebp - 0x178], esi
jne 0x41629e
mov eax, ebx
lea ecx, [ebp - 0x21]
push 0
push ecx
push eax
lea ecx, [ebp - 0x198]
call fcn.004011a9
lea eax, [ebp - 0xa8]
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x198]
push eax
push 5
mov byte [ebp - 4], 0xa
call fcn.0040a517
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 9
call fcn.00401093
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 8
call fcn.00401093
and byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.00401093
mov ecx, dword [ebp + 8]
push 2
call fcn.0042b0cb
jmp 0x416cb4
push dword [ebp + 8]
call fcn.0041515b
cmp dword [ebp + 0xc], edi
pop ecx
je 0x416cce
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0xc], edi
jmp 0x416cce
mov ebx, dword [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_CharNextW]
push ebx
call esi
movzx eax, word [eax]
sub eax, 0x31
je 0x41638a
dec eax
je 0x416378
dec eax
je 0x41635b
push edi
push ebx
call esi
push eax
push 0x48b280
jmp 0x416cac
mov edi, dword [ebp + 8]
push ebx
mov byte [edi + 0x264], 1
call esi
push eax
call esi
push eax
mov ecx, edi
call fcn.0042af95
jmp 0x416cb4
push edi
push ebx
call esi
push eax
call esi
push eax
push 0x48b278
jmp 0x416cac
push edi
push ebx
call esi
push eax
call esi
mov esi, dword [ebp + 8]
push eax
push 0x48af7c
mov ecx, esi
call fcn.0042d928
mov dword [esi + 0x48], 1
jmp 0x416cb4
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x48a748
push dword [ebp + 0xc]
call esi
mov edi, dword [ebp + 8]
test eax, eax
jne 0x4163cb
mov byte [edi + 0x25e], 1
push 0x48a730
push dword [ebp + 0xc]
call esi
test eax, eax
jne 0x416cb4
mov byte [edi + 0x25f], 1
jmp 0x416cb4
mov eax, 0x48b264
mov dword [ebp - 0x300], ebx
mov ecx, eax
mov dword [ebp - 0x2e0], esi
test ecx, ecx
jne 0x416405
mov eax, 0x4947d8
lea ecx, [ebp - 0x15]
push edi
push ecx
push eax
lea ecx, [ebp - 0x300]
call fcn.00403cfd
lea eax, [ebp - 0x300]
push edi
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xb
call fcn.0040582a
mov ebx, eax
lea ecx, [ebp - 0x300]
neg ebx
sbb bl, bl
and byte [ebp - 4], 0
inc bl
call fcn.00402424
test bl, bl
je 0x416cb4
mov eax, dword [ebp + 8]
push 0xfffffffffffffffd
pop edi
lea ecx, [ebp - 0x58]
lea esi, [eax + 0x260]
push 0xffffffffffffffff
lea eax, [ebp - 0xd0]
push 9
push eax
mov dword [esi], edi
call fcn.00403f9d
lea eax, [ebp - 0xd0]
lea ecx, [ebp - 0xcc]
neg eax
sbb eax, eax
push 0x48b254
and eax, ecx
mov byte [ebp - 4], 0xc
push eax
call fcn.0040c60e
pop ecx
test al, al
pop ecx
je 0x416496
or dword [esi], 0xffffffff
jmp 0x4164aa
push 0xa
push esi
lea ecx, [ebp - 0xd0]
call fcn.00416f96
test al, al
jne 0x4164aa
mov dword [esi], edi
and byte [ebp - 4], 0
lea ecx, [ebp - 0xd0]
jmp 0x41696c
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], edi
jne case.0x415e9a.71
push dword [ebp + 0xc]
mov dword [eax + 0x14], 3
call dword [sym.imp.USER32.dll_CharNextW]
cmp eax, edi
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x100], esi
jne 0x4164ed
mov eax, 0x4947d8
lea ecx, [ebp - 0x25]
push edi
push ecx
push eax
lea ecx, [ebp - 0x120]
call fcn.00403cfd
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x120]
push edi
push eax
push 8
mov byte [ebp - 4], 0xd
call fcn.0040a3f7
and byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call fcn.00402424
push edi
push dword [ebp + 0xc]
push 0x48b24c
jmp 0x416cac
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push esi
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
call dword [sym.imp.USER32.dll_CharNextW]
push eax
call fcn.00417053
add esp, 0xc
test eax, eax
je 0x416565
mov eax, dword [esi + 0x268]
mov cx, word [ebp - 0x14]
mov word [eax + 0x4a], cx
jmp 0x416cb4
push esi
jmp 0x416cc8
push dword [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_CharNextW]
call esi
movzx ecx, word [eax]
sub ecx, 0x31
je 0x41659a
dec ecx
push edi
push eax
je 0x41658d
push 0x48b244
jmp 0x416cac
call esi
push eax
push 0x48b23c
jmp 0x416cac
push edi
push eax
call esi
push eax
push 0x48b234
jmp 0x416cac
push 0x48b214
push dword [ebp + 0xc]
call fcn.00455ab5
pop ecx
test eax, eax
pop ecx
jne 0x4165c8
push edi
push edi
push 0x48b1f0
jmp 0x416cac
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_CharNextW]
cmp eax, edi
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x150], esi
jne 0x4165e6
mov eax, 0x4947d8
lea ecx, [ebp - 0x16]
push edi
push ecx
push eax
lea ecx, [ebp - 0x170]
call fcn.00403cfd
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x170]
push edi
push eax
push 5
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.0040a3f7
and byte [ebp - 4], 0
lea ecx, [ebp - 0x170]
call fcn.00402424
push 2
mov ecx, esi
call fcn.0042b0cb
mov dword [esi + 0x44], 1
jmp 0x416cb4
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_CharNextW]
push eax
push 0x494878
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x416cb4
mov eax, dword [ebp + 8]
mov byte [eax + 0x265], 1
jmp 0x416cb4
mov esi, dword [ebp + 0xc]
push 0x48b1d8
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41667b
push edi
push edi
push 0x48b1c0
jmp 0x416cac
push 0x48b1b4
push esi
call fcn.00455ab5
pop ecx
test eax, eax
pop ecx
je 0x416cb4
push 0x48a56c
push esi
call fcn.00455ab5
pop ecx
test eax, eax
pop ecx
je 0x416cb4
push 6
push 0x48a70c
push esi
call fcn.00454df9
add esp, 0xc
test eax, eax
je 0x416cb4
push 0x48b188
push esi
call fcn.00455ab5
pop ecx
test eax, eax
pop ecx
je 0x416cb4
push edi
push edi
push 0x48b180
jmp 0x416cac
mov esi, dword [ebp + 0xc]
push 0x48b178
push esi
call fcn.00455ab5
pop ecx
test eax, eax
pop ecx
jne 0x4166fe
push edi
push edi
push 0x48b16c
jmp 0x416cac
push 0x48a6a8
push esi
call fcn.00455ab5
pop ecx
test eax, eax
pop ecx
jne 0x416721
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x268]
mov byte [eax + 0x17], 1
jmp 0x416cb4
push 0x48a68c
push esi
call fcn.00455ab5
pop ecx
test eax, eax
pop ecx
jne 0x416744
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x268]
mov byte [eax + 0x18], 1
jmp 0x416cb4
push 0x48b14c
push esi
call fcn.00455ab5
pop ecx
test eax, eax
pop ecx
jne 0x416767
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x268]
mov byte [eax + 0x1c], 1
jmp 0x416cb4
mov ecx, dword [ebp + 8]
push edi
push edi
push 0x48b144
mov eax, dword [ecx + 0x268]
lea esi, [ecx + 0x268]
mov byte [eax + 1], 1
call fcn.0042d928
mov eax, dword [esi]
mov byte [eax + 1], 1
jmp 0x416cb4
mov esi, 0x48b124
push esi
call fcn.00454574
pop ecx
push eax
push edi
push esi
lea ecx, [ebp - 0x54]
call fcn.00403e17
cmp eax, edi
je 0x416cb4
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
push 0x48b114
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4167d9
mov ecx, dword [ebp + 8]
push esi
call fcn.0042af47
jmp 0x416881
mov dword [ebp + 0xc], edi
push 0xf003f
push 0x48b288
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xf
call fcn.00416de8
test eax, eax
jne 0x41689a
xor ebx, ebx
mov ecx, 0x81
lea edi, [ebp - 0x52e]
mov word [ebp - 0x530], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x104
push eax
lea eax, [ebp - 0x530]
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_RegQueryValueExW]
lea eax, [ebp - 0x530]
push eax
call fcn.004357d3
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x530]
push eax
call fcn.0042af47
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [ebp + 0xc], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x416873
push dword [ebp + 0xc]
call esi
mov dword [ebp + 0xc], ebx
and byte [ebp - 4], 0
cmp dword [ebp + 0xc], ebx
je 0x416881
push dword [ebp + 0xc]
call esi
mov ecx, dword [ebp + 8]
push 3
call fcn.0042b0cb
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], 1
jmp 0x416cb4
push dword [ebp + 8]
call fcn.0041515b
cmp dword [ebp + 0xc], edi
pop ecx
je 0x416cce
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0xc], edi
jmp 0x416cce
push dword [ebp + 0xc]
mov edi, dword [sym.imp.USER32.dll_CharNextW]
call edi
movzx eax, word [eax]
cmp eax, 0x41
je 0x4169c8
cmp eax, 0x4d
je 0x416976
cmp eax, 0x57
je 0x41691c
cmp eax, 0x61
je 0x4169c8
cmp eax, 0x6d
je 0x416976
cmp eax, 0x77
je 0x41691c
push 0x48b104
push dword [ebp + 0xc]
call fcn.00455ab5
pop ecx
test eax, eax
pop ecx
jne 0x416cb4
push eax
push eax
push 0x48b0f4
jmp 0x416cac
push dword [ebp + 0xc]
call edi
push eax
call edi
test eax, eax
mov dword [ebp - 0x1c0], ebx
mov dword [ebp - 0x1a0], esi
jne 0x416939
mov eax, 0x4947d8
lea ecx, [ebp - 0x18]
push 0
push ecx
push eax
lea ecx, [ebp - 0x1c0]
call fcn.00403cfd
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c0]
push 0
push eax
push 0xa
mov byte [ebp - 4], 0x11
call fcn.0040a3f7
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c0]
call fcn.00402424
jmp 0x416cb4
push dword [ebp + 0xc]
call edi
push eax
call edi
test eax, eax
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x1f0], esi
jne 0x416993
mov eax, 0x4947d8
lea ecx, [ebp - 0x1a]
push 0
push ecx
push eax
lea ecx, [ebp - 0x210]
call fcn.00403cfd
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0
push eax
push 0xb
mov byte [ebp - 4], 0x12
call fcn.0040a3f7
and byte [ebp - 4], 0
lea ecx, [ebp - 0x210]
jmp 0x41696c
push dword [ebp + 0xc]
call edi
push eax
call edi
test eax, eax
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0x240], esi
jne 0x4169e5
mov eax, 0x4947d8
lea ecx, [ebp - 0x1c]
push 0
push ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.00403cfd
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x260]
push 0
push eax
push 9
mov byte [ebp - 4], 0x10
call fcn.0040a3f7
and byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
jmp 0x41696c
mov dword [ebp - 0x10], edi
push 0xf003f
push 0x48b098
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x13
call fcn.00416de8
test eax, eax
jne 0x416a5e
push 0x48b088
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [ebp - 0x10], edi
je 0x416a5e
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], edi
push 7
push 0x48b078
push dword [ebp + 0xc]
call fcn.00454df9
add esp, 0xc
test eax, eax
je 0x416c3a
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_CharNextW]
push 0x48b068
push eax
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x416b2c
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 7
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 4]
call fcn.0040aea8
cmp dword [eax + 0xc], edi
mov dword [ebp - 0x14], eax
je 0x416ad2
push 0x48a370
call fcn.00454574
pop ecx
push eax
mov eax, dword [ebp - 0x14]
push 0x48a370
lea ecx, [eax + 4]
call fcn.004100be
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x80], ebx
cmp eax, edi
mov dword [ebp - 0x60], esi
jne 0x416ae4
mov eax, 0x4947d8
lea ecx, [ebp - 0x1e]
push edi
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.00403cfd
push dword [0x476630]
lea eax, [ebp - 0x80]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x7c]
and eax, ecx
push edi
push eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x14
lea ecx, [eax + 4]
call fcn.0040b08e
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x13
call fcn.00402424
mov esi, dword [ebp + 0xc]
push 1
push esi
jmp 0x416c10
push 0xf003f
push 0x48b288
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x10]
call fcn.00416de8
test eax, eax
jne 0x416c17
xor edx, edx
mov ecx, 0x81
lea edi, [ebp - 0x52e]
mov word [ebp - 0x530], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x104
push eax
lea eax, [ebp - 0x530]
push eax
lea eax, [ebp - 0x30]
push eax
push edx
push dword [ebp + 0xc]
mov dword [ebp - 0x30], edx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [ebp - 0x10], 0
je 0x416ba8
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x530]
mov dword [ebp - 0x2b0], ebx
test eax, eax
mov dword [ebp - 0x290], esi
lea eax, [ebp - 0x530]
jne 0x416bc9
mov eax, 0x4947d8
lea ecx, [ebp - 0x20]
push 0
push ecx
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00403cfd
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2b0]
push 0
push eax
push 7
mov byte [ebp - 4], 0x15
call fcn.0040a3f7
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 0x13
call fcn.00402424
lea eax, [ebp - 0x530]
push 1
lea esi, [ebp - 0x530]
push eax
push 0x48a8ac
jmp 0x416c48
push dword [ebp + 8]
call fcn.0041515b
cmp dword [ebp - 0x10], edi
pop ecx
je 0x416cce
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], edi
jmp 0x416cce
mov eax, dword [ebp + 0xc]
push 1
lea esi, [eax + 0xe]
push esi
push 0x48b054
mov ecx, dword [ebp + 8]
call fcn.0042d928
test esi, esi
je 0x416c67
push esi
push 0x494940
mov byte [0x49696c], 1
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp - 0x10], 0
je 0x416cb4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x10], 0
jmp 0x416cb4
mov eax, dword [ebp + 8]
mov dword [eax + 0x3c], 1
jmp 0x416cb4
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], edi
je 0x416c93
push eax
jmp 0x416cc8
mov dword [eax + 0x14], 4
jmp 0x416cb4
push edi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_CharNextW]
push eax
push 0x48b04c
mov ecx, dword [ebp + 8]
call fcn.0042d928
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00402424
push 1
pop eax
jmp 0x416cdc
push dword [ebp + 8]
call fcn.0041515b
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00402424
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret