Function at 0x404fe0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x4073d1
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x40b01c]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x40b01c]
xor eax, esp
push eax
lea eax, [esp + 0x44c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x45c]
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x20]
push ecx
push 0x20019
xor ebp, ebp
push ebp
push str.SoftwareAutodeskDWGCommonShellExApps
mov dword [esp + 0x464], ebp
push 0x80000001
mov dword [esp + 0x34], ebp
call dword [0x408008]
cmp eax, ebp
jne 0x40508d
mov ebx, dword [esp + 0x20]
mov eax, 0x100
push 0x4084f8
lea edx, [esp + 0x38]
push edx
lea edi, [esp + 0x2c]
lea esi, [esp + 0x4c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], eax
call fcn.00406070
cmp eax, ebp
je 0x405094
cmp ebx, ebp
je 0x40508d
push ebx
call dword [section..rdata]
xor al, al
jmp 0x40528b
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x48]
call fcn.00404c90
mov byte [esp + 0x1b], 0
mov dword [esp + 0x28], ebp
jmp 0x4050b0
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x2c]
push ebp
push ebp
push ebp
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x258]
push eax
push ecx
push ebx
call dword [0x40800c]
cmp eax, 0x103
je 0x405245
lea edx, [esp + 0x1c]
push edx
push 0x20019
push ebp
lea eax, [esp + 0x250]
push eax
mov byte [esp + 0x464], 2
push ebx
mov dword [esp + 0x30], ebp
call dword [0x408008]
cmp eax, ebp
jne 0x4051f8
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x248]
mov dword [esp + 0x20], ebp
call fcn.00404c90
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [0x4080fc]
add esp, 8
test eax, eax
jne 0x405173
push 0x4084f8
lea ecx, [esp + 0x20]
push ecx
lea edi, [esp + 0x2c]
lea esi, [esp + 0x4c]
mov dword [esp + 0x2c], 0x100
call fcn.00406070
test eax, eax
jne 0x405173
mov edx, dword [esp + 0x2c]
push edx
mov eax, esi
push eax
call dword [0x4081d0]
test eax, eax
je 0x405204
cmp byte [esp + 0x1b], 0
jne 0x4051b4
push 0x4084f8
lea ecx, [esp + 0x20]
push ecx
lea edi, [esp + 0x2c]
lea esi, [esp + 0x4c]
mov dword [esp + 0x2c], 0x100
call fcn.00406070
test eax, eax
jne 0x4051b4
mov edx, dword [esp + 0x2c]
push edx
mov eax, esi
push eax
call dword [0x4081d0]
test eax, eax
jne 0x4051b4
mov byte [esp + 0x1b], 1
test ebp, ebp
mov dword [esp + 0x38], 0x100
je 0x4051cd
push ebp
call dword [section..rdata]
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4051ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
je 0x4051f8
push ebp
call dword [section..rdata]
add dword [esp + 0x28], 1
xor ebp, ebp
jmp 0x4050b0
test ebp, ebp
mov esi, dword [section..rdata]
je 0x405217
push ebp
call esi
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x1b], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40523c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
je 0x40524b
push ebp
call esi
jmp 0x40524b
mov esi, dword [section..rdata]
test ebx, ebx
je 0x405258
push ebx
call esi
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x454], 0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405280
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x405287
push ebx
call esi
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x44c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.0040694a
add esp, 0x444
ret