Function at 0x403c30
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x41417c
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x41a060]
xor eax, esp
mov dword [esp + 0x818], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41a060]
xor eax, esp
push eax
lea eax, [esp + 0x830]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x840]
xor ebx, ebx
cmp ebp, ebx
je 0x404094
call fcn.00403980
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x28], esi
je 0x404094
push 0x7fe
lea eax, [esp + 0x32]
push ebx
push eax
mov word [esp + 0x38], bx
call fcn.00409d90
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push 1
push ebx
push str.command
push esi
mov dword [esp + 0x30], 0x800
mov dword [esp + 0x2c], ebx
call dword [0x415020]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x403cee
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
push ecx
push ebx
push ebx
push ebx
push eax
call dword [0x415014]
mov edx, dword [esp + 0x18]
push edx
call dword [0x41502c]
mov ax, word [esp + 0x2c]
cmp ax, bx
je 0x403ead
cmp ax, 0x22
jne 0x403d63
cmp word [esp + 0x2e], bx
je 0x403ead
lea eax, [esp + 0x2e]
push 0x22
push eax
call fcn.00409a76
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x403ead
lea edi, [ebp + 4]
lea edx, [esp + 0x2e]
mov word [esi], bx
call fcn.00406740
mov ebx, edi
call fcn.00406f40
mov edi, eax
call fcn.00406fc0
lea edi, [ebp + 8]
lea edx, [esi + 2]
call fcn.00406740
mov ebx, edi
call fcn.00406f40
mov edi, eax
call fcn.00406fc0
xor ebx, ebx
jmp 0x403ead
mov edx, dword [0x41b468]
mov eax, dword [edx + 0xc]
mov ecx, 0x41b468
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x838], ebx
mov edx, dword [0x41b468]
mov eax, dword [edx + 0xc]
mov ecx, 0x41b468
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
lea edx, [esp + 0x2c]
lea edi, [esp + 0x14]
mov byte [esp + 0x838], 1
call fcn.00406740
mov eax, edi
lea edi, [esp + 0x24]
call fcn.004066e0
lea edi, [esp + 0x14]
call fcn.004069d0
mov edi, dword [esp + 0x14]
cmp dword [edi - 0xc], ebx
jl 0x403e5f
push str..exe
push edi
call fcn.00409a98
add esp, 8
cmp eax, ebx
je 0x403e5f
sub eax, edi
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
je 0x403e5f
lea eax, [esi + 4]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x14]
call fcn.00406a50
lea edi, [ebp + 4]
mov byte [esp + 0x838], 2
call fcn.004066e0
lea eax, [esp + 0x20]
mov byte [esp + 0x838], 1
call fcn.00406cc0
lea ecx, [esi + 5]
lea esi, [esp + 0x20]
lea edx, [esp + 0x24]
call fcn.00406a30
lea edi, [ebp + 8]
mov byte [esp + 0x838], 3
call fcn.004066e0
mov eax, esi
mov byte [esp + 0x838], 1
call fcn.00406cc0
mov ebx, edi
call fcn.00406f40
mov edi, eax
call fcn.00406fc0
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov byte [esp + 0x838], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x838], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403ead
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 4]
push eax
call dword [0x41515c]
cmp eax, 0xffffffff
je 0x404089
test al, 0x10
jne 0x404089
mov ecx, dword [ebp + 8]
cmp dword [ecx - 0xc], ebx
lea esi, [ebp + 8]
jle 0x403ef7
mov ecx, 0x41725c
call fcn.004069a0
cmp eax, 0xffffffff
je 0x403ef7
mov edx, dword [esp + 0x28]
push edx
call dword [0x41502c]
mov eax, 1
jmp 0x404096
push 0x800
lea eax, [esp + 0x30]
push ebx
push eax
mov dword [esp + 0x28], 0x800
call fcn.00409d90
mov esi, dword [esp + 0x34]
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push 1
push ebx
push str.ddeexec
push esi
call dword [0x415020]
push esi
call dword [0x41502c]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x404094
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
push ecx
push ebx
push ebx
push ebx
xor esi, esi
push eax
mov dword [esp + 0x38], esi
call dword [0x415014]
cmp word [esp + 0x2c], bx
je 0x40407a
lea esi, [ebp + 0xc]
lea edx, [esp + 0x2c]
mov edi, esi
call fcn.00406740
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push 1
push ebx
push str.Application
push eax
mov dword [esp + 0x28], ebx
call dword [0x415020]
mov edi, dword [esp + 0x14]
cmp edi, ebx
je 0x403fda
push 0x800
lea ecx, [esp + 0x30]
push ebx
push ecx
mov dword [esp + 0x28], 0x800
call fcn.00409d90
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x30]
push eax
push ebx
push ebx
push ebx
push edi
call dword [0x415014]
lea edi, [ebp + 0x10]
lea edx, [esp + 0x2c]
call fcn.00406740
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x41502c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push 1
push ebx
push str.Topic
push eax
mov dword [esp + 0x28], ebx
call dword [0x415020]
mov edi, dword [esp + 0x14]
cmp edi, ebx
je 0x404044
push 0x800
lea ecx, [esp + 0x30]
push ebx
push ecx
mov dword [esp + 0x28], 0x800
call fcn.00409d90
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x30]
push eax
push ebx
push ebx
push ebx
push edi
call dword [0x415014]
lea edi, [ebp + 0x14]
lea edx, [esp + 0x2c]
call fcn.00406740
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x41502c]
mov edx, dword [esi]
cmp dword [edx - 0xc], ebx
jle 0x404076
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], ebx
jle 0x404076
mov ecx, dword [ebp + 0x14]
cmp dword [ecx - 0xc], ebx
jle 0x404076
mov ecx, 0x41725c
mov dword [ebp], 1
call fcn.004069a0
cmp eax, 0xffffffff
mov esi, 1
jne 0x40407a
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push edx
call dword [0x41502c]
mov eax, esi
jmp 0x404096
mov eax, dword [esp + 0x28]
push eax
call dword [0x41502c]
xor eax, eax
mov ecx, dword [esp + 0x830]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x818]
xor ecx, esp
call fcn.004094b1
add esp, 0x828
ret