Function at 0x4475f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f41e
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0xa57200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov edi, 0xfff
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 0
movups xmmword [esi], xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [ebp - 0x24], esi
mov word [esi], ax
push eax
push edi
mov ecx, esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], 1
call fcn.00449230
cmp dword [esi + 0x14], 7
mov dword [ebp - 0x14], 0x1ffe
mov dword [ebp - 0x1c], esi
jbe 0x44768a
mov eax, dword [esi]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
mov ecx, eax
cmp dword [eax + 0x14], 7
jbe 0x447697
mov ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x4476a4
mov edx, dword [eax]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
push 0
push 2
push ecx
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp eax, 0xea
jne 0x447751
mov eax, dword [ebp - 0x14]
shr eax, 1
mov dword [ebp - 0x14], eax
cmp eax, edi
jbe 0x4476d7
mov edi, eax
jmp 0x4476df
add edi, edi
lea eax, [edi + edi]
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x10]
cmp edi, ecx
ja 0x4476fb
mov dword [esi + 0x10], edi
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x4476f3
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + edi*2], cx
jmp 0x447709
mov eax, edi
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00449230
cmp dword [esi + 0x14], 7
mov edx, esi
jbe 0x447713
mov edx, dword [esi]
mov eax, dword [ebp - 0x20]
mov ecx, eax
cmp dword [eax + 0x14], 7
jbe 0x447720
mov ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov esi, eax
cmp dword [esi + 0x14], 7
jbe 0x44772d
mov eax, dword [eax]
lea esi, [ebp - 0x14]
push esi
push edx
push 0
push 2
push ecx
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, dword [ebp - 0x24]
cmp eax, 0xea
je 0x4476c7
test eax, eax
jne 0x4477a3
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 0x10]
shr eax, 1
mov dword [ebp - 0x14], eax
dec eax
cmp eax, ecx
ja 0x44777a
mov dword [esi + 0x10], eax
mov ecx, esi
cmp dword [esi + 0x14], 7
jbe 0x447772
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x447786
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00449230
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452bc2
mov esp, ebp
pop ebp
ret
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0044bde0
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 1
push str.Windows_system_error_code:
push eax
call fcn.00409a00
add esp, 0x14
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00446b40
push 0x4ed23c
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3