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

Disassembly:
push 0xffffffffffffffff
push 0x632f42
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xc0]
mov al, 0x26
mov dl, 0x25
mov cl, 0x3f
mov byte [esp + 0x59], al
mov byte [esp + 0x5e], al
mov byte [esp + 0x6a], al
mov byte [esp + 0x6d], al
mov al, 0x54
mov bl, 0x57
mov byte [esp + 0x55], dl
mov byte [esp + 0x56], dl
mov byte [esp + 0x61], dl
mov byte [esp + 0x69], dl
mov dl, 0x51
mov byte [esp + 0x6e], al
mov byte [esp + 0x6f], al
lea eax, [esp + 0x50]
mov byte [esp + 0x58], cl
mov byte [esp + 0x5d], cl
mov byte [esp + 0x62], cl
mov byte [esp + 0x67], cl
mov byte [esp + 0x50], 0x27
mov byte [esp + 0x51], bl
mov byte [esp + 0x52], 0x56
mov byte [esp + 0x53], 0x24
mov byte [esp + 0x54], 0x22
mov byte [esp + 0x57], 0x2b
mov byte [esp + 0x5a], 0x56
mov byte [esp + 0x5b], bl
mov byte [esp + 0x5c], 0x20
mov byte [esp + 0x5f], bl
mov byte [esp + 0x60], 0x22
mov byte [esp + 0x63], 0x50
mov byte [esp + 0x64], 0x2a
mov byte [esp + 0x65], 0x24
mov byte [esp + 0x66], 0x20
mov byte [esp + 0x68], 0x2b
mov byte [esp + 0x6b], dl
mov byte [esp + 0x6c], 0x53
mov byte [esp + 0x70], 0x20
mov byte [esp + 0x71], bl
mov byte [esp + 0x72], 0x2b
mov byte [esp + 0x73], dl
mov byte [esp + 0x74], 0
lea ecx, [eax + 1]
lea esp, [esp]
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x518bd0
sub eax, ecx
xor ecx, ecx
test eax, eax
jle 0x518bea
nop
xor byte [esp + ecx + 0x50], 0x12
inc ecx
cmp ecx, eax
jl 0x518be0
mov al, 0x73
mov byte [esp + 0x3d], al
mov byte [esp + 0x43], al
mov al, 0x61
mov cl, 0x4e
mov bl, 0x77
mov byte [esp + 0x44], al
mov byte [esp + 0x45], al
mov byte [esp + 0x47], al
lea eax, [esp + 0x38]
mov byte [esp + 0x41], dl
mov byte [esp + 0x49], dl
mov byte [esp + 0x38], 0x41
mov byte [esp + 0x39], 0x7d
mov byte [esp + 0x3a], 0x74
mov byte [esp + 0x3b], 0x66
mov byte [esp + 0x3c], 0x65
mov byte [esp + 0x3e], 0x60
mov byte [esp + 0x3f], bl
mov byte [esp + 0x40], cl
mov byte [esp + 0x42], 0x7e
mov byte [esp + 0x46], bl
mov byte [esp + 0x48], cl
mov byte [esp + 0x4a], 0x5e
mov byte [esp + 0x4b], 0x41
mov byte [esp + 0x4c], 0x5b
mov byte [esp + 0x4d], 0x56
mov byte [esp + 0x4e], cl
mov byte [esp + 0x4f], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x518c65
sub eax, edx
xor ecx, ecx
test eax, eax
jle 0x518c7e
xor byte [esp + ecx + 0x38], 0x12
inc ecx
cmp ecx, eax
jl 0x518c74
lea ecx, [esp + 0x10]
call fcn.004024e0
mov dword [esp + 0xb8], 0
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x18]
push 0x67bac8
push edx
call fcn.00402f60
add esp, 0x10
lea ecx, [esp + 0x28]
call fcn.0050bd00
mov byte [esp + 0xb8], 1
mov edx, dword [0x70f5d4]
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x18]
push eax
push 1
neg edx
push 0
sbb edx, edx
push ecx
add edx, 0x80000002
push edx
call esi
test eax, eax
je 0x518ded
cmp eax, 2
je 0x518d8b
lea ecx, [esp + 0x14]
call fcn.004024e0
mov byte [esp + 0xb8], 2
cmp dword [0x70f5d4], 0
mov eax, str.CURRENT_USER
jne 0x518d1b
mov eax, str.MACHINE
mov ecx, dword [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x1c]
push 0x651d64
push edx
call fcn.00402f60
mov eax, dword [esp + 0x24]
add esp, 0x10
push eax
lea ecx, [esp + 0x2c]
call fcn.0050bdf0
test eax, eax
je 0x518d68
mov eax, dword [0x70f5d4]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push 1
neg eax
push 0
sbb eax, eax
push edx
add eax, 0x80000002
push eax
call esi
test eax, eax
je 0x518ddc
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0050bec0
test eax, eax
jne 0x518db7
mov byte [esp + 0xb8], 1
lea ecx, [esp + 0x14]
call fcn.00402550
mov byte [esp + 0xb8], 0
lea ecx, [esp + 0x28]
call fcn.0050bd60
mov dword [esp + 0xb8], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00402550
xor eax, eax
jmp 0x518f36
mov ecx, dword [0x70f5d4]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push 1
neg ecx
push 0
sbb ecx, ecx
push eax
add ecx, 0x80000002
push ecx
call esi
test eax, eax
jne 0x518d7a
mov byte [esp + 0xb8], 1
lea ecx, [esp + 0x14]
call fcn.00402550
push 0x32
lea edx, [esp + 0x7c]
push 0
push edx
call fcn.005f8cb0
add esp, 0xc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], 0x32
call fcn.004024e0
mov byte [esp + 0xb8], 3
lea eax, [esp + 0x1c]
push eax
call fcn.00518510
mov eax, dword [esp + 0x20]
add esp, 4
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x7c]
push edx
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x518e62
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0xb8], 1
lea ecx, [esp + 0x1c]
jmp 0x518d86
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
call fcn.004024e0
mov bl, 4
mov byte [esp + 0xb8], bl
lea ecx, [esp + 0x20]
push ecx
call fcn.00518590
add esp, 4
mov dword [esp + 0x14], vtable.CProtection.0
mov byte [esp + 0xb8], 5
mov ecx, dword [esp + 0x20]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x518ea5
sub eax, esi
push eax
push ecx
push 0x28
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0x24]
call fcn.00446bb0
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x3c]
push ecx
push 0x67bac8
push ebp
call fcn.00402f60
add esp, 0x10
mov byte [esp + 0xb8], bl
mov dword [esp + 0x14], vtable.CProtection.0
mov byte [esp + 0xb8], 3
lea ecx, [esp + 0x20]
call fcn.00402550
mov byte [esp + 0xb8], 1
lea ecx, [esp + 0x1c]
call fcn.00402550
mov byte [esp + 0xb8], 0
lea ecx, [esp + 0x28]
call fcn.0050bd60
mov dword [esp + 0xb8], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00402550
mov eax, 1
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.005f85e7
add esp, 0xac
ret