Function at 0x401a60
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x40aa6c
mov eax, dword fs:[0]
push eax
sub esp, 0x884
mov eax, dword [0x40f090]
xor eax, esp
mov dword [esp + 0x880], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x40f090]
xor eax, esp
push eax
lea eax, [esp + 0x898]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8a8]
push 0x7fe
xor edi, edi
lea ecx, [esp + 0x9a]
xor eax, eax
push edi
push ecx
mov word [esp + 0xa0], ax
call fcn.00404520
add esp, 0xc
lea edx, [esp + 0x14]
push edx
push 0xf003f
push edi
push str.SoftwareWandoulabsMiniwdj2
push 0x80000001
mov dword [esp + 0x2c], 0x400
call dword [0x40b010]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x98]
push ecx
lea edx, [esp + 0x40]
push edx
push edi
push str.Path
push eax
call dword [0x40b014]
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x40b00c]
lea eax, [esp + 0x94]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x401b20
sub eax, edx
sar eax, 1
je 0x401cf0
lea edx, [esp + 0x94]
push edx
call dword [0x40b134]
test eax, eax
je 0x401cf0
xor eax, eax
mov word [esp + 0x7c], ax
mov ebx, 7
lea eax, [esp + 0x94]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x401b70
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x98]
lea esi, [esp + 0x7c]
call fcn.004024b0
mov dword [esp + 0x8a0], edi
xor ecx, ecx
mov eax, ebp
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], edi
mov word [esp + 0x60], cx
lea edx, [eax + 2]
jmp 0x401bb0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x401bb0
sub eax, edx
sar eax, 1
push eax
mov eax, ebp
lea esi, [esp + 0x60]
call fcn.004024b0
xor edx, edx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], edi
mov word [esp + 0x44], dx
push 1
lea ebx, [esp + 0x7c]
mov byte [esp + 0x8a4], 2
call fcn.00402350
lea edx, [eax + 1]
mov eax, ebx
push eax
lea esi, [esp + 0x20]
call fcn.00402320
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x8a8], 3
call fcn.00402400
mov ebx, 8
mov byte [esp + 0x8a0], 2
cmp dword [esp + 0x34], ebx
jb 0x401c30
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0040341d
add esp, 4
xor edx, edx
mov eax, ebp
mov word [esp + 0x20], dx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
jmp 0x401c50
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x401c50
sub eax, edx
sar eax, 1
push eax
mov eax, ebp
lea esi, [esp + 0x20]
call fcn.004024b0
lea eax, [esp + 0x40]
push eax
mov edx, esi
lea ecx, [esp + 0x7c]
call fcn.00401400
add esp, 4
cmp dword [esp + 0x34], ebx
jb 0x401c91
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0040341d
add esp, 4
cmp dword [esp + 0x58], ebx
jb 0x401ca4
mov edx, dword [esp + 0x44]
push edx
call fcn.0040341d
add esp, 4
xor eax, eax
mov esi, 7
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], edi
mov word [esp + 0x44], ax
cmp dword [esp + 0x74], ebx
jb 0x401ccb
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0040341d
add esp, 4
xor edx, edx
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], edi
mov word [esp + 0x60], dx
cmp dword [esp + 0x90], ebx
jb 0x401cf0
mov eax, dword [esp + 0x7c]
push eax
call fcn.0040341d
add esp, 4
mov ecx, dword [esp + 0x898]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x880]
xor ecx, esp
call fcn.0040322e
add esp, 0x890
ret