Function at 0x40d980
Capabilities:
Encode data using base64 via winapi
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464e23
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x63c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], 5
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xa8], 0
call fcn.00402a30
mov byte [ebp - 4], 6
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x8c], 8
lea ebx, [ebp - 0xa0]
push ecx
cmovae ebx, dword [ebp - 0xa0]
lea ecx, [ebp + 0x18]
push eax
call fcn.00402a30
mov byte [ebp - 4], 7
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
push ecx
cmovae eax, dword [ebp - 0x88]
lea ecx, [ebp + 0x28]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x70]
push eax
call fcn.00402a30
mov byte [ebp - 4], 8
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
push ecx
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp + 0x38]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x58]
push eax
call fcn.00402a30
mov byte [ebp - 4], 9
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp + 0x48]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.00402a30
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp + 0x58]
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00402a30
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, ebx
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0xb8], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40daa5
push 0
push 0
sub ecx, edx
push 0
sar ecx, 1
push 0
lea eax, [ecx + 1]
push eax
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0xb4], eax
lea esi, [eax + 2]
push esi
call fcn.0045669c
mov edi, eax
add esp, 4
test edi, edi
je 0x40db7d
push esi
push 0
push edi
call fcn.0044f970
mov ecx, ebx
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40db00
mov eax, dword [ebp - 0xb4]
sub ecx, edx
push 0
push 0
sar ecx, 1
inc eax
push eax
push edi
lea eax, [ecx + 1]
push eax
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x40db74
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40db37
mov ebx, dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
lea eax, [ebp - 0xa8]
push eax
push 0
push 0x40000001
sub ecx, edx
push ecx
push edi
call ebx
mov eax, dword [ebp - 0xa8]
add eax, 0xa
push eax
call fcn.0045669c
mov esi, eax
add esp, 4
test esi, esi
jne 0x40dc59
push edi
call fcn.004533f0
add esp, 4
mov esi, 1
lea ecx, [ebp - 0x28]
call fcn.00401ea0
lea ecx, [ebp - 0x40]
call fcn.00401ea0
lea ecx, [ebp - 0x58]
call fcn.00401ea0
lea ecx, [ebp - 0x70]
call fcn.00401ea0
lea ecx, [ebp - 0x88]
call fcn.00401ea0
lea ecx, [ebp - 0xa0]
call fcn.00401ea0
mov byte [ebp - 4], 0xad
call fcn.004016b0
lea ecx, [ebp + 8]
push ecx
mov eax, dword [eax + 0x200]
call eax
mov byte [ebp - 4], 0xae
call fcn.004016b0
lea ecx, [ebp + 0x18]
push ecx
mov eax, dword [eax + 0x200]
call eax
mov byte [ebp - 4], 0xaf
call fcn.004016b0
lea ecx, [ebp + 0x28]
push ecx
mov eax, dword [eax + 0x200]
call eax
mov byte [ebp - 4], 0xb0
call fcn.004016b0
lea ecx, [ebp + 0x38]
push ecx
mov eax, dword [eax + 0x200]
call eax
mov byte [ebp - 4], 0xb1
call fcn.004016b0
lea ecx, [ebp + 0x48]
push ecx
mov ecx, dword [eax + 0x200]
call ecx
mov dword [ebp - 4], 0xb2
call fcn.004016b0
lea ecx, [ebp + 0x58]
push ecx
mov ecx, dword [eax + 0x200]
call ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044daed
mov esp, ebp
pop ebp
ret 0x60
mov eax, dword [ebp - 0xa8]
add eax, 0xa
push eax
push 0
push esi
call fcn.0044f970
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40dc73
lea eax, [ebp - 0xa8]
sub ecx, edx
push eax
push esi
push 0x40000001
push ecx
push edi
call ebx
test eax, eax
jne 0x40dca5
push esi
call fcn.004533f0
push edi
call fcn.004533f0
add esp, 8
jmp 0x40db7d
push edi
call fcn.004533f0
mov edx, dword [ebp - 0xb0]
add esp, 4
mov ecx, edx
mov dword [ebp - 0xa8], 0
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40dcc3
push 0
push 0
sub ecx, edi
push 0
sar ecx, 1
push 0
lea eax, [ecx + 1]
push eax
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0xb4], eax
lea edi, [eax + 2]
push edi
call fcn.0045669c
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x40dd15
push esi
call fcn.004533f0
add esp, 4
lea esi, [ebx + 2]
jmp 0x40db82
push edi
push 0
push ebx
call fcn.0044f970
mov edx, dword [ebp - 0xb0]
add esp, 0xc
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40dd30
mov eax, dword [ebp - 0xb4]
sub ecx, edi
push 0
push 0
sar ecx, 1
inc eax
push eax
push ebx
lea eax, [ecx + 1]
push eax
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x40dd9e
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40dd67
lea eax, [ebp - 0xa8]
sub ecx, edx
push eax
push 0
push 0x40000001
push ecx
push ebx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov eax, dword [ebp - 0xa8]
add eax, 0xa
push eax
call fcn.0045669c
mov edi, eax
add esp, 4
test edi, edi
jne 0x40ddb7
push ebx
call fcn.004533f0
push esi
call fcn.004533f0
add esp, 8
mov esi, 2
jmp 0x40db82
mov eax, dword [ebp - 0xa8]
add eax, 0xa
push eax
push 0
push edi
call fcn.0044f970
mov ecx, ebx
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ddd1
lea eax, [ebp - 0xa8]
sub ecx, edx
push eax
push edi
push 0x40000001
push ecx
push ebx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
jne 0x40de12
push edi
call fcn.004533f0
push ebx
call fcn.004533f0
push esi
call fcn.004533f0
add esp, 0xc
mov esi, 2
jmp 0x40db82
push ebx
call fcn.004533f0
mov ebx, dword [ebp - 0xac]
add esp, 4
mov ecx, ebx
mov dword [ebp - 0xa8], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40de30
push 0
push 0
sub ecx, edx
push 0
sar ecx, 1
push 0
lea eax, [ecx + 1]
push eax
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0xb4], eax
add eax, 2
push eax
call fcn.0045669c
mov ebx, eax
add esp, 4
mov dword [ebp - 0xb0], ebx
test ebx, ebx
jne 0x40de8e
push edi
call fcn.004533f0
push esi
call fcn.004533f0
add esp, 8
lea esi, [ebx + 3]
jmp 0x40db82
mov eax, dword [ebp - 0xb4]
add eax, 2
push eax
push 0
push ebx
call fcn.0044f970
mov ecx, dword [ebp - 0xac]
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40deb0
mov eax, dword [ebp - 0xb4]
sub ecx, edx
push 0
push 0
sar ecx, 1
inc eax
push eax
push ebx
lea eax, [ecx + 1]
push eax
push dword [ebp - 0xac]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x40df06
push ebx
call fcn.004533f0
push edi
call fcn.004533f0
push esi
call fcn.004533f0
add esp, 0xc
mov esi, 3
jmp 0x40db82
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40df10
lea eax, [ebp - 0xa8]
sub ecx, edx
push eax
push 0
push 0x40000001
push ecx
push ebx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov eax, dword [ebp - 0xa8]
add eax, 0xa
push eax
call fcn.0045669c
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x40df69
push dword [ebp - 0xb0]
call fcn.004533f0
push edi
call fcn.004533f0
push esi
call fcn.004533f0
add esp, 0xc
lea esi, [ebx + 3]
jmp 0x40db82
mov eax, dword [ebp - 0xa8]
add eax, 0xa
push eax
push 0
push ebx
call fcn.0044f970
mov edx, dword [ebp - 0xb0]
add esp, 0xc
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xac], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40df90
sub ecx, dword [ebp - 0xac]
lea eax, [ebp - 0xa8]
push eax
push ebx
push 0x40000001
push ecx
push edx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
jne 0x40dfe0
push ebx
call fcn.004533f0
push dword [ebp - 0xb0]
call fcn.004533f0
push edi
call fcn.004533f0
push esi
call fcn.004533f0
add esp, 0x10
mov esi, 3
jmp 0x40db82
push dword [ebp - 0xb0]
call fcn.004533f0
mov ecx, dword [ebp - 0xa4]
add esp, 4
mov dword [ebp - 0xa8], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e001
push 0
push 0
sub ecx, edx
push 0
sar ecx, 1
push 0
lea eax, [ecx + 1]
push eax
push dword [ebp - 0xa4]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0xb0], eax
add eax, 2
push eax
call fcn.0045669c
add esp, 4
mov dword [ebp - 0xac], eax
test eax, eax
jne 0x40e06a
push ebx
call fcn.004533f0
push edi
call fcn.004533f0
push esi
call fcn.004533f0
add esp, 0xc
mov esi, 4
jmp 0x40db82
mov ecx, dword [ebp - 0xb0]
add ecx, 2
push ecx
push 0
push eax
call fcn.0044f970
mov ecx, dword [ebp - 0xa4]
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e090
mov eax, dword [ebp - 0xb0]
sub ecx, edx
push 0
push 0
inc eax
sar ecx, 1
push eax
push dword [ebp - 0xac]
lea eax, [ecx + 1]
push eax
push dword [ebp - 0xa4]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x40e121
mov edx, dword [ebp - 0xac]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xb0], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e0e0
sub ecx, dword [ebp - 0xb0]
lea eax, [ebp - 0xa8]
push eax
push 0
push 0x40000001
push ecx
push edx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov eax, dword [ebp - 0xa8]
add eax, 0xa
push eax
call fcn.0045669c
mov ecx, eax
add esp, 4
mov dword [ebp - 0xb4], ecx
test ecx, ecx
jne 0x40e14b
push dword [ebp - 0xac]
call fcn.004533f0
push ebx
call fcn.004533f0
push edi
call fcn.004533f0
push esi
call fcn.004533f0
add esp, 0x10
mov esi, 4
jmp 0x40db82
mov eax, dword [ebp - 0xa8]
add eax, 0xa
push eax
push 0
push ecx
call fcn.0044f970
mov edx, dword [ebp - 0xac]
add esp, 0xc
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xb0], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e171
sub ecx, dword [ebp - 0xb0]
lea eax, [ebp - 0xa8]
push eax
push dword [ebp - 0xb4]
push 0x40000001
push ecx
push edx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
jne 0x40e1d1
push dword [ebp - 0xb4]
call fcn.004533f0
push dword [ebp - 0xac]
call fcn.004533f0
push ebx
call fcn.004533f0
push edi
call fcn.004533f0
push esi
call fcn.004533f0
add esp, 0x14
mov esi, 4
jmp 0x40db82
push dword [ebp - 0xac]
call fcn.004533f0
mov ecx, dword [ebp - 0xbc]
add esp, 4
mov dword [ebp - 0xa8], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e1f2
push 0
push 0
sub ecx, edx
push 0
sar ecx, 1
push 0
lea eax, [ecx + 1]
push eax
push dword [ebp - 0xbc]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0xb0], eax
add eax, 2
push eax
call fcn.0045669c
add esp, 4
mov dword [ebp - 0xa4], eax
test eax, eax
jne 0x40e266
push dword [ebp - 0xb4]
call fcn.004533f0
push ebx
call fcn.004533f0
push edi
call fcn.004533f0
push esi
call fcn.004533f0
add esp, 0x10
mov esi, 5
jmp 0x40db82
mov ecx, dword [ebp - 0xb0]
add ecx, 2
push ecx
push 0
push eax
call fcn.0044f970
mov ecx, dword [ebp - 0xbc]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e284
mov eax, dword [ebp - 0xb0]
sub ecx, edx
push 0
push 0
inc eax
sar ecx, 1
push eax
push dword [ebp - 0xa4]
lea eax, [ecx + 1]
push eax
push dword [ebp - 0xbc]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x40e312
mov edx, dword [ebp - 0xa4]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xbc], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e2d1
sub ecx, dword [ebp - 0xbc]
lea eax, [ebp - 0xa8]
push eax
push 0
push 0x40000001
push ecx
push edx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov eax, dword [ebp - 0xa8]
add eax, 0xa
push eax
call fcn.0045669c
mov ecx, eax
add esp, 4
mov dword [ebp - 0xac], ecx
test ecx, ecx
jne 0x40e347
push dword [ebp - 0xa4]
call fcn.004533f0
push dword [ebp - 0xb4]
call fcn.004533f0
push ebx
call fcn.004533f0
push edi
call fcn.004533f0
push esi
call fcn.004533f0
add esp, 0x14
mov esi, 5
jmp 0x40db82
mov eax, dword [ebp - 0xa8]
add eax, 0xa
push eax
push 0
push ecx
call fcn.0044f970
mov edx, dword [ebp - 0xa4]
add esp, 0xc
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xbc], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e370
sub ecx, dword [ebp - 0xbc]
lea eax, [ebp - 0xa8]
push eax
push dword [ebp - 0xac]
push 0x40000001
push ecx
push edx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
jne 0x40e3db
push dword [ebp - 0xac]
call fcn.004533f0
push dword [ebp - 0xa4]
call fcn.004533f0
push dword [ebp - 0xb4]
call fcn.004533f0
push ebx
call fcn.004533f0
push edi
call fcn.004533f0
push esi
call fcn.004533f0
add esp, 0x18
mov esi, 5
jmp 0x40db82
push dword [ebp - 0xa4]
call fcn.004533f0
mov ecx, dword [ebp - 0xb8]
add esp, 4
mov dword [ebp - 0xa8], 0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e400
push 0
push 0
sub ecx, edx
push 0
sar ecx, 1
push 0
lea eax, [ecx + 1]
push eax
push dword [ebp - 0xb8]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0xbc], eax
add eax, 2
push eax
call fcn.0045669c
add esp, 4
mov dword [ebp - 0xa4], eax
test eax, eax
jne 0x40e47f
push dword [ebp - 0xac]
call fcn.004533f0
push dword [ebp - 0xb4]
call fcn.004533f0
push ebx
call fcn.004533f0
push edi
call fcn.004533f0
push esi
call fcn.004533f0
add esp, 0x14
mov esi, 6
jmp 0x40db82
mov ecx, dword [ebp - 0xbc]
add ecx, 2
push ecx
push 0
push eax
call fcn.0044f970
mov ecx, dword [ebp - 0xb8]
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e4a0
mov eax, dword [ebp - 0xbc]
sub ecx, edx
push 0
push 0
inc eax
sar ecx, 1
push eax
push dword [ebp - 0xa4]
lea eax, [ecx + 1]
push eax
push dword [ebp - 0xb8]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x40e531
mov edx, dword [ebp - 0xa4]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xb8], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e4f0
sub ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0xa8]
push eax
push 0
push 0x40000001
push ecx
push edx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov eax, dword [ebp - 0xa8]
add eax, 0xa
push eax
call fcn.0045669c
mov ecx, eax
add esp, 4
mov dword [ebp - 0xb0], ecx
test ecx, ecx
jne 0x40e571
push dword [ebp - 0xa4]
call fcn.004533f0
push dword [ebp - 0xac]
call fcn.004533f0
push dword [ebp - 0xb4]
call fcn.004533f0
push ebx
call fcn.004533f0
push edi
call fcn.004533f0
push esi
call fcn.004533f0
add esp, 0x18
mov esi, 6
jmp 0x40db82
mov eax, dword [ebp - 0xa8]
add eax, 0xa
push eax
push 0
push ecx
call fcn.0044f970
mov edx, dword [ebp - 0xa4]
add esp, 0xc
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xb8], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e597
sub ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0xa8]
push eax
push dword [ebp - 0xb0]
push 0x40000001
push ecx
push edx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
jne 0x40e60d
push dword [ebp - 0xb0]
call fcn.004533f0
push dword [ebp - 0xa4]
call fcn.004533f0
push dword [ebp - 0xac]
call fcn.004533f0
push dword [ebp - 0xb4]
call fcn.004533f0
push ebx
call fcn.004533f0
push edi
call fcn.004533f0
push esi
call fcn.004533f0
add esp, 0x1c
mov esi, 6
jmp 0x40db82
push dword [ebp - 0xa4]
call fcn.004533f0
add esp, 4
lea eax, [ebp - 0xc0]
push eax
push 0x2011f
push 0
push str.SOFTWARERansompod
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40e67d
push dword [ebp - 0xb0]
call fcn.004533f0
push dword [ebp - 0xac]
call fcn.004533f0
push dword [ebp - 0xb4]
call fcn.004533f0
push ebx
call fcn.004533f0
push edi
call fcn.004533f0
push esi
call fcn.004533f0
add esp, 0x18
mov esi, 7
jmp 0x40db82
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e682
sub ecx, edx
push ecx
push esi
push 1
push 0
push str.cRegisterFirstName
push dword [ebp - 0xc0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov ecx, 1
mov eax, 0
cmovne eax, ecx
mov ecx, edi
mov dword [ebp - 0xa4], eax
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e6c0
sub ecx, edx
push ecx
push edi
push 1
push 0
push str.cRegisterLastName
push dword [ebp - 0xc0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov ecx, 1
mov eax, dword [ebp - 0xa4]
cmovne eax, ecx
mov ecx, ebx
mov dword [ebp - 0xa4], eax
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e700
sub ecx, edx
push ecx
push ebx
push 1
push 0
push str.cRegisterEmail
push dword [ebp - 0xc0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0xb4]
test eax, eax
mov eax, dword [ebp - 0xa4]
mov ecx, 1
cmovne eax, ecx
mov ecx, edx
mov dword [ebp - 0xa4], eax
lea eax, [ecx + 1]
mov dword [ebp - 0xb8], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e747
sub ecx, dword [ebp - 0xb8]
push ecx
push edx
push 1
push 0
push str.cRegisterCellphone
push dword [ebp - 0xc0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0xac]
test eax, eax
mov eax, dword [ebp - 0xa4]
mov ecx, 1
cmovne eax, ecx
mov ecx, edx
mov dword [ebp - 0xa4], eax
lea eax, [ecx + 1]
mov dword [ebp - 0xb8], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e792
sub ecx, dword [ebp - 0xb8]
push ecx
push edx
push 1
push 0
push str.cRegisterCity
push dword [ebp - 0xc0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0xb0]
test eax, eax
mov eax, dword [ebp - 0xa4]
mov ecx, 1
cmovne eax, ecx
mov ecx, edx
mov dword [ebp - 0xa4], eax
lea eax, [ecx + 1]
mov dword [ebp - 0xb8], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e7e0
sub ecx, dword [ebp - 0xb8]
push ecx
push edx
push 1
push 0
push str.cRegisterSerial
push dword [ebp - 0xc0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov ecx, 1
mov eax, dword [ebp - 0xa4]
cmovne eax, ecx
push esi
mov dword [ebp - 0xa4], eax
call fcn.004533f0
push edi
call fcn.004533f0
push ebx
call fcn.004533f0
push dword [ebp - 0xb4]
call fcn.004533f0
push dword [ebp - 0xac]
call fcn.004533f0
push dword [ebp - 0xb0]
call fcn.004533f0
add esp, 0x18
push dword [ebp - 0xc0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x40e873
cmp eax, 1
jne 0x40e873
lea esi, [eax + 7]
jmp 0x40db82
xor esi, esi
jmp 0x40db82