Function at 0x403520
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x48382b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push ebp
push esi
mov esi, ecx
push 0x48b458
mov ecx, dword [esi + 4]
add ecx, 0x18fb50
call fcn.00445d20
mov ecx, dword [esi + 4]
add ecx, 0x18fb50
call fcn.00445cf0
mov ecx, esi
call fcn.00403470
mov eax, dword [esi + 8]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 8], ebp
jne 0x403588
lea eax, [esp + 8]
push 0x48b444
push eax
call fcn.00439930
add esp, 8
jmp 0x4035a5
lea ecx, [esp + 8]
push eax
push ecx
call fcn.00439930
lea edx, [esp + 0x10]
push 0x48b434
push edx
call fcn.00439b10
add esp, 0x10
mov eax, dword [esp + 8]
mov ecx, dword [esi + 4]
push eax
push 0x48b424
add ecx, 0x18fb50
call fcn.00445df0
lea ecx, [esp + 0x18]
call fcn.00445960
mov ecx, dword [esp + 8]
mov dword [esp + 0x23c], ebp
push ecx
lea ecx, [esp + 0x1c]
call fcn.004459b0
test al, al
jne 0x40360a
mov ecx, dword [esi + 4]
push 0x48b410
add ecx, 0x18fb50
call fcn.00445d20
mov ecx, dword [esi + 4]
add ecx, 0x18fb50
call fcn.00445d00
push 0x48b3f8
jmp 0x403988
lea edx, [esp + 8]
push edx
call fcn.00439990
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00445ab0
test al, al
je 0x40389f
push ebx
mov ebx, 1
lea ecx, [esp + 0x1c]
call fcn.00445ba0
push eax
push 0x48b3f0
call fcn.004398a0
add esp, 8
test al, al
je 0x403678
lea ecx, [esp + 0x1c]
call fcn.00445ab0
lea ecx, [esp + 0x1c]
call fcn.00445bc0
mov ecx, dword [esi + 4]
mov word [esi + 0x58], ax
and eax, 0xffff
add ecx, 0x18fb50
push eax
push 0x48b3e4
call fcn.00445f00
lea ecx, [esp + 0x1c]
call fcn.00445ba0
push eax
push 0x48b3d8
call fcn.004398a0
add esp, 8
test al, al
je 0x4036cb
lea ecx, [esp + 0x1c]
call fcn.00445ab0
lea ecx, [esp + 0x1c]
call fcn.00445bc0
test eax, eax
je 0x4036ae
mov byte [esi + 0x67], bl
jmp 0x4036b2
mov byte [esi + 0x67], 0
mov ecx, dword [esi + 4]
xor eax, eax
mov al, byte [esi + 0x67]
add ecx, 0x18fb50
push eax
push 0x48b3c8
call fcn.00445f00
lea ecx, [esp + 0x1c]
call fcn.00445ba0
push eax
push 0x48b3bc
call fcn.004398a0
add esp, 8
test al, al
je 0x403715
lea ecx, [esp + 0x1c]
call fcn.00445ab0
lea ecx, [esp + 0x1c]
call fcn.00445bc0
mov ecx, dword [esi + 4]
mov word [esi + 0x54], ax
and eax, 0xffff
add ecx, 0x18fb50
push eax
push 0x48b3b0
call fcn.00445f00
lea ecx, [esp + 0x1c]
call fcn.00445ba0
push eax
push 0x48b3a4
call fcn.004398a0
add esp, 8
test al, al
je 0x40375f
lea ecx, [esp + 0x1c]
call fcn.00445ab0
lea ecx, [esp + 0x1c]
call fcn.00445bc0
mov ecx, dword [esi + 4]
mov word [esi + 0x52], ax
and eax, 0xffff
add ecx, 0x18fb50
push eax
push 0x48b398
call fcn.00445f00
lea ecx, [esp + 0x1c]
call fcn.00445ba0
push eax
push 0x48b38c
call fcn.004398a0
add esp, 8
test al, al
je 0x403805
lea ecx, [esp + 0x1c]
call fcn.00445ab0
lea ecx, [esp + 0x1c]
call fcn.00445ba0
push eax
push 0x48b384
call fcn.004398a0
add esp, 8
test al, al
je 0x4037c7
mov ecx, dword [esi + 4]
push 0x48b36c
add ecx, 0x18fb50
mov word [esi + 0x68], 0x320
mov word [esi + 0x6a], 0x258
mov word [esi + 0x4c], 2
call fcn.00445d20
lea ecx, [esp + 0x1c]
call fcn.00445ba0
push eax
push 0x48b360
call fcn.004398a0
add esp, 8
test al, al
je 0x403805
mov ecx, dword [esi + 4]
push 0x48b348
add ecx, 0x18fb50
mov word [esi + 0x68], 0x400
mov word [esi + 0x6a], 0x300
mov word [esi + 0x4c], bx
call fcn.00445d20
lea ecx, [esp + 0x1c]
call fcn.00445ba0
push eax
push 0x48b340
call fcn.004398a0
add esp, 8
test al, al
je 0x40388d
lea ecx, [esp + 0x1c]
call fcn.00445ab0
lea ecx, [esp + 0x1c]
call fcn.00445ba0
push eax
push 0x48b338
call fcn.004398a0
add esp, 8
test al, al
je 0x40385b
mov ecx, dword [esi + 4]
push 0x48b328
add ecx, 0x18fb50
mov word [esi + 0x4e], bp
call fcn.00445d20
lea ecx, [esp + 0x1c]
call fcn.00445ba0
push eax
push 0x48b320
call fcn.004398a0
add esp, 8
test al, al
je 0x40388d
mov ecx, dword [esi + 4]
push 0x48b310
add ecx, 0x18fb50
mov word [esi + 0x4e], bx
call fcn.00445d20
lea ecx, [esp + 0x1c]
call fcn.00445ab0
test al, al
jne 0x40362e
pop ebx
lea ecx, [esp + 0x18]
call fcn.00445bd0
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 0x2000
push ecx
push 0x48b2f4
push 0x80000001
mov dword [esp + 0x18], ebp
call dword [sym.imp.advapi32.dll_RegOpenKeyA]
cmp eax, ebp
jne 0x403927
mov edx, dword [esp + 0x10]
push edi
push edx
call fcn.004799d9
mov edx, dword [esp + 0x1c]
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], eax
push ecx
push eax
push ebp
push ebp
push 0x48b2e0
push edx
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov edi, eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
cmp edi, ebp
pop edi
jne 0x40391a
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00439c00
add esp, 4
mov word [esi + 0x58], ax
lea edx, [esp + 0xc]
push edx
call fcn.00439990
add esp, 4
mov ecx, dword [esi + 4]
xor eax, eax
mov ax, word [esi + 0x4c]
add ecx, 0x18fb50
push eax
push 0x48b2d0
call fcn.00445f00
xor ecx, ecx
mov cx, word [esi + 0x4e]
push ecx
mov ecx, dword [esi + 4]
push 0x48b2c4
add ecx, 0x18fb50
call fcn.00445f00
mov ecx, dword [esi + 4]
xor edx, edx
mov dx, word [esi + 0x50]
add ecx, 0x18fb50
push edx
push 0x48b2b8
call fcn.00445f00
mov ecx, dword [esi + 4]
add ecx, 0x18fb50
call fcn.00445d00
push 0x48b29c
mov ecx, dword [esi + 4]
add ecx, 0x18fb50
call fcn.00445d20
lea ecx, [esp + 0x18]
mov dword [esp + 0x23c], 0xffffffff
call fcn.00445990
mov ecx, dword [esp + 0x234]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x238
ret