Function at 0x480f20
Capabilities:
Contain obfuscated stackstrings
Delete registry key
Encode data using xor
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x61bcdb
push eax
mov eax, 0x354c
mov dword fs:[0], esp
call fcn.005e5310
mov eax, dword [0x6f175c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x24], eax
xor ebp, ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x3564], ebp
lea eax, [esp + 0x14]
lea edx, [esp + 0x24]
push eax
push edx
mov byte [esp + 0x356c], 1
call fcn.004801e0
test eax, eax
je 0x481976
lea ecx, [esp + 0x80]
mov dword [esp + 0x20], ebp
call fcn.0050cde0
lea ecx, [esp + 0x90]
mov byte [esp + 0x3564], 2
call fcn.0050cde0
mov edx, dword [0x6f6334]
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x20]
neg edx
push eax
push 1
sbb edx, edx
push ebp
add edx, reloc.WS2_32.dll_bind
push ecx
push edx
mov byte [esp + 0x3578], 3
call edi
mov esi, eax
cmp esi, ebp
je 0x481125
cmp esi, 2
je 0x48109a
mov eax, dword [0x6f175c]
mov dword [esp + 0x10], eax
mov eax, dword [0x6f6334]
mov byte [esp + 0x3564], 4
cmp eax, ebp
mov eax, str.CURRENT_USER
jne 0x481001
mov eax, str.MACHINE
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push eax
push 0x6c5c64
push edx
call fcn.005fa6fb
mov eax, dword [esp + 0x20]
add esp, 0x10
lea ecx, [esp + 0x80]
push eax
call fcn.0050ce90
test eax, eax
je 0x48104e
mov eax, dword [0x6f6334]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
neg eax
push ecx
push 1
sbb eax, eax
push ebp
add eax, reloc.WS2_32.dll_bind
push edx
push eax
call edi
mov esi, eax
cmp esi, ebp
je 0x481089
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x84]
call fcn.0050cf50
test eax, eax
je 0x481089
mov ecx, dword [0x6f6334]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
neg ecx
push edx
push 1
sbb ecx, ecx
push ebp
add ecx, reloc.WS2_32.dll_bind
push eax
push ecx
call edi
mov esi, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3564], 3
call fcn.006018cc
cmp esi, ebp
je 0x481125
cmp dword [0x6f6334], ebp
jne 0x481125
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push 1
push ebp
push eax
push reloc.WS2_32.dll_accept
call edi
test eax, eax
je 0x481125
mov ecx, dword [0x6f175c]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push str.CURRENT_USER_s
push eax
mov byte [esp + 0x3570], 5
call fcn.005fa6fb
mov ecx, dword [esp + 0x28]
add esp, 0xc
push ecx
lea ecx, [esp + 0x94]
call fcn.0050ce90
test eax, eax
je 0x481114
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push 1
push ebp
push eax
push reloc.WS2_32.dll_accept
call edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3564], 3
call fcn.006018cc
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x48194e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xb0]
mov dword [esp + 0x20], ebp
call fcn.0050cde0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x3564], 6
call fcn.0050cde0
mov eax, dword [0x6f6334]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x20]
push ebp
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push ebp
push 0xf003f
neg eax
push ebp
push ebp
sbb eax, eax
push ebp
add eax, reloc.WS2_32.dll_bind
push edx
push eax
call edi
mov esi, eax
cmp esi, ebp
je 0x481343
cmp esi, 2
je 0x481268
mov ecx, dword [0x6f175c]
mov dword [esp + 0x10], ecx
mov eax, dword [0x6f6334]
mov byte [esp + 0x3564], 8
cmp eax, ebp
mov eax, str.CURRENT_USER
jne 0x4811bf
mov eax, str.MACHINE
mov edx, dword [esp + 0x24]
push edx
push eax
lea eax, [esp + 0x18]
push 0x6c5c64
push eax
call fcn.005fa6fb
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
lea ecx, [esp + 0xb4]
call fcn.0050ce90
test eax, eax
je 0x481215
mov ecx, dword [0x6f6334]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x20]
push ebp
push edx
push ebp
neg ecx
push 0xf003f
push ebp
sbb ecx, ecx
push ebp
push ebp
add ecx, reloc.WS2_32.dll_bind
push eax
push ecx
call edi
mov esi, eax
cmp esi, ebp
je 0x481257
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xb0]
push edx
call fcn.0050cf50
test eax, eax
je 0x481257
mov edx, dword [0x6f6334]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x20]
push ebp
push eax
push ebp
neg edx
push 0xf003f
push ebp
sbb edx, edx
push ebp
push ebp
add edx, reloc.WS2_32.dll_bind
push ecx
push edx
call edi
mov esi, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3564], 7
call fcn.006018cc
cmp esi, ebp
je 0x481343
cmp dword [0x6f6334], ebp
jne 0x481343
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x20]
push ebp
push eax
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push ecx
push reloc.WS2_32.dll_accept
call edi
mov esi, eax
cmp esi, ebp
je 0x481343
mov edx, dword [0x6f175c]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push eax
push str.CURRENT_USER_s
push ecx
mov byte [esp + 0x3570], 9
call fcn.005fa6fb
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0xa0]
push edx
call fcn.0050ce90
test eax, eax
je 0x4812fc
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x20]
push ebp
push eax
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push ecx
push reloc.WS2_32.dll_accept
call edi
mov esi, eax
cmp esi, ebp
je 0x481332
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xa0]
push edx
call fcn.0050cf50
test eax, eax
je 0x481332
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x20]
push ebp
push eax
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push ecx
push reloc.WS2_32.dll_accept
call edi
mov esi, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3564], 7
call fcn.006018cc
cmp esi, ebp
mov dword [esp + 0x18], 1
jne 0x4816a5
cmp dword [esp + 0x20], ebp
je 0x4816a5
mov al, 0x63
mov cl, 0x37
mov byte [esp + 0x53], al
mov byte [esp + 0x58], al
mov al, 0x78
mov bl, 0x72
mov byte [esp + 0x59], cl
mov byte [esp + 0x5b], al
mov byte [esp + 0x5f], al
mov dl, 0x76
mov byte [esp + 0x62], cl
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x48], 0x44
mov byte [esp + 0x49], 0x58
mov byte [esp + 0x4a], 0x51
mov byte [esp + 0x4b], 0x43
mov byte [esp + 0x4c], 0x40
mov byte [esp + 0x4d], 0x56
mov byte [esp + 0x4e], 0x45
mov byte [esp + 0x4f], 0x52
mov byte [esp + 0x50], 0x4b
mov byte [esp + 0x51], 0x5e
mov byte [esp + 0x52], 0x79
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], 0x65
mov byte [esp + 0x56], 0x79
mov byte [esp + 0x57], bl
mov byte [esp + 0x5a], 0x53
mov byte [esp + 0x5c], 0x60
mov byte [esp + 0x5d], 0x79
mov byte [esp + 0x5e], 0x7b
mov byte [esp + 0x60], dl
mov byte [esp + 0x61], 0x73
mov byte [esp + 0x63], 0x5a
mov byte [esp + 0x64], dl
mov byte [esp + 0x65], 0x79
mov byte [esp + 0x66], dl
mov byte [esp + 0x67], 0x70
mov byte [esp + 0x68], bl
mov byte [esp + 0x69], 0x65
mov byte [esp + 0x6a], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebp
jle 0x481426
xor byte [esp + eax + 0x48], 0x17
inc eax
cmp eax, ecx
jl 0x48141c
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x28], 0x44
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], 0x65
mov byte [esp + 0x2b], 0x7e
mov byte [esp + 0x2c], dl
mov byte [esp + 0x2d], 0x7b
mov byte [esp + 0x2e], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebp
jle 0x481469
mov bl, byte [esp + eax + 0x28]
xor bl, 0x17
mov byte [esp + eax + 0x28], bl
inc eax
cmp eax, ecx
jl 0x481459
lea edx, [esp + 0x1c]
lea eax, [esp + 0x48]
push edx
push 1
push ebp
mov ebx, 0x32
push eax
push reloc.WS2_32.dll_bind
mov byte [esp + 0xf4], 0
xor esi, esi
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0xe0]
push ecx
push edx
test eax, eax
push ebp
lea eax, [esp + 0x34]
push ebp
push eax
jne 0x4819b4
mov ecx, dword [esp + 0x30]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ecx
call edi
test eax, eax
je 0x4814e6
lea edx, [esp + 0x10]
lea eax, [esp + 0xe0]
push edx
mov edx, dword [0x6f6360]
push eax
push ebp
lea ecx, [esp + 0x34]
push ebp
push ecx
push edx
mov dword [esp + 0x28], ebx
call edi
test eax, eax
jne 0x4814eb
mov esi, 1
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebp
je 0x481690
mov al, byte [esp + 0xe0]
test al, al
je 0x481690
mov ecx, 8
xor eax, eax
lea edi, [esp + 0xc0]
lea edx, [esp + 0xc0]
rep stosd dword es:[edi], eax
lea edi, [esp + 0xe0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x30], 0x7b
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [esp + 0x31], 0x7a
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, 0x27
and ecx, 3
mov byte [esp + 0x33], al
rep movsb byte es:[edi], byte [esi]
mov cl, 0x25
mov byte [esp + 0x39], al
mov byte [esp + 0x34], cl
mov byte [esp + 0x3a], al
mov byte [esp + 0x3b], cl
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x32], 0x40
mov byte [esp + 0x35], 0x7c
mov byte [esp + 0x36], 0x7d
mov byte [esp + 0x37], 0x5a
mov byte [esp + 0x38], 0x23
mov byte [esp + 0x3c], 0x51
mov byte [esp + 0x3d], 0x56
mov byte [esp + 0x3e], 0x79
mov byte [esp + 0x3f], 0x6d
mov byte [esp + 0x40], 0x60
mov byte [esp + 0x41], 0x60
mov byte [esp + 0x42], 0x64
mov byte [esp + 0x43], 0x56
mov byte [esp + 0x44], 0x26
mov byte [esp + 0x45], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebp
jle 0x4815d5
mov bl, byte [esp + eax + 0x30]
xor bl, 0x17
mov byte [esp + eax + 0x30], bl
inc eax
cmp eax, ecx
jl 0x4815c5
mov dword [esp + 0x7c], 0x63c91c
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc0]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov bl, 0xa
push ecx
lea ecx, [esp + 0x34]
push ecx
push 0x20
push edx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x3574], bl
call fcn.0044b810
lea ecx, [esp + 0x114]
call fcn.005627b0
lea eax, [esp + 0x6c]
lea ecx, [esp + 0xc0]
push eax
push 0x20
push ecx
lea ecx, [esp + 0x120]
mov byte [esp + 0x3570], 0xb
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebp
call fcn.00575740
test eax, eax
je 0x48166c
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x20]
push edx
push eax
push 1
push ebp
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x48166c
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x6c]
cmp eax, ebp
je 0x48167d
push eax
call fcn.005e5002
add esp, 4
lea ecx, [esp + 0x114]
mov byte [esp + 0x3564], bl
call fcn.00562b10
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x18], ebp
je 0x481926
mov eax, dword [0x6f175c]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
push 0x5c
push ecx
mov byte [esp + 0x356c], 0xc
call fcn.005e6160
mov edi, eax
add esp, 8
cmp edi, ebp
je 0x481915
mov byte [edi], 0
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push 0x6c5098
push eax
call fcn.005fa6fb
add esp, 0xc
lea ecx, [esp + 0x30]
inc edi
mov dword [esp + 0x10], ebp
call fcn.0050cde0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x3564], 0xd
call fcn.0050cde0
mov eax, dword [0x6f6334]
mov edx, dword [esp + 0x18]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x10]
neg eax
push ecx
push 0xf003f
sbb eax, eax
push ebp
add eax, reloc.WS2_32.dll_bind
push edx
push eax
call ebx
mov esi, eax
cmp esi, ebp
je 0x4818d8
cmp esi, 2
je 0x481802
mov ecx, dword [0x6f175c]
mov dword [esp + 0x1c], ecx
mov eax, dword [0x6f6334]
mov byte [esp + 0x3564], 0xf
cmp eax, ebp
mov eax, str.CURRENT_USER
jne 0x481767
mov eax, str.MACHINE
mov edx, dword [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x24]
push 0x6c5c64
push eax
call fcn.005fa6fb
mov ecx, dword [esp + 0x2c]
add esp, 0x10
push ecx
lea ecx, [esp + 0x34]
call fcn.0050ce90
test eax, eax
je 0x4817b6
mov ecx, dword [0x6f6334]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
neg ecx
push edx
push 0xf003f
sbb ecx, ecx
push ebp
add ecx, reloc.WS2_32.dll_bind
push eax
push ecx
call ebx
mov esi, eax
cmp esi, ebp
je 0x4817f1
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
push edx
call fcn.0050cf50
test eax, eax
je 0x4817f1
mov edx, dword [0x6f6334]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
neg edx
push eax
push 0xf003f
sbb edx, edx
push ebp
add edx, reloc.WS2_32.dll_bind
push ecx
push edx
call ebx
mov esi, eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3564], 0xe
call fcn.006018cc
cmp esi, ebp
je 0x4818d8
cmp dword [0x6f6334], ebp
jne 0x4818d4
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push ebp
push ecx
push reloc.WS2_32.dll_accept
call ebx
mov esi, eax
cmp esi, ebp
je 0x4818d8
cmp esi, 2
je 0x4818d4
mov edx, dword [0x6f175c]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push str.CURRENT_USER_s
push ecx
mov byte [esp + 0x3570], 0x10
call fcn.005fa6fb
mov edx, dword [esp + 0x28]
add esp, 0xc
lea ecx, [esp + 0x6c]
push edx
call fcn.0050ce90
test eax, eax
je 0x481894
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push ebp
push ecx
push reloc.WS2_32.dll_accept
call ebx
mov esi, eax
cmp esi, ebp
je 0x4818c3
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x6c]
push edx
call fcn.0050cf50
test eax, eax
je 0x4818c3
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push ebp
push ecx
push reloc.WS2_32.dll_accept
call ebx
mov esi, eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3564], 0xe
call fcn.006018cc
cmp esi, ebp
jne 0x4818f3
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x4818f3
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x6c]
mov byte [esp + 0x3564], 0xd
call fcn.0050ce20
lea ecx, [esp + 0x30]
mov byte [esp + 0x3564], 0xc
call fcn.0050ce20
lea ecx, [esp + 0x18]
mov byte [esp + 0x3564], 7
call fcn.006018cc
lea ecx, [esp + 0xa0]
mov byte [esp + 0x3564], 6
call fcn.0050ce20
lea ecx, [esp + 0xb0]
mov byte [esp + 0x3564], 3
call fcn.0050ce20
lea ecx, [esp + 0x90]
mov byte [esp + 0x3564], 2
call fcn.0050ce20
lea ecx, [esp + 0x80]
mov byte [esp + 0x3564], 1
call fcn.0050ce20
lea ecx, [esp + 0x14]
mov byte [esp + 0x3564], 0
call fcn.006018cc
lea ecx, [esp + 0x24]
mov dword [esp + 0x3564], 0xffffffff
call fcn.006018cc
mov ecx, dword [esp + 0x355c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3558
ret
mov ecx, dword [0x6f6360]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x481690
jmp 0x4814fe