Function at 0x518750
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x627919
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
mov al, 0x3f
push ebx
mov byte [esp + 0x48], al
mov byte [esp + 0x4d], al
mov byte [esp + 0x52], al
mov byte [esp + 0x57], al
push ebp
mov cl, 0x57
mov al, 0x54
push esi
or ebp, 0xffffffff
push edi
mov byte [esp + 0x4d], cl
mov bl, 0x56
mov byte [esp + 0x57], cl
mov byte [esp + 0x5b], cl
mov dl, 0x51
mov byte [esp + 0x6a], al
mov byte [esp + 0x6b], al
mov byte [esp + 0x6d], cl
lea edi, [esp + 0x4c]
mov ecx, ebp
xor eax, eax
mov byte [esp + 0x4c], 0x27
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], 0x24
mov byte [esp + 0x50], 0x22
mov byte [esp + 0x51], 0x25
mov byte [esp + 0x52], 0x25
mov byte [esp + 0x53], 0x2b
mov byte [esp + 0x55], 0x26
mov byte [esp + 0x56], bl
mov byte [esp + 0x58], 0x20
mov byte [esp + 0x5a], 0x26
mov byte [esp + 0x5c], 0x22
mov byte [esp + 0x5d], 0x25
mov byte [esp + 0x5f], 0x50
mov byte [esp + 0x60], 0x2a
mov byte [esp + 0x61], 0x24
mov byte [esp + 0x62], 0x20
mov byte [esp + 0x64], 0x2b
mov byte [esp + 0x65], 0x25
mov byte [esp + 0x66], 0x26
mov byte [esp + 0x67], dl
mov byte [esp + 0x68], 0x53
mov byte [esp + 0x69], 0x26
mov byte [esp + 0x6c], 0x20
mov byte [esp + 0x6e], 0x2b
mov byte [esp + 0x6f], dl
mov byte [esp + 0x70], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x518842
xor byte [esp + eax + 0x4c], 0x12
inc eax
cmp eax, ecx
jl 0x518838
mov cl, 0x77
mov al, 0x4e
mov byte [esp + 0x3b], cl
mov byte [esp + 0x3c], al
mov byte [esp + 0x42], cl
mov byte [esp + 0x44], al
mov byte [esp + 0x4a], al
lea edi, [esp + 0x34]
mov ecx, ebp
xor eax, eax
mov byte [esp + 0x34], 0x41
mov byte [esp + 0x35], 0x7d
mov byte [esp + 0x36], 0x74
mov byte [esp + 0x37], 0x66
mov byte [esp + 0x38], 0x65
mov byte [esp + 0x39], 0x73
mov byte [esp + 0x3a], 0x60
mov byte [esp + 0x3d], dl
mov byte [esp + 0x3e], 0x7e
mov byte [esp + 0x3f], 0x73
mov byte [esp + 0x40], 0x61
mov byte [esp + 0x41], 0x61
mov byte [esp + 0x43], 0x61
mov byte [esp + 0x45], dl
mov byte [esp + 0x46], 0x5e
mov byte [esp + 0x47], 0x41
mov byte [esp + 0x48], 0x5b
mov byte [esp + 0x49], bl
mov byte [esp + 0x4b], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x5188d7
mov bl, byte [esp + eax + 0x34]
xor bl, 0x12
mov byte [esp + eax + 0x34], bl
inc eax
cmp eax, ecx
jl 0x5188c7
mov eax, dword [0x6f175c]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x34]
push ecx
push edx
lea eax, [esp + 0x18]
push str._s_s
push eax
mov dword [esp + 0xdc], 0
call fcn.005fa6fb
add esp, 0x10
lea ecx, [esp + 0x7c]
call fcn.0050cde0
mov eax, dword [0x6f6334]
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x1c]
neg eax
push ecx
push 1
sbb eax, eax
push 0
add eax, reloc.WS2_32.dll_bind
push edx
push eax
call esi
test eax, eax
je 0x518a27
cmp eax, 2
je 0x518af5
mov ecx, dword [0x6f175c]
mov dword [esp + 0x14], ecx
mov eax, dword [0x6f6334]
mov byte [esp + 0xcc], 2
test eax, eax
mov eax, str.CURRENT_USER
jne 0x51896b
mov eax, str.MACHINE
mov edx, dword [esp + 0x10]
push edx
push eax
lea eax, [esp + 0x1c]
push 0x6c5c64
push eax
call fcn.005fa6fb
mov ecx, dword [esp + 0x24]
add esp, 0x10
push ecx
lea ecx, [esp + 0x80]
call fcn.0050ce90
test eax, eax
je 0x5189bd
mov ecx, dword [0x6f6334]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
neg ecx
push edx
push 1
sbb ecx, ecx
push 0
add ecx, reloc.WS2_32.dll_bind
push eax
push ecx
call esi
test eax, eax
je 0x518a16
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x7c]
push edx
call fcn.0050cf50
test eax, eax
jne 0x5189e0
mov byte [esp + 0xcc], 1
lea ecx, [esp + 0x14]
jmp 0x518af0
mov edx, dword [0x6f6334]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
neg edx
push eax
push 1
sbb edx, edx
push 0
add edx, reloc.WS2_32.dll_bind
push ecx
push edx
call esi
test eax, eax
je 0x518a16
mov byte [esp + 0xcc], 1
lea ecx, [esp + 0x14]
jmp 0x518af0
lea ecx, [esp + 0x14]
mov byte [esp + 0xcc], 1
call fcn.006018cc
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x90]
mov dword [esp + 0x8c], 0x32
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x6f175c]
mov dword [esp + 0x20], eax
lea edi, [esp + 0x14]
mov ecx, ebp
xor eax, eax
mov byte [esp + 0x14], 0x61
mov byte [esp + 0x15], 0x71
mov byte [esp + 0x16], 0x73
mov byte [esp + 0x17], 0x7c
mov byte [esp + 0x18], 0x61
mov byte [esp + 0x19], 0x79
mov byte [esp + 0x1a], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov bl, 3
test ecx, ecx
mov byte [esp + 0xcc], bl
jle 0x518a9a
mov dl, byte [esp + eax + 0x14]
xor dl, 0x12
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, ecx
jl 0x518a8a
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
push 0x6c5098
push edx
call fcn.005fa6fb
mov edx, dword [esp + 0x2c]
add esp, 0xc
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x90]
push eax
mov eax, dword [esp + 0x20]
push ecx
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x518b1d
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0xcc], 1
lea ecx, [esp + 0x20]
call fcn.006018cc
lea ecx, [esp + 0x7c]
mov byte [esp + 0xcc], 0
call fcn.0050ce20
lea ecx, [esp + 0x10]
mov dword [esp + 0xcc], ebp
call fcn.006018cc
xor eax, eax
jmp 0x518c66
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x6f175c]
mov dword [esp + 0x74], eax
mov al, 0x21
lea edi, [esp + 0x24]
mov byte [esp + 0x27], al
mov byte [esp + 0x31], al
mov ecx, ebp
xor eax, eax
mov byte [esp + 0x24], 0x2b
mov byte [esp + 0x25], 0x26
mov byte [esp + 0x26], 0x25
mov byte [esp + 0x28], 0x24
mov byte [esp + 0x29], 0x20
mov byte [esp + 0x2a], 0x22
mov byte [esp + 0x2b], 0x27
mov byte [esp + 0x2c], 0x25
mov byte [esp + 0x2d], 0x23
mov byte [esp + 0x2e], 0x2b
mov byte [esp + 0x2f], 0x20
mov byte [esp + 0x30], 0x2a
mov byte [esp + 0x32], 0x26
mov byte [esp + 0x33], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0xcc], 4
test ecx, ecx
jle 0x518baa
mov dl, byte [esp + eax + 0x24]
xor dl, 0x12
mov byte [esp + eax + 0x24], dl
inc eax
cmp eax, ecx
jl 0x518b9a
lea ecx, [esp + 0x24]
lea edx, [esp + 0x74]
push ecx
push 0x6c5098
push edx
call fcn.005fa6fb
mov esi, 0x63c91c
add esp, 0xc
mov dword [esp + 0x78], esi
mov edx, dword [esp + 0x74]
mov ecx, ebp
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x90]
push ecx
push edx
push 0x28
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0xdc], 5
call fcn.0044b8b0
mov eax, dword [esp + 0xd4]
lea ecx, [esp + 0x90]
lea edx, [esp + 0x34]
push ecx
push edx
push str._s_s
push eax
call fcn.005fa6fb
add esp, 0x10
lea ecx, [esp + 0x74]
mov dword [esp + 0x78], esi
mov byte [esp + 0xcc], bl
call fcn.006018cc
lea ecx, [esp + 0x20]
mov byte [esp + 0xcc], 1
call fcn.006018cc
lea ecx, [esp + 0x7c]
mov byte [esp + 0xcc], 0
call fcn.0050ce20
lea ecx, [esp + 0x10]
mov dword [esp + 0xcc], ebp
call fcn.006018cc
mov eax, 1
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc0
ret