Function at 0x480760
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 0x61c89b
push eax
mov eax, 0x354c
mov dword fs:[0], esp
call fcn.005e6510
mov eax, dword [0x6cc708]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x24], eax
xor ebx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x3564], ebx
lea eax, [esp + 0x14]
lea edx, [esp + 0x24]
push eax
push edx
mov byte [esp + 0x356c], 1
call fcn.0047fa20
test eax, eax
je 0x4811aa
lea ecx, [esp + 0x80]
mov dword [esp + 0x20], ebx
call fcn.0050d870
lea ecx, [esp + 0x90]
mov byte [esp + 0x3564], 2
call fcn.0050d870
mov edx, dword [0x6d12c4]
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 ebx
add edx, reloc.WS2_32.dll_bind
push ecx
push edx
mov byte [esp + 0x3578], 3
call edi
mov esi, eax
cmp esi, ebx
je 0x480965
cmp esi, 2
je 0x4808da
mov eax, dword [0x6cc708]
mov dword [esp + 0x10], eax
mov eax, dword [0x6d12c4]
mov byte [esp + 0x3564], 4
cmp eax, ebx
mov eax, str.CURRENT_USER
jne 0x480841
mov eax, str.MACHINE
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push eax
push 0x6a0c6c
push edx
call fcn.005fb90b
mov eax, dword [esp + 0x20]
add esp, 0x10
lea ecx, [esp + 0x80]
push eax
call fcn.0050d920
test eax, eax
je 0x48088e
mov eax, dword [0x6d12c4]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
neg eax
push ecx
push 1
sbb eax, eax
push ebx
add eax, reloc.WS2_32.dll_bind
push edx
push eax
call edi
mov esi, eax
cmp esi, ebx
je 0x4808c9
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x84]
call fcn.0050d9e0
test eax, eax
je 0x4808c9
mov ecx, dword [0x6d12c4]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
neg ecx
push edx
push 1
sbb ecx, ecx
push ebx
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.00602ad6
cmp esi, ebx
je 0x480965
cmp dword [0x6d12c4], ebx
jne 0x480965
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push 1
push ebx
push eax
push reloc.WS2_32.dll_accept
call edi
test eax, eax
je 0x480965
mov ecx, dword [0x6cc708]
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.005fb90b
mov ecx, dword [esp + 0x28]
add esp, 0xc
push ecx
lea ecx, [esp + 0x94]
call fcn.0050d920
test eax, eax
je 0x480954
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push 1
push ebx
push eax
push reloc.WS2_32.dll_accept
call edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3564], 3
call fcn.00602ad6
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x481182
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xb0]
mov dword [esp + 0x20], ebx
call fcn.0050d870
lea ecx, [esp + 0xa0]
mov byte [esp + 0x3564], 6
call fcn.0050d870
mov eax, dword [0x6d12c4]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x20]
push ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push ebx
push 0xf003f
neg eax
push ebx
push ebx
sbb eax, eax
push ebx
add eax, reloc.WS2_32.dll_bind
push edx
push eax
call edi
mov esi, eax
cmp esi, ebx
je 0x480b83
cmp esi, 2
je 0x480aa8
mov ecx, dword [0x6cc708]
mov dword [esp + 0x10], ecx
mov eax, dword [0x6d12c4]
mov byte [esp + 0x3564], 8
cmp eax, ebx
mov eax, str.CURRENT_USER
jne 0x4809ff
mov eax, str.MACHINE
mov edx, dword [esp + 0x24]
push edx
push eax
lea eax, [esp + 0x18]
push 0x6a0c6c
push eax
call fcn.005fb90b
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
lea ecx, [esp + 0xb4]
call fcn.0050d920
test eax, eax
je 0x480a55
mov ecx, dword [0x6d12c4]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x20]
push ebx
push edx
push ebx
neg ecx
push 0xf003f
push ebx
sbb ecx, ecx
push ebx
push ebx
add ecx, reloc.WS2_32.dll_bind
push eax
push ecx
call edi
mov esi, eax
cmp esi, ebx
je 0x480a97
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xb0]
push edx
call fcn.0050d9e0
test eax, eax
je 0x480a97
mov edx, dword [0x6d12c4]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x20]
push ebx
push eax
push ebx
neg edx
push 0xf003f
push ebx
sbb edx, edx
push ebx
push ebx
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.00602ad6
cmp esi, ebx
je 0x480b83
cmp dword [0x6d12c4], ebx
jne 0x480b83
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x20]
push ebx
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push ecx
push reloc.WS2_32.dll_accept
call edi
mov esi, eax
cmp esi, ebx
je 0x480b83
mov edx, dword [0x6cc708]
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.005fb90b
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0xa0]
push edx
call fcn.0050d920
test eax, eax
je 0x480b3c
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x20]
push ebx
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push ecx
push reloc.WS2_32.dll_accept
call edi
mov esi, eax
cmp esi, ebx
je 0x480b72
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xa0]
push edx
call fcn.0050d9e0
test eax, eax
je 0x480b72
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x20]
push ebx
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push ecx
push reloc.WS2_32.dll_accept
call edi
mov esi, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3564], 7
call fcn.00602ad6
cmp esi, ebx
mov dword [esp + 0x18], 1
jne 0x480ed9
cmp dword [esp + 0x20], ebx
je 0x480ed9
mov al, 0x63
mov cl, 0x37
mov byte [esp + 0x53], al
mov byte [esp + 0x58], al
mov al, 0x78
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], 0x72
mov byte [esp + 0x55], 0x65
mov byte [esp + 0x56], 0x79
mov byte [esp + 0x57], 0x72
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], 0x72
mov byte [esp + 0x69], 0x65
mov byte [esp + 0x6a], bl
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebx
jle 0x480c66
xor byte [esp + eax + 0x48], 0x17
inc eax
cmp eax, ecx
jl 0x480c5c
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x28], 0x44
mov byte [esp + 0x29], 0x72
mov byte [esp + 0x2a], 0x65
mov byte [esp + 0x2b], 0x7e
mov byte [esp + 0x2c], dl
mov byte [esp + 0x2d], 0x7b
mov byte [esp + 0x2e], bl
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebx
jle 0x480ca9
mov dl, byte [esp + eax + 0x28]
xor dl, 0x17
mov byte [esp + eax + 0x28], dl
inc eax
cmp eax, ecx
jl 0x480c99
lea edx, [esp + 0x1c]
lea eax, [esp + 0x48]
push edx
push 1
push ebx
mov ebp, 0x32
push eax
push reloc.WS2_32.dll_bind
mov byte [esp + 0xf4], bl
xor esi, esi
mov dword [esp + 0x24], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0xe0]
push ecx
push edx
test eax, eax
push ebx
lea eax, [esp + 0x34]
push ebx
push eax
jne 0x4811e7
mov ecx, dword [esp + 0x30]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ecx
call edi
test eax, eax
je 0x480d25
lea edx, [esp + 0x10]
lea eax, [esp + 0xe0]
push edx
mov edx, dword [0x6d12f4]
push eax
push ebx
lea ecx, [esp + 0x34]
push ebx
push ecx
push edx
mov dword [esp + 0x28], ebp
call edi
test eax, eax
jne 0x480d2a
mov esi, 1
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x480ec4
cmp byte [esp + 0xe0], bl
je 0x480ec4
mov ecx, 8
xor eax, eax
lea edi, [esp + 0xc0]
lea edx, [esp + 0xe0]
rep stosd dword es:[edi], eax
push 0x1f
lea eax, [esp + 0xc4]
push edx
push eax
call fcn.005e6720
mov al, 0x27
mov cl, 0x25
mov byte [esp + 0x3f], al
mov byte [esp + 0x40], cl
mov byte [esp + 0x45], al
mov byte [esp + 0x46], al
mov byte [esp + 0x47], cl
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
mov byte [esp + 0x30], 0x7b
mov byte [esp + 0x31], 0x7a
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], bl
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0xdf], bl
cmp ecx, ebx
jle 0x480e09
mov dl, byte [esp + eax + 0x30]
xor dl, 0x17
mov byte [esp + eax + 0x30], dl
inc eax
cmp eax, ecx
jl 0x480df9
mov dword [esp + 0x7c], 0x634434
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 byte [esp + 0x3564], 0xa
push ecx
lea ecx, [esp + 0x34]
push ecx
push 0x20
push edx
lea ecx, [esp + 0x8c]
call fcn.0044b8f0
lea ecx, [esp + 0x114]
call fcn.00563bd0
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], ebx
mov dword [esp + 0x78], ebx
call fcn.00576a40
test eax, eax
je 0x480e9f
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x20]
push edx
push eax
push 1
push ebx
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x480e9f
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x6c]
cmp eax, ebx
je 0x480eb0
push eax
call fcn.005e6206
add esp, 4
lea ecx, [esp + 0x114]
mov byte [esp + 0x3564], 0xa
call fcn.00563f30
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x18], ebx
je 0x48115a
mov eax, dword [0x6cc708]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
push 0x5c
push ecx
mov byte [esp + 0x356c], 0xc
call fcn.005e7360
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x481149
mov byte [ebp], bl
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push 0x6a00a0
push eax
call fcn.005fb90b
add esp, 0xc
lea ecx, [esp + 0x30]
inc ebp
mov dword [esp + 0x10], ebx
call fcn.0050d870
lea ecx, [esp + 0x6c]
mov byte [esp + 0x3564], 0xd
call fcn.0050d870
mov eax, dword [0x6d12c4]
mov edx, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x10]
neg eax
push ecx
push 0xf003f
sbb eax, eax
push ebx
add eax, reloc.WS2_32.dll_bind
push edx
push eax
call edi
mov esi, eax
cmp esi, ebx
je 0x48110c
cmp esi, 2
je 0x481036
mov ecx, dword [0x6cc708]
mov dword [esp + 0x1c], ecx
mov eax, dword [0x6d12c4]
mov byte [esp + 0x3564], 0xf
cmp eax, ebx
mov eax, str.CURRENT_USER
jne 0x480f9b
mov eax, str.MACHINE
mov edx, dword [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x24]
push 0x6a0c6c
push eax
call fcn.005fb90b
mov ecx, dword [esp + 0x2c]
add esp, 0x10
push ecx
lea ecx, [esp + 0x34]
call fcn.0050d920
test eax, eax
je 0x480fea
mov ecx, dword [0x6d12c4]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
neg ecx
push edx
push 0xf003f
sbb ecx, ecx
push ebx
add ecx, reloc.WS2_32.dll_bind
push eax
push ecx
call edi
mov esi, eax
cmp esi, ebx
je 0x481025
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
push edx
call fcn.0050d9e0
test eax, eax
je 0x481025
mov edx, dword [0x6d12c4]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
neg edx
push eax
push 0xf003f
sbb edx, edx
push ebx
add edx, reloc.WS2_32.dll_bind
push ecx
push edx
call edi
mov esi, eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3564], 0xe
call fcn.00602ad6
cmp esi, ebx
je 0x48110c
cmp dword [0x6d12c4], ebx
jne 0x481108
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push ebx
push ecx
push reloc.WS2_32.dll_accept
call edi
mov esi, eax
cmp esi, ebx
je 0x48110c
cmp esi, 2
je 0x481108
mov edx, dword [0x6cc708]
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.005fb90b
mov edx, dword [esp + 0x28]
add esp, 0xc
lea ecx, [esp + 0x6c]
push edx
call fcn.0050d920
test eax, eax
je 0x4810c8
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push ebx
push ecx
push reloc.WS2_32.dll_accept
call edi
mov esi, eax
cmp esi, ebx
je 0x4810f7
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x6c]
push edx
call fcn.0050d9e0
test eax, eax
je 0x4810f7
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push ebx
push ecx
push reloc.WS2_32.dll_accept
call edi
mov esi, eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3564], 0xe
call fcn.00602ad6
cmp esi, ebx
jne 0x481127
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x481127
push ebp
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.0050d8b0
lea ecx, [esp + 0x30]
mov byte [esp + 0x3564], 0xc
call fcn.0050d8b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x3564], 7
call fcn.00602ad6
lea ecx, [esp + 0xa0]
mov byte [esp + 0x3564], 6
call fcn.0050d8b0
lea ecx, [esp + 0xb0]
mov byte [esp + 0x3564], 3
call fcn.0050d8b0
lea ecx, [esp + 0x90]
mov byte [esp + 0x3564], 2
call fcn.0050d8b0
lea ecx, [esp + 0x80]
mov byte [esp + 0x3564], 1
call fcn.0050d8b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x3564], bl
call fcn.00602ad6
lea ecx, [esp + 0x24]
mov dword [esp + 0x3564], 0xffffffff
call fcn.00602ad6
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 [0x6d12f4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x480ec4
jmp 0x480d3d