Function at 0x4804f0
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 0x614a8b
push eax
mov eax, 0x354c
mov dword fs:[0], esp
call fcn.005de290
mov eax, dword [0x6e7b6c]
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.0047f7b0
test eax, eax
je 0x480f46
lea ecx, [esp + 0x80]
mov dword [esp + 0x20], ebp
call fcn.0050ad00
lea ecx, [esp + 0x90]
mov byte [esp + 0x3564], 2
call fcn.0050ad00
mov edx, dword [0x6ec774]
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 0x4806f5
cmp esi, 2
je 0x48066a
mov eax, dword [0x6e7b6c]
mov dword [esp + 0x10], eax
mov eax, dword [0x6ec774]
mov byte [esp + 0x3564], 4
cmp eax, ebp
mov eax, 0x6bf124
jne 0x4805d1
mov eax, 0x6bf11c
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push eax
push 0x6bcc6c
push edx
call fcn.005f368b
mov eax, dword [esp + 0x20]
add esp, 0x10
lea ecx, [esp + 0x80]
push eax
call fcn.0050adb0
test eax, eax
je 0x48061e
mov eax, dword [0x6ec774]
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 0x480659
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x84]
call fcn.0050ae70
test eax, eax
je 0x480659
mov ecx, dword [0x6ec774]
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.005fa859
cmp esi, ebp
je 0x4806f5
cmp dword [0x6ec774], ebp
jne 0x4806f5
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 0x4806f5
mov ecx, dword [0x6e7b6c]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push 0x6bf0c4
push eax
mov byte [esp + 0x3570], 5
call fcn.005f368b
mov ecx, dword [esp + 0x28]
add esp, 0xc
push ecx
lea ecx, [esp + 0x94]
call fcn.0050adb0
test eax, eax
je 0x4806e4
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.005fa859
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x480f1e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xb0]
mov dword [esp + 0x20], ebp
call fcn.0050ad00
lea ecx, [esp + 0xa0]
mov byte [esp + 0x3564], 6
call fcn.0050ad00
mov eax, dword [0x6ec774]
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 0x480913
cmp esi, 2
je 0x480838
mov ecx, dword [0x6e7b6c]
mov dword [esp + 0x10], ecx
mov eax, dword [0x6ec774]
mov byte [esp + 0x3564], 8
cmp eax, ebp
mov eax, 0x6bf124
jne 0x48078f
mov eax, 0x6bf11c
mov edx, dword [esp + 0x24]
push edx
push eax
lea eax, [esp + 0x18]
push 0x6bcc6c
push eax
call fcn.005f368b
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
lea ecx, [esp + 0xb4]
call fcn.0050adb0
test eax, eax
je 0x4807e5
mov ecx, dword [0x6ec774]
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 0x480827
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xb0]
push edx
call fcn.0050ae70
test eax, eax
je 0x480827
mov edx, dword [0x6ec774]
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.005fa859
cmp esi, ebp
je 0x480913
cmp dword [0x6ec774], ebp
jne 0x480913
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 0x480913
mov edx, dword [0x6e7b6c]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push eax
push 0x6bf0c4
push ecx
mov byte [esp + 0x3570], 9
call fcn.005f368b
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0xa0]
push edx
call fcn.0050adb0
test eax, eax
je 0x4808cc
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 0x480902
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xa0]
push edx
call fcn.0050ae70
test eax, eax
je 0x480902
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.005fa859
cmp esi, ebp
mov dword [esp + 0x18], 1
jne 0x480c75
cmp dword [esp + 0x20], ebp
je 0x480c75
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 0x4809f6
xor byte [esp + eax + 0x48], 0x17
inc eax
cmp eax, ecx
jl 0x4809ec
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 0x480a39
mov bl, byte [esp + eax + 0x28]
xor bl, 0x17
mov byte [esp + eax + 0x28], bl
inc eax
cmp eax, ecx
jl 0x480a29
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 0x480f84
mov ecx, dword [esp + 0x30]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ecx
call edi
test eax, eax
je 0x480ab6
lea edx, [esp + 0x10]
lea eax, [esp + 0xe0]
push edx
mov edx, dword [0x6ec7a0]
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 0x480abb
mov esi, 1
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebp
je 0x480c60
mov al, byte [esp + 0xe0]
test al, al
je 0x480c60
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 0x480ba5
mov bl, byte [esp + eax + 0x30]
xor bl, 0x17
mov byte [esp + eax + 0x30], bl
inc eax
cmp eax, ecx
jl 0x480b95
mov dword [esp + 0x7c], 0x6348d4
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.0044b240
lea ecx, [esp + 0x114]
call fcn.0055e4d0
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.0056f7e0
test eax, eax
je 0x480c3c
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 0x480c3c
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x6c]
cmp eax, ebp
je 0x480c4d
push eax
call fcn.005ddf8a
add esp, 4
lea ecx, [esp + 0x114]
mov byte [esp + 0x3564], bl
call fcn.0055e800
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x18], ebp
je 0x480ef6
mov eax, dword [0x6e7b6c]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
push 0x5c
push ecx
mov byte [esp + 0x356c], 0xc
call fcn.005df0e0
mov edi, eax
add esp, 8
cmp edi, ebp
je 0x480ee5
mov byte [edi], 0
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push 0x6bc090
push eax
call fcn.005f368b
add esp, 0xc
lea ecx, [esp + 0x30]
inc edi
mov dword [esp + 0x10], ebp
call fcn.0050ad00
lea ecx, [esp + 0x6c]
mov byte [esp + 0x3564], 0xd
call fcn.0050ad00
mov eax, dword [0x6ec774]
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 0x480ea8
cmp esi, 2
je 0x480dd2
mov ecx, dword [0x6e7b6c]
mov dword [esp + 0x1c], ecx
mov eax, dword [0x6ec774]
mov byte [esp + 0x3564], 0xf
cmp eax, ebp
mov eax, 0x6bf124
jne 0x480d37
mov eax, 0x6bf11c
mov edx, dword [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x24]
push 0x6bcc6c
push eax
call fcn.005f368b
mov ecx, dword [esp + 0x2c]
add esp, 0x10
push ecx
lea ecx, [esp + 0x34]
call fcn.0050adb0
test eax, eax
je 0x480d86
mov ecx, dword [0x6ec774]
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 0x480dc1
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
push edx
call fcn.0050ae70
test eax, eax
je 0x480dc1
mov edx, dword [0x6ec774]
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.005fa859
cmp esi, ebp
je 0x480ea8
cmp dword [0x6ec774], ebp
jne 0x480ea4
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 0x480ea8
cmp esi, 2
je 0x480ea4
mov edx, dword [0x6e7b6c]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push 0x6bf0c4
push ecx
mov byte [esp + 0x3570], 0x10
call fcn.005f368b
mov edx, dword [esp + 0x28]
add esp, 0xc
lea ecx, [esp + 0x6c]
push edx
call fcn.0050adb0
test eax, eax
je 0x480e64
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 0x480e93
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x6c]
push edx
call fcn.0050ae70
test eax, eax
je 0x480e93
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.005fa859
cmp esi, ebp
jne 0x480ec3
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x480ec3
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.0050ad40
lea ecx, [esp + 0x30]
mov byte [esp + 0x3564], 0xc
call fcn.0050ad40
lea ecx, [esp + 0x18]
mov byte [esp + 0x3564], 7
call fcn.005fa859
lea ecx, [esp + 0xa0]
mov byte [esp + 0x3564], 6
call fcn.0050ad40
lea ecx, [esp + 0xb0]
mov byte [esp + 0x3564], 3
call fcn.0050ad40
lea ecx, [esp + 0x90]
mov byte [esp + 0x3564], 2
call fcn.0050ad40
lea ecx, [esp + 0x80]
mov byte [esp + 0x3564], 1
call fcn.0050ad40
lea ecx, [esp + 0x14]
mov byte [esp + 0x3564], 0
call fcn.005fa859
lea ecx, [esp + 0x24]
mov dword [esp + 0x3564], 0xffffffff
call fcn.005fa859
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 [0x6ec7a0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x480c60
jmp 0x480ace