Function at 0x4175e0
Capabilities:
Access peb ldr_data
Get ntdll base address
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x484579
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x4a55d0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push edi
mov eax, dword [0x4a55d0]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
xor ebx, ebx
push 0x103
lea eax, [esp + 0x29]
mov dword [esp + 0x138], ebx
push ebx
push eax
mov dword [esp + 0x20], ebx
mov byte [esp + 0x30], bl
call fcn.0043abe0
add esp, 0xc
push str.SOFTWAREJansh_
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0x104
call fcn.00401fa0
push str.Assistant_
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x140], 1
call fcn.00417bc0
push 0x4c86b8
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x14c], 2
call fcn.00417b00
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 3
call fcn.00402190
mov byte [esp + 0x134], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or ebp, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4176c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x134], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4176ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push 1
push ebx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x41775e
mov byte [esp + 0x134], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417730
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x134], ebp
mov eax, dword [esp + 0x13c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x417757
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x417888
mov edx, dword [esp + 0x13c]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x417788
push ebx
lea ecx, [esp + 0x140]
call fcn.00402350
mov edx, dword [esp + 0x13c]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
push ebx
push ebx
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x14]
push edx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
je 0x417814
push 2
push 0x497c38
mov ecx, esi
call fcn.00402400
mov byte [esp + 0x134], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4177e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x134], ebp
mov eax, dword [esp + 0x13c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x417757
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x417888
lea eax, [esp + 0x24]
lea edx, [eax + 1]
jmp 0x417820
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x417820
sub eax, edx
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.00402400
mov byte [esp + 0x134], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41785c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x134], ebp
mov eax, dword [esp + 0x13c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x417883
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.0043675a
add esp, 0x128
ret 4