Function at 0x40fce0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x436b8b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x44c250]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44c250]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], ebx
call fcn.00413279
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40fd41
push 0x80004005
call fcn.00401340
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
push str.Proxy
push str.SoftwareDameWare_DevelopmentDWRCSMSIDialog_Settings
lea ecx, [esp + 0x2c]
push 0x4391ec
push ecx
mov dword [esp + 0x250], ebx
call fcn.00402ca0
mov esi, dword [esp + 0x34]
mov edx, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
add esp, 0x10
or eax, ecx
jge 0x40fd9a
push edx
lea ecx, [esp + 0x28]
call fcn.00402120
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x18]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push esi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x40ff0e
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [0x454ae8]
cmp eax, ebx
mov dword [esp + 0x20], ebx
jge 0x40fe24
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
push ebx
push str.Operating_System
push ecx
call ebp
push ebx
test eax, eax
jne 0x40fe15
mov edx, dword [esp + 0x24]
mov eax, dword [edi + 0x4e4]
push edx
push 0x14e
push eax
jmp 0x40fe32
mov ecx, dword [edi + 0x4e4]
push ebx
push 0x14e
push ecx
jmp 0x40fe32
mov edx, dword [edi + 0x4e4]
push ebx
push eax
push 0x14e
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
push str.Configure
push eax
call ebp
lea ecx, [edi + 0x56c]
test eax, eax
jne 0x40fe73
cmp dword [esp + 0x20], 1
je 0x40fe73
push ebx
call fcn.00409db0
mov dword [0x44b270], ebx
jmp 0x40fe84
push 1
call fcn.00409db0
mov dword [0x44b270], 1
push 0x206
lea edx, [esp + 0x32]
xor ecx, ecx
push ebx
push edx
mov dword [esp + 0x24], 0x208
mov dword [esp + 0x28], 1
mov word [esp + 0x38], cx
call fcn.00422000
mov eax, dword [0x454ae4]
add esp, 0xc
cmp dword [eax - 0xc], ebx
jne 0x40fef6
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x24]
push eax
push ebx
push str.Target_Folder
push ecx
call ebp
lea ecx, [edi + 0x88]
test eax, eax
jne 0x40feea
lea edx, [esp + 0x2c]
push edx
call fcn.00403560
jmp 0x40ff06
push 0x453f78
call fcn.00403560
jmp 0x40ff06
lea ecx, [edi + 0x88]
push 0x454ae4
call fcn.00409f60
push ebx
mov ecx, edi
call fcn.0041597a
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x40ff21
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
lea eax, [esi - 0x10]
mov dword [esp + 0x240], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ff48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00421fea
add esp, 0x230
ret