Function at 0x439883
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x228], 0
push ebx
mov ebx, ecx
lea ecx, [ebp - 0x220]
push esi
push edi
mov dword [ebp - 0x240], ebx
and dword [ebx], 0
call fcn.00439226
push 9
pop ecx
push 5
mov esi, str.User_Data_safemon
lea edi, [ebp - 0x58]
rep movsd dword es:[edi], dword [esi]
pop ecx
mov esi, str.urllib.dat
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
push 6
pop ecx
lea eax, [ebp - 0x58]
movsw word es:[edi], word [esi]
mov esi, str.urllibw.dat
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
push ecx
push ecx
mov esi, esp
push eax
mov dword [esi], eax
call fcn.004011e1
pop ecx
mov dword [esi + 4], eax
lea ecx, [ebp - 0x220]
lea eax, [ebp - 0x190]
push eax
call fcn.0040d7f0
xor edx, edx
lea ecx, [ebp - 0x190]
call fcn.0041cc60
push ecx
push ecx
mov esi, esp
lea eax, [ebp - 0x1c]
push eax
mov dword [esi], eax
call fcn.004011e1
pop ecx
mov dword [esi + 4], eax
lea ecx, [ebp - 0x190]
lea eax, [ebp - 0x1f0]
push eax
call fcn.0040d7f0
push ecx
push ecx
mov esi, esp
lea eax, [ebp - 0x34]
push eax
mov dword [esi], eax
call fcn.004011e1
pop ecx
mov dword [esi + 4], eax
lea ecx, [ebp - 0x190]
lea eax, [ebp - 0x1d8]
push eax
call fcn.0040d7f0
lea ecx, [ebp - 0x1c0]
call fcn.004393ea
push ecx
push ecx
mov esi, esp
lea eax, [ebp - 0x1c]
push eax
mov dword [esi], eax
call fcn.004011e1
pop ecx
mov dword [esi + 4], eax
lea ecx, [ebp - 0x1c0]
lea eax, [ebp - 0x1a8]
push eax
call fcn.0040d7f0
push ecx
push ecx
mov esi, esp
lea eax, [ebp - 0x34]
push eax
mov dword [esi], eax
call fcn.004011e1
pop ecx
mov dword [esi + 4], eax
lea ecx, [ebp - 0x1c0]
lea eax, [ebp - 0x208]
push eax
call fcn.0040d7f0
lea ecx, [ebp - 0x1f0]
call fcn.0041c9e0
xor esi, esi
inc esi
test al, al
jne 0x4399e8
lea ecx, [ebp - 0x1a8]
call fcn.0041c9e0
test al, al
je 0x4399e6
lea edx, [ebp - 0x1f0]
lea ecx, [ebp - 0x1a8]
call fcn.0041cf60
test al, al
jne 0x4399e8
or dword [ebx], esi
lea ecx, [ebp - 0x1d8]
call fcn.0041c9e0
test al, al
jne 0x439a08
lea edx, [ebp - 0x1d8]
lea ecx, [ebp - 0x208]
call fcn.0041cf60
xorps xmm0, xmm0
lea eax, [ebp - 0x238]
push eax
movlpd qword [ebp - 0x230], xmm0
movlpd qword [ebp - 0x238], xmm0
call fcn.004727a7
pop ecx
push 4
pop eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x224]
push eax
push str.LastTimeCheck
push 0x497254
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0x104
xor edi, edi
mov dword [ebp - 0x224], esi
lea eax, [ebp - 0x160]
push edi
push eax
call fcn.00463e50
add esp, 0xc
mov dword [ebp - 0x228], 0x103
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x224]
push eax
push str.LastTimeCheckVersion
push 0x497390
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
cmp dword [ebp - 0x230], edi
jne 0x439ac2
cmp dword [ebp - 0x22c], edi
je 0x439acb
cmp byte [ebp - 0x160], 0
jne 0x439ace
or dword [ebx], 8
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x178]
call fcn.004019b5
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0041d3b0
push edi
push esi
lea ecx, [ebp - 0x178]
call fcn.00401abf
push 0x496fc0
lea ecx, [ebp - 0x178]
call fcn.004019b5
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x260]
call fcn.0041d3b0
push edi
push esi
lea ecx, [ebp - 0x178]
call fcn.00401abf
mov eax, dword [ebp - 0x238]
sub eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x234]
sbb ecx, dword [ebp - 0x22c]
js 0x439b82
jg 0x439b4e
cmp eax, edi
jb 0x439b82
cmp ecx, edi
jg 0x439b82
jl 0x439b5b
cmp eax, 0x5460
ja 0x439b82
mov eax, dword [ebp - 0x24c]
cmp eax, dword [ebp - 0x248]
je 0x439b82
lea edx, [ebp - 0x24c]
lea ecx, [ebp - 0x260]
call fcn.0041d2f0
test eax, eax
je 0x439c08
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x238]
push 4
push eax
push 4
push str.LastTimeCheck
push 0x497254
push 0x80000001
call esi
mov eax, 0x496fc0
push eax
mov dword [ebp - 0x254], eax
call fcn.0040124c
lea edx, [ebp - 0x254]
mov dword [ebp - 0x250], eax
lea ecx, [ebp - 0x178]
call fcn.0045ed00
cmp dword [ebp - 0x164], 8
lea eax, [ebp - 0x178]
pop ecx
cmovae eax, dword [ebp - 0x178]
push 0x1e
push eax
push 1
push 0x4972b8
push 0x497254
push 0x80000001
call esi
push edi
push 1
lea ecx, [ebp - 0x178]
call fcn.004019ef
or dword [ebx], 4
mov eax, dword [ebp - 0x240]
lea ecx, [ebp - 0x260]
xor ebx, ebx
cmp dword [eax], edi
setne bl
call fcn.00417380
lea ecx, [ebp - 0x24c]
call fcn.00417380
lea ecx, [ebp - 0x208]
call fcn.0040d070
lea ecx, [ebp - 0x1a8]
call fcn.0040d070
lea ecx, [ebp - 0x1c0]
call fcn.0040d070
lea ecx, [ebp - 0x1d8]
call fcn.0040d070
lea ecx, [ebp - 0x1f0]
call fcn.0040d070
lea ecx, [ebp - 0x190]
call fcn.0040d070
lea ecx, [ebp - 0x220]
call fcn.0040d070
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460c27
mov esp, ebp
pop ebp
ret