Function at 0x49bfc0
Capabilities:
Contain obfuscated stackstrings
Parse pe header
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a23b1
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4bf070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test cl, cl
je 0x49c1cc
call fcn.0040c560
mov ecx, eax
test ecx, ecx
jne 0x49c009
push 0x80004005
call fcn.0040c2a0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x49c01e
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x49c020
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x1fc], esi
mov dword [ebp - 4], 0
mov ecx, 1
mov dword [ebp - 0x218], 1
mov dword [ebp - 0x200], 0x104
mov dword [ebp - 0x9a], 0x6e616d6d
mov word [ebp - 0xa3], 0x5c6c
mov dword [ebp - 0xa0], 0x5c6e6570
mov word [ebp - 0x96], 0x64
mov dword [ebp - 0xac], 0x70747468
mov dword [ebp - 0xa7], 0x6c656873
mov word [ebp - 0x9c], 0x6f63
mov byte [ebp - 0xa1], 0x6f
mov byte [ebp - 0xa8], 0x5c
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or ecx, eax
jge 0x49c0bf
push 0x104
lea ecx, [ebp - 0x1fc]
call fcn.0040c200
mov esi, dword [ebp - 0x1fc]
lea eax, [ebp - 0x200]
push eax
push esi
lea eax, [ebp - 0x218]
push eax
push 0x4b7de4
lea eax, [ebp - 0xac]
push eax
push accept
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
push dword [esi - 8]
push esi
call fcn.00420290
add esp, 8
test eax, eax
js 0x49c1c2
cmp eax, dword [esi - 8]
jg 0x49c1c2
mov dword [esi - 0xc], eax
lea ecx, [ebp - 0x1fc]
mov byte [eax + esi], 0
call fcn.00408db0
mov esi, dword [ebp - 0x1fc]
mov dword [ebp - 0xe4], 0x45524946
mov byte [ebp - 0xe0], 0
cmp dword [esi - 0xc], 0
jl 0x49c14d
lea eax, [ebp - 0xe4]
push eax
push esi
call fcn.0041ff98
add esp, 8
test eax, eax
je 0x49c14d
sub eax, esi
jns 0x49c439
push ecx
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb6], 0x454d4f52
push eax
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 0xb2], 0
mov word [ebp - 0xb8], 0x4843
call fcn.00408e10
test eax, eax
jns 0x49c48a
push ecx
lea eax, [ebp - 0x20c]
mov word [ebp - 0x20b], 0x45
push eax
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 0x20c], 0x49
call fcn.00408e10
lea ecx, [ebp - 0x1fc]
test eax, eax
js 0x49c5a6
call fcn.0040c260
mov eax, 3
jmp 0x49c5ad
push 0x80070057
call fcn.0040c2a0
call fcn.0040c560
mov ecx, eax
test ecx, ecx
jne 0x49c1e1
push 0x80004005
call fcn.0040c2a0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x49c1f6
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x49c1f8
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x1fc], esi
mov dword [ebp - 4], 1
lea eax, [ebp - 0x1f8]
push 0x104
push 0
push eax
mov dword [ebp - 0x204], 1
mov dword [ebp - 0x21c], 0x104
mov dword [ebp - 0x22], 0x6f684372
mov dword [ebp - 0x56], 0x6e69575c
mov word [ebp - 0x5b], 0x736f
mov word [ebp - 0x39], 0x6c72
mov word [ebp - 0x4a], 0x6c6c
mov word [ebp - 0x68], 0x6f53
mov word [ebp - 0x5e], 0x6369
mov dword [ebp - 0x52], 0x73776f64
mov dword [ebp - 0x65], 0x72617774
mov dword [ebp - 0x3e], 0x5c736e6f
mov word [ebp - 0x46], 0x7373
mov word [ebp - 0x4d], 0x6853
mov dword [ebp - 0x1e], 0x656369
mov dword [ebp - 0x37], 0x6f737341
mov dword [ebp - 0x2a], 0x70747468
mov dword [ebp - 0x33], 0x74616963
mov dword [ebp - 0x2f], 0x736e6f69
mov word [ebp - 0x43], 0x6963
mov byte [ebp - 0x5c], 0x72
mov word [ebp - 0x59], 0x666f
mov word [ebp - 0x40], 0x6974
mov word [ebp - 0x48], 0x415c
mov word [ebp - 0x61], 0x5c65
mov dword [ebp - 0x26], 0x6573555c
mov byte [ebp - 0x57], 0x74
mov byte [ebp - 0x44], 0x6f
mov byte [ebp - 0x4e], 0x5c
mov byte [ebp - 0x3a], 0x55
mov byte [ebp - 0x4b], 0x65
mov byte [ebp - 0x66], 0x66
mov byte [ebp - 0x2b], 0x5c
mov byte [ebp - 0x41], 0x61
mov byte [ebp - 0x5f], 0x4d
call fcn.004179d0
add esp, 0xc
lea ecx, [ebp - 0x1f8]
call fcn.00496d30
call fcn.0040c560
mov ecx, eax
test ecx, ecx
jne 0x49c30f
push 0x80004005
call fcn.0040c2a0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x49c324
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x49c326
call edx
add eax, 0x10
mov dword [ebp - 0x200], eax
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x1f8]
mov word [ebp - 0xdc], 0x7325
push eax
lea eax, [ebp - 0xdc]
mov word [ebp - 0xd9], 0x7325
push eax
lea eax, [ebp - 0x200]
mov byte [ebp - 0xd7], 0
push eax
mov byte [ebp - 0xda], 0x5c
call fcn.0040ae40
mov word [ebp - 0xc1], 0x6967
mov ecx, 1
mov word [ebp - 0xc4], 0x7250
add esp, 0x10
mov word [ebp - 0xbf], 0x64
mov byte [ebp - 0xc2], 0x6f
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or ecx, eax
jge 0x49c3c0
push 0x104
lea ecx, [ebp - 0x1fc]
call fcn.0040c200
mov esi, dword [ebp - 0x1fc]
lea eax, [ebp - 0x21c]
push eax
push esi
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0xc4]
push eax
push dword [ebp - 0x200]
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
push ecx
lea ecx, [ebp - 0x1fc]
call fcn.00409300
lea ecx, [ebp - 0x1fc]
call fcn.00408db0
push ecx
lea eax, [ebp - 0xec]
mov word [ebp - 0xec], 0x4946
push eax
lea ecx, [ebp - 0x1fc]
mov word [ebp - 0xe9], 0x45
mov byte [ebp - 0xea], 0x52
call fcn.00408e10
test eax, eax
js 0x49c44e
lea ecx, [ebp - 0x200]
call fcn.0040c260
lea ecx, [ebp - 0x1fc]
call fcn.0040c260
mov eax, 2
jmp 0x49c5ad
push ecx
lea eax, [ebp - 0xd0]
mov word [ebp - 0xcb], 0x45
push eax
lea ecx, [ebp - 0x1fc]
mov dword [ebp - 0xd0], 0x4f524843
mov byte [ebp - 0xcc], 0x4d
call fcn.00408e10
test eax, eax
js 0x49c49f
lea ecx, [ebp - 0x200]
call fcn.0040c260
lea ecx, [ebp - 0x1fc]
call fcn.0040c260
mov eax, 1
jmp 0x49c5ad
push ecx
lea eax, [ebp - 0x214]
mov word [ebp - 0x213], 0x45
push eax
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 0x214], 0x49
call fcn.00408e10
test eax, eax
js 0x49c4e6
lea ecx, [ebp - 0x200]
call fcn.0040c260
lea ecx, [ebp - 0x1fc]
call fcn.0040c260
mov eax, 3
jmp 0x49c5ad
push ecx
lea eax, [ebp - 0x90]
mov word [ebp - 0x7b], 0x4630
push eax
lea ecx, [ebp - 0x1fc]
mov dword [ebp - 0x75], 0x50414550
mov word [ebp - 0x6e], 0x5638
mov word [ebp - 0x86], 0x454d
mov word [ebp - 0x90], 0x5041
mov word [ebp - 0x78], 0x4151
mov word [ebp - 0x7e], 0x334e
mov dword [ebp - 0x8b], 0x56454630
mov dword [ebp - 0x83], 0x36535950
mov byte [ebp - 0x76], 0x37
mov byte [ebp - 0x79], 0x42
mov word [ebp - 0x8d], 0x5158
mov word [ebp - 0x71], 0x4b59
mov byte [ebp - 0x7c], 0x45
mov byte [ebp - 0x87], 0x5a
mov byte [ebp - 0x84], 0x32
mov byte [ebp - 0x6f], 0x52
mov byte [ebp - 0x6c], 0
mov byte [ebp - 0x7f], 0x32
mov byte [ebp - 0x8e], 0x50
call fcn.00408e10
lea ecx, [ebp - 0x200]
test eax, eax
js 0x49c59b
call fcn.0040c260
lea ecx, [ebp - 0x1fc]
call fcn.0040c260
mov eax, 4
jmp 0x49c5ad
call fcn.0040c260
lea ecx, [ebp - 0x1fc]
call fcn.0040c260
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041553e
mov esp, ebp
pop ebp
ret