Function at 0x4038c0
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x409a28
mov eax, dword fs:[0]
push eax
mov eax, 0x8058
mov dword fs:[0], esp
call fcn.00409330
mov eax, dword [0x40d078]
xor eax, esp
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x805c], eax
mov eax, dword [esp + 0x8070]
push ecx
mov ecx, str.SOFTWARE_rising_
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], str.datapath
mov dword [esp + 0x2c], str.group
mov dword [esp + 0x30], str.installpath
mov dword [esp + 0x34], str.name
mov dword [esp + 0x38], str.type
mov dword [esp + 0x3c], str.version
call fcn.00405f90
xor ebx, ebx
mov dword [esp + 0x8068], ebx
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004069b0
add eax, 0x10
mov dword [esp + 0xc], eax
cmp esi, ebx
mov byte [esp + 0x8068], 1
jne 0x403967
xor eax, eax
jmp 0x403979
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403970
sub eax, edx
push eax
lea edx, [esp + 0x10]
push edx
mov eax, esi
call fcn.00406ae0
lea eax, [esp + 8]
push eax
push 0x20019
mov byte [esp + 0x8070], 2
mov esi, dword [esp + 0x14]
push ebx
push esi
push 0x80000002
mov dword [esp + 0x1c], ebx
call dword [0x40a004]
cmp eax, ebx
jne 0x403b31
mov ecx, dword [esp + 8]
push ebp
push edi
mov dword [esp + 0x44], ecx
xor ebp, ebp
mov esi, dword [esp + ebp*4 + 0x2c]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebx
push esi
push edx
mov dword [esp + 0x38], 0x7fff
call dword [section..rdata]
cmp eax, ebx
jne 0x403ac1
mov eax, dword [esp + 0x24]
cmp eax, 1
je 0x403a03
cmp eax, 2
jne 0x403ac1
lea eax, [esp + 0x64]
test eax, eax
je 0x403a19
mov eax, dword [esp + 0x20]
cmp byte [esp + eax + 0x63], bl
je 0x403a19
mov byte [esp + eax + 0x64], bl
lea ecx, [esp + 0x1c]
push ecx
mov ecx, 0x40aca8
call fcn.00405f90
cmp esi, ebx
mov byte [esp + 0x8070], 3
jne 0x403a38
xor eax, eax
jmp 0x403a49
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403a40
sub eax, edx
push eax
lea edx, [esp + 0x20]
push edx
mov eax, esi
call fcn.00406ae0
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x4c]
call dword [0x40a174]
mov ecx, dword [esp + 0x28]
add ecx, 4
push ecx
lea edi, [esp + 0x4c]
mov byte [esp + 0x8074], 4
call fcn.004022a0
lea edx, [esp + 0x64]
push edx
mov ecx, eax
call dword [0x40a194]
mov ecx, edi
mov byte [esp + 0x8070], 3
call dword [0x40a170]
mov byte [esp + 0x8070], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403ac1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc ebp
cmp ebp, 6
jb 0x4039c1
mov eax, dword [esp + 0x10]
cmp eax, ebx
pop edi
pop ebp
je 0x403adc
push eax
call dword [0x40a010]
mov byte [esp + 0x8068], bl
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403b01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x8068], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403b2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
jmp 0x403b7d
lea eax, [esi - 0x10]
mov byte [esp + 0x8068], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403b52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x8068], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403b7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x8060]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x8058]
pop ebx
xor ecx, esp
call fcn.004092bc
add esp, 0x8064
ret