Function at 0x49c7a0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2432
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x4bf070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x254], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x264], esi
mov dword [esi], 0
call fcn.0040c560
mov ecx, eax
test ecx, ecx
jne 0x49c808
push 0x80004005
call fcn.0040c2a0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x49c81d
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x49c81f
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x25c]
push eax
push 1
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x260], 1
push eax
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x29], 0x2073776f
mov dword [ebp - 0x2e], 0x6e69575c
mov dword [ebp - 0x36], 0x6f726369
mov dword [ebp - 0x3f], 0x5754464f
mov dword [ebp - 0x1c], 0x72655674
mov dword [ebp - 0x24], 0x75435c54
mov dword [ebp - 0x3a], 0x4d5c4552
mov dword [ebp - 0x17], 0x6e6f69
mov dword [ebp - 0x20], 0x6e657272
mov byte [ebp - 0x3b], 0x41
mov dword [ebp - 0x32], 0x74666f73
mov byte [ebp - 0x40], 0x53
mov byte [ebp - 0x25], 0x4e
mov byte [ebp - 0x18], 0x73
mov byte [ebp - 0x2a], 0x64
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x49ca1d
push 0x208
push eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x250], 1
push eax
call fcn.004179d0
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x24c]
add esp, 0xc
mov dword [ebp - 0x24c], 0x208
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x250]
push eax
push 0
push str.CurrentVersion
push dword [ebp - 0x25c]
call edi
test eax, eax
jne 0x49c91d
lea eax, [ebp - 0x248]
push eax
push 0x4b7e5c
push esi
call fcn.0040ae40
add esp, 0xc
mov ecx, dword [esi]
mov eax, dword [ecx - 0xc]
cmp eax, 3
jl 0x49ca11
test eax, eax
jns 0x49c939
push 0x80070057
call fcn.0040c2a0
cmp byte [ecx], 0x36
jne 0x49ca11
cmp eax, 2
jge 0x49c951
push 0x80070057
call fcn.0040c2a0
mov al, byte [ecx + 2]
cmp al, 0x32
je 0x49c960
cmp al, 0x33
jne 0x49ca11
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x254], 0
push eax
lea eax, [ebp - 0x254]
mov dword [ebp - 0x258], 0
push eax
lea eax, [ebp - 0x250]
mov dword [ebp - 0x250], 4
push eax
push 0
push str.CurrentMajorVersionNumber
push dword [ebp - 0x25c]
xor bl, bl
mov dword [ebp - 0x24c], 4
call edi
test eax, eax
movzx ebx, bl
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x250], 4
push eax
lea eax, [ebp - 0x258]
mov dword [ebp - 0x24c], 4
push eax
lea eax, [ebp - 0x250]
mov ecx, 1
push eax
push 0
push str.CurrentMinorVersionNumber
push dword [ebp - 0x25c]
cmove ebx, ecx
call edi
test bl, bl
je 0x49ca11
push dword [ebp - 0x258]
push dword [ebp - 0x254]
push str._d._d
push esi
call fcn.0040ae40
add esp, 0x10
push dword [ebp - 0x25c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041553e
mov esp, ebp
pop ebp
ret