Function at 0x4cba60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6541c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd38
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x68], edi
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
lea eax, [ebp - 0x3c]
push eax
push 0x5b8c90
call fcn.005b9ae0
add esp, 8
test eax, eax
jne 0x4cbaa9
mov dword [0x713ca0], ebx
lea ecx, [ebp - 0x18]
push ecx
call fcn.005bd6c0
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x20], 0x800
xor edx, edx
mov word [ebp - 0xb38], dx
push 0x7fe
push ebx
lea eax, [ebp - 0xb36]
push eax
call fcn.006100a0
add esp, 0x10
lea ecx, [ebp - 0x20]
push ecx
push ebx
lea edx, [ebp - 0x1c]
push edx
push ebx
push 0x674cfc
mov eax, dword [ebp - 0x18]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call esi
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0xb38]
push edx
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x674cfc
mov ecx, dword [ebp - 0x18]
push ecx
call esi
lea eax, [ebp - 0xb38]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4cbb20
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0xb38]
push edx
mov ecx, 0x713ca8
call fcn.00401670
lea eax, [ebp - 0x20]
push eax
push ebx
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push 0x674d08
mov edx, dword [ebp - 0x18]
push edx
call esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xb38]
push ecx
lea edx, [ebp - 0x1c]
push edx
push ebx
push 0x674d08
mov eax, dword [ebp - 0x18]
push eax
call esi
lea eax, [ebp - 0xb38]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4cbb80
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0xb38]
push ecx
mov ecx, 0x713ca4
call fcn.00401670
lea edx, [ebp - 0x20]
push edx
push ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x674d18
mov ecx, dword [ebp - 0x18]
push ecx
call esi
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0xb38]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push 0x674d18
mov edx, dword [ebp - 0x18]
push edx
call esi
lea eax, [ebp - 0xb38]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4cbbe0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0xb38]
push eax
mov ecx, 0x713cac
call fcn.00401670
lea ecx, [ebp - 0x20]
push ecx
push ebx
lea edx, [ebp - 0x1c]
push edx
push ebx
push 0x674d28
mov eax, dword [ebp - 0x18]
push eax
call esi
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0xb38]
push edx
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x674d28
mov ecx, dword [ebp - 0x18]
push ecx
call esi
lea eax, [ebp - 0xb38]
lea ecx, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4cbc40
sub eax, ecx
sar eax, 1
push eax
lea edx, [ebp - 0xb38]
push edx
mov ecx, 0x713cb0
call fcn.00401670
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x20], 4
lea eax, [ebp - 0x20]
push eax
push 0x713c9c
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push 0x674cd0
mov edx, dword [ebp - 0x18]
push edx
call esi
lea eax, [ebp - 0x20]
push eax
push 0x713c98
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push 0x674ce4
mov edx, dword [ebp - 0x18]
push edx
call esi
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [edi + 0x30]
lea ecx, [edi + 0x20]
push 0x800
push 1
push 1
push 0x402
push esi
push 0x410
call fcn.004ca630
push 0x672aa0
push esi
call dword [sym.imp.SHLWAPI.dll_StrTrimW]
mov eax, esi
lea edx, [eax + 2]
jmp 0x4cbce0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4cbce0
sub eax, edx
sar eax, 1
cmp eax, 1
jae 0x4cbd2f
push 0x80
lea ecx, [ebp - 0x1c8]
push ecx
push 0x201
mov edx, dword [0x716738]
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x30
push 0x674cbc
lea eax, [ebp - 0x1c8]
push eax
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4cc68d
jmp 0x4cbd35
lea ecx, [ebp - 0xac]
call fcn.0041c3b0
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
push esi
lea ecx, [ebp - 0xac]
call fcn.004cb010
xor edx, edx
mov word [ebp - 0xd44], dx
push 0x208
push ebx
lea eax, [ebp - 0xd42]
push eax
call fcn.006100a0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0xd44]
push ecx
mov edx, dword [0x716738]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4cbdc9
push 0x80
lea eax, [ebp - 0x1c8]
push eax
push 0x201
mov ecx, dword [0x716738]
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x30
push 0x674cbc
lea edx, [ebp - 0x1c8]
push edx
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4cc67b
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd44]
push ecx
lea ecx, [ebp - 0xc8]
call fcn.0040aa60
mov byte [ebp - 4], 3
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0xc8]
push eax
call fcn.005bf460
add esp, 8
test al, al
je 0x4cc596
mov ecx, dword [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x338]
call fcn.0041e830
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1ec], 8
mov eax, dword [ebp - 0x200]
jae 0x4cbe2f
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040bdf0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.00404c30
mov esi, eax
push 0x2e
push esi
call fcn.00617740
add esp, 8
cmp eax, ebx
je 0x4cbe58
mov byte [eax], 0
push esi
lea ecx, [ebp - 0x24]
call fcn.00415130
push 0x66f16a
push 0x674dc8
lea ecx, [ebp - 0x24]
call fcn.00408990
lea ecx, [ebp - 0x24]
call fcn.00404c30
mov esi, eax
lea ecx, [ebp - 0x54]
call fcn.00465250
mov byte [ebp - 4], 6
mov ecx, 0x700724
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 7
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xa1]
push ecx
mov edx, dword [ebp - 0xa5]
push edx
push str._I64X
lea eax, [ebp - 0x30]
push eax
call fcn.00429810
add esp, 0x10
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00404c30
push eax
push esi
push 0x674db4
call fcn.005c1570
add esp, 0x10
cmp eax, ebx
jne 0x4cc398
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 9
lea edx, [ebp - 0x28]
push edx
mov ecx, edi
call fcn.00423e20
sub esp, 0x44
mov ecx, esp
mov dword [ebp - 0x14], esp
lea eax, [ebp - 0xac]
push eax
call fcn.004caaf0
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 9
mov ebx, dword [ebp - 0x28]
mov ecx, ebx
call fcn.004cb400
push str.Activation
lea ecx, [ebp - 0x14]
call fcn.0040aab0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x54]
call fcn.00464500
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x14]
call fcn.004014a0
mov esi, dword [ebp - 0x34]
cmp esi, dword [ebp - 0x50]
je 0x4cc182
mov ecx, 0x700724
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xd
mov ecx, 0x700724
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xf
mov ecx, 0x700724
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x671558
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [esi + 0x10]
call fcn.0040d920
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x2c]
call fcn.004078d0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x34]
call fcn.004014a0
lea edx, [ebp - 0x14]
push edx
push 0x671558
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 0x10]
call fcn.0040d920
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x40]
call fcn.004078d0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x34]
call fcn.004014a0
lea ecx, [ebp - 0x14]
push ecx
push 0x671558
lea edx, [ebp - 0x34]
push edx
lea ecx, [esi + 0x10]
call fcn.0040d920
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x44]
call fcn.004078d0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x34]
call fcn.004014a0
push 0x66eba8
lea eax, [ebp - 0x2c]
push eax
call fcn.00439380
add esp, 8
test al, al
je 0x4cc129
push 0x66eba8
lea ecx, [ebp - 0x40]
push ecx
call fcn.00439380
add esp, 8
test al, al
je 0x4cc129
push 0x66eba8
lea edx, [ebp - 0x44]
push edx
call fcn.00439380
add esp, 8
test al, al
je 0x4cc129
mov eax, dword [ebp - 0x2c]
push eax
call fcn.006115cb
mov esi, eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.006115cb
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x44]
push edx
call fcn.006115cb
add esp, 0xc
cmp esi, 0x7d9
jle 0x4cc0ff
mov ecx, dword [ebp - 0x14]
lea edx, [ecx - 1]
cmp edx, 0xb
ja 0x4cc0ff
lea edx, [eax - 1]
cmp edx, 0x1d
ja 0x4cc0ff
push 0xffffffffffffffff
push 1
push 1
push 1
push eax
push ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.00417370
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
sub esp, 0x44
mov ecx, esp
mov dword [ebp - 0x14], esp
lea eax, [ebp - 0xac]
push eax
call fcn.004caaf0
mov byte [ebp - 4], 0x15
jmp 0x4cc151
lea ecx, [ebp - 0x38]
push ecx
call fcn.00417350
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
sub esp, 0x44
mov ecx, esp
mov dword [ebp - 0x14], esp
lea edx, [ebp - 0xac]
push edx
call fcn.004caaf0
mov byte [ebp - 4], 0x16
jmp 0x4cc151
lea eax, [ebp - 0x38]
push eax
call fcn.00417350
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
sub esp, 0x44
mov ecx, esp
mov dword [ebp - 0x14], esp
lea eax, [ebp - 0xac]
push eax
call fcn.004caaf0
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0x11
mov ecx, ebx
call fcn.004cb750
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x44]
call fcn.004014a0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x40]
call fcn.004014a0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.004014a0
jmp 0x4cc1b5
lea ecx, [ebp - 0x38]
push ecx
call fcn.00417350
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
sub esp, 0x44
mov ecx, esp
mov dword [ebp - 0x14], esp
lea edx, [ebp - 0xac]
push edx
call fcn.004caaf0
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 9
mov ecx, ebx
call fcn.004cb750
push 0x674da0
lea ecx, [ebp - 0x14]
call fcn.0040aab0
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x54]
call fcn.00464500
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x14]
call fcn.004014a0
cmp esi, dword [ebp - 0x50]
je 0x4cc1fa
lea eax, [esi + 0x10]
lea ecx, [edi + 0x24]
push eax
call fcn.004078d0
jmp 0x4cc22f
push 0x674da0
lea ecx, [ebp - 0x14]
call fcn.0040aab0
mov byte [ebp - 4], 0x1a
push str.user
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x54]
call fcn.004cb880
mov ecx, eax
call fcn.00405830
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x14]
call fcn.004014a0
push str.Company
lea ecx, [ebp - 0x14]
call fcn.0040aab0
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x54]
call fcn.00464500
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x14]
call fcn.004014a0
lea ecx, [edi + 0x28]
cmp esi, dword [ebp - 0x50]
je 0x4cc274
lea eax, [esi + 0x10]
push eax
call fcn.004078d0
jmp 0x4cc27e
push str.Company
call fcn.00405830
push str.Mail
lea ecx, [ebp - 0x14]
call fcn.0040aab0
mov byte [ebp - 4], 0x1c
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00464500
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x14]
call fcn.004014a0
cmp esi, dword [ebp - 0x50]
je 0x4cc2c5
lea eax, [esi + 0x10]
lea esi, [edi + 0x2c]
push eax
mov ecx, esi
call fcn.004078d0
jmp 0x4cc2d4
lea esi, [edi + 0x2c]
push str.Email
mov ecx, esi
call fcn.00405830
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push esi
call fcn.00401450
mov byte [ebp - 4], 0x1d
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
lea eax, [edi + 0x28]
push eax
call fcn.00401450
mov byte [ebp - 4], 0x1e
lea edx, [edi + 0x24]
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push edx
call fcn.00401450
mov byte [ebp - 4], 0x1f
sub esp, 0x44
mov ecx, esp
mov dword [ebp - 0x40], esp
lea eax, [ebp - 0xac]
push eax
call fcn.004caaf0
mov byte [ebp - 4], 0x20
mov byte [ebp - 4], 9
mov ecx, ebx
call fcn.004cb530
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call fcn.004cb990
mov ecx, ebx
call fcn.004ca830
mov ecx, ebx
call fcn.004ca810
mov dword [edi + 0x20], eax
push 0x80
lea edx, [ebp - 0x1c8]
push edx
push 0x200
mov eax, dword [0x716738]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x30
push 0x674cbc
lea ecx, [ebp - 0x1c8]
push ecx
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.00417e70
jmp 0x4cc400
cmp eax, 3
jne 0x4cc453
push 0x80
lea ecx, [ebp - 0x1c8]
push ecx
push 0x206
mov edx, dword [0x716738]
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040bea0
mov byte [ebp - 4], 0x21
push 0x671784
lea ecx, [ebp - 0x14]
call fcn.00401b50
push 0x30
push 0x674cbc
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14]
call fcn.004014a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.004014a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x54]
call fcn.004651f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.004014a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x338]
call fcn.0041b130
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc8]
call fcn.00405700
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00422440
jmp 0x4cc67b
cmp eax, 1
jne 0x4cc4aa
push 0x80
lea eax, [ebp - 0x1c8]
push eax
push 0x205
mov ecx, dword [0x716738]
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
lea edx, [ebp - 0x1c8]
push edx
lea ecx, [ebp - 0x14]
call fcn.0040bea0
mov byte [ebp - 4], 0x22
push 0x671784
lea ecx, [ebp - 0x14]
call fcn.00401b50
push 0x30
push 0x674cbc
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [edi + 4]
push ecx
jmp 0x4cc3ee
cmp eax, 5
jne 0x4cc500
push 0x80
lea edx, [ebp - 0x1c8]
push edx
push 0x208
mov eax, dword [0x716738]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
lea ecx, [ebp - 0x1c8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040bea0
mov byte [ebp - 4], 0x23
push 0x671784
lea ecx, [ebp - 0x14]
call fcn.00401b50
push 0x30
push 0x674cbc
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [edi + 4]
push eax
jmp 0x4cc3ee
cmp eax, 4
jne 0x4cc53b
push 0x80
lea ecx, [ebp - 0x1c8]
push ecx
push 0x209
mov edx, dword [0x716738]
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040bea0
mov byte [ebp - 4], 0x24
jmp 0x4cc3d2
cmp eax, 2
jne 0x4cc400
push 0x80
lea eax, [ebp - 0x1c8]
push eax
push 0x20a
mov ecx, dword [0x716738]
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
lea edx, [ebp - 0x1c8]
push edx
lea ecx, [ebp - 0x14]
call fcn.0040bea0
mov byte [ebp - 4], 0x25
push 0x671784
lea ecx, [ebp - 0x14]
call fcn.00401b50
push 0x30
push 0x674cbc
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [edi + 4]
push ecx
jmp 0x4cc3ee
push 0x80
lea edx, [ebp - 0x1c8]
push edx
push 0x201
mov eax, dword [0x716738]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
lea ecx, [ebp - 0x1c8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040bea0
mov byte [ebp - 4], 0x26
push 0x671784
lea ecx, [ebp - 0x28]
call fcn.00401b50
push 0x674d5c
lea ecx, [ebp - 0x28]
call fcn.00401b50
push 0x30
push 0x674cbc
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004014a0
jmp 0x4cc433
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call 0x41a4a0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10