Function at 0x473ce0
Capabilities:
Contain obfuscated stackstrings
Delete registry value
Encode data using xor
Query or enumerate registry value
Resolve function by parsing pe exports
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5fa70d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2e4
mov eax, dword [0x6ca27c]
push ebx
push esi
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
lea edx, [esp + 0xc]
xor ebx, ebx
push edx
mov dword [esp + 0x2fc], ebx
call fcn.004751e0
test eax, eax
je 0x473f02
lea ecx, [esp + 0xac]
mov dword [esp + 0x38], ebx
call fcn.004fc150
lea ecx, [esp + 0x9c]
mov byte [esp + 0x2f8], 1
call fcn.004fc150
mov edx, dword [0x6cee54]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x38]
push ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
push ebx
push 0xf003f
neg edx
push ebx
push ebx
sbb edx, edx
push ebx
add edx, reloc.WS2_32.dll_bind
push ecx
push edx
mov byte [esp + 0x31c], 2
call edi
mov esi, eax
cmp esi, ebx
je 0x473ed2
cmp esi, 2
je 0x473e1b
mov eax, dword [0x6ca27c]
mov dword [esp + 0x10], eax
mov eax, dword [0x6cee54]
mov byte [esp + 0x2f8], 3
cmp eax, ebx
mov eax, str.CURRENT_USER
jne 0x473db6
mov eax, str.MACHINE
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push eax
push 0x6a0b7c
push edx
call fcn.005d9fbb
mov eax, dword [esp + 0x20]
add esp, 0x10
lea ecx, [esp + 0xac]
push eax
call fcn.004fc200
test eax, eax
je 0x473e0a
mov eax, dword [0x6cee54]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x38]
push ebx
push ecx
push ebx
neg eax
push 0xf003f
push ebx
sbb eax, eax
push ebx
push ebx
add eax, reloc.WS2_32.dll_bind
push edx
push eax
call edi
mov esi, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2f8], 2
call fcn.005e118c
cmp esi, ebx
je 0x473ed2
cmp dword [0x6cee54], ebx
jne 0x473eda
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x38]
push ebx
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push edx
push reloc.WS2_32.dll_accept
call edi
test eax, eax
je 0x473ed2
mov eax, dword [0x6ca27c]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push str.CURRENT_USER_s
push edx
mov byte [esp + 0x304], 4
call fcn.005d9fbb
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x9c]
push eax
call fcn.004fc200
test eax, eax
je 0x473ec1
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x38]
push ebx
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push edx
push reloc.WS2_32.dll_accept
call edi
test eax, eax
je 0x473ec1
lea ecx, [esp + 0x10]
mov byte [esp + 0x2f8], 2
call fcn.005e118c
jmp 0x473eda
lea ecx, [esp + 0x10]
mov byte [esp + 0x2f8], 2
call fcn.005e118c
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x473f2e
lea ecx, [esp + 0x9c]
mov byte [esp + 0x2f8], 1
call fcn.004fc190
lea ecx, [esp + 0xac]
mov byte [esp + 0x2f8], 0
call fcn.004fc190
lea ecx, [esp + 0xc]
mov dword [esp + 0x2f8], 0xffffffff
call fcn.005e118c
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e4]
mov dword fs:[0], ecx
add esp, 0x2f0
ret
lea ecx, [esp + 0x98]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0xf4]
push ecx
push edx
push 0
push 0
push 0
push eax
mov dword [esp + 0xb4], 0x200
call ebp
mov esi, eax
mov al, 0x2b
neg esi
sbb esi, esi
mov bl, 0x65
mov byte [esp + 0x65], al
mov dl, 0x6a
mov byte [esp + 0x6e], al
lea edi, [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
inc esi
mov byte [esp + 0x54], 0x58
mov byte [esp + 0x55], 0x44
mov byte [esp + 0x56], 0x4d
mov byte [esp + 0x57], 0x5f
mov byte [esp + 0x58], 0x5c
mov byte [esp + 0x59], 0x4a
mov byte [esp + 0x5a], 0x59
mov byte [esp + 0x5b], 0x4e
mov byte [esp + 0x5c], 0x57
mov byte [esp + 0x5d], 0x42
mov byte [esp + 0x5e], bl
mov byte [esp + 0x5f], 0x7f
mov byte [esp + 0x60], 0x6e
mov byte [esp + 0x61], 0x79
mov byte [esp + 0x62], bl
mov byte [esp + 0x63], 0x6e
mov byte [esp + 0x64], 0x7f
mov byte [esp + 0x66], 0x4f
mov byte [esp + 0x67], 0x64
mov byte [esp + 0x68], 0x7c
mov byte [esp + 0x69], bl
mov byte [esp + 0x6a], 0x67
mov byte [esp + 0x6b], 0x64
mov byte [esp + 0x6c], dl
mov byte [esp + 0x6d], 0x6f
mov byte [esp + 0x6f], 0x46
mov byte [esp + 0x70], dl
mov byte [esp + 0x71], bl
mov byte [esp + 0x72], dl
mov byte [esp + 0x73], 0x6c
mov byte [esp + 0x74], 0x6e
mov byte [esp + 0x75], 0x79
mov byte [esp + 0x76], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x474028
xor byte [esp + eax + 0x54], 0xb
inc eax
cmp eax, ecx
jl 0x47401e
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x40], 0x58
mov byte [esp + 0x41], 0x6e
mov byte [esp + 0x42], 0x79
mov byte [esp + 0x43], 0x62
mov byte [esp + 0x44], dl
mov byte [esp + 0x45], 0x67
mov byte [esp + 0x46], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x47406c
mov dl, byte [esp + eax + 0x40]
xor dl, 0xb
mov byte [esp + eax + 0x40], dl
inc eax
cmp eax, ecx
jl 0x47405c
lea eax, [esp + 0x98]
xor edi, edi
push eax
push 1
lea ecx, [esp + 0x5c]
push edi
push ecx
push reloc.WS2_32.dll_bind
mov byte [esp + 0xd4], 0
mov dword [esp + 0x60], 0x32
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
lea edx, [esp + 0x4c]
lea eax, [esp + 0xc0]
push edx
push eax
push edi
lea ecx, [esp + 0x4c]
push edi
push ecx
jne 0x4740fc
mov edx, dword [esp + 0xac]
push edx
call ebp
test eax, eax
je 0x4740e7
lea eax, [esp + 0x4c]
lea ecx, [esp + 0xc0]
push eax
mov eax, dword [0x6cee7c]
push ecx
push edi
lea edx, [esp + 0x4c]
push edi
push edx
push eax
mov dword [esp + 0x64], 0x32
call ebp
test eax, eax
jne 0x4740ec
mov edi, 1
mov ecx, dword [esp + 0x98]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x47410e
mov edx, dword [0x6cee7c]
push edx
call ebp
test eax, eax
jne 0x47410e
mov edi, 1
test esi, esi
jne 0x474361
test edi, edi
je 0x4741c3
lea edi, [esp + 0xc0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x10]
not ecx
dec ecx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [edx + ecx + 2]
push eax
call fcn.005dd58d
mov edx, eax
add esp, 4
test edx, edx
je 0x474701
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [esp + 0xd0]
mov edi, esi
push edx
lea ebx, [ecx + edx + 1]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x473650
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.005e178a
jmp 0x474701
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x1c], 0x5d
mov byte [esp + 0x1d], 0x6e
mov byte [esp + 0x1e], 0x79
mov byte [esp + 0x1f], 0x78
mov byte [esp + 0x20], 0x62
mov byte [esp + 0x21], 0x64
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x47420c
mov bl, byte [esp + eax + 0x1c]
xor bl, 0xb
mov byte [esp + eax + 0x1c], bl
inc eax
cmp eax, ecx
jl 0x4741fc
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x14]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
lea edx, [esp + 0x34]
push 0
push edx
push eax
mov dword [esp + 0x38], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x474701
lea ecx, [esp + 0x48]
push ecx
call fcn.005da5ba
push 0
lea ecx, [esp + 0x4c]
call fcn.005da5cd
mov esi, dword [eax + 0x14]
push 0
lea ecx, [esp + 0x4c]
add esi, 0x76c
call fcn.005da5cd
mov edi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x4c]
inc edi
call fcn.005da5cd
lea edx, [esi + esi*2]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], 0x20
lea ecx, [edi + edx*4]
lea edx, [esp + 0x50]
push edx
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
lea esi, [eax + ecx*2 - 0xa6fe0]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x7c]
push eax
push 0
push 0
push 0
push ecx
call ebp
test eax, eax
jne 0x4742fb
lea edx, [esp + 0x78]
push edx
call fcn.005c4e38
add esp, 4
test eax, eax
je 0x474351
sub esi, eax
cmp esi, 0x3c
jbe 0x474351
mov eax, dword [esp + 0x18]
push 9
push 0x14a2
push 0x111
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x474701
mov edx, dword [0x6ca27c]
mov dword [esp + 0x18], edx
push esi
lea eax, [esp + 0x1c]
push 0x6a2980
push eax
mov byte [esp + 0x308], 5
call fcn.005d9fbb
mov edx, dword [esp + 0x24]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x18]
push edx
push 1
push eax
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x18]
mov byte [esp + 0x2fc], 2
call fcn.005e118c
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x474701
lea eax, [esp + 0x48]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0xf8]
xor esi, esi
push ecx
push edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x54], esi
call fcn.0055b4f0
add esp, 0xc
test eax, eax
je 0x4746f0
mov al, 0x3b
mov byte [esp + 0x86], bl
mov byte [esp + 0x7b], al
mov byte [esp + 0x81], al
mov byte [esp + 0x82], al
mov bl, 0x3a
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x78], 0x67
mov byte [esp + 0x79], 0x66
mov byte [esp + 0x7a], 0x5c
mov byte [esp + 0x7c], 0x39
mov byte [esp + 0x7d], 0x60
mov byte [esp + 0x7e], 0x61
mov byte [esp + 0x7f], 0x46
mov byte [esp + 0x80], 0x3f
mov byte [esp + 0x83], 0x39
mov byte [esp + 0x84], 0x4d
mov byte [esp + 0x85], 0x4a
mov byte [esp + 0x87], 0x71
mov byte [esp + 0x88], 0x7c
mov byte [esp + 0x89], 0x7c
mov byte [esp + 0x8a], 0x78
mov byte [esp + 0x8b], 0x4a
mov byte [esp + 0x8c], bl
mov byte [esp + 0x8d], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, esi
jle 0x47444a
mov dl, byte [esp + eax + 0x78]
xor dl, 0xb
mov byte [esp + eax + 0x78], dl
inc eax
cmp eax, ecx
jl 0x47443a
mov dword [esp + 0x50], 0x61a4b4
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x4c]
push eax
push ecx
push edx
lea ecx, [esp + 0x60]
mov byte [esp + 0x30c], 6
call fcn.00445290
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0xc0]
push eax
push ecx
call fcn.005c6000
add esp, 8
test eax, eax
je 0x4746e6
mov dl, 0x3e
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x24], 0x7f
mov byte [esp + 0x25], 0x72
mov byte [esp + 0x26], 0x6c
mov byte [esp + 0x27], 0x63
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], 0x39
mov byte [esp + 0x2a], 0x4c
mov byte [esp + 0x2b], 0x6c
mov byte [esp + 0x2c], 0x69
mov byte [esp + 0x2d], 0x3f
mov byte [esp + 0x2e], dl
mov byte [esp + 0x2f], 0x2f
mov byte [esp + 0x30], 0x7f
mov byte [esp + 0x31], 0x3f
mov byte [esp + 0x32], 0x2a
mov byte [esp + 0x33], 0x75
mov byte [esp + 0x34], 0x6c
mov byte [esp + 0x35], 0x79
mov byte [esp + 0x36], dl
mov byte [esp + 0x37], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x474523
mov bl, byte [esp + eax + 0x24]
xor bl, 0xb
mov byte [esp + eax + 0x24], bl
inc eax
cmp eax, ecx
jl 0x474513
mov ebp, dword [esp + 0x1c]
lea esi, [esp + 0x24]
mov eax, ebp
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x474551
test cl, cl
je 0x47454d
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x474551
add eax, 2
add esi, 2
test cl, cl
jne 0x47452d
xor eax, eax
jmp 0x474556
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x474572
mov edx, dword [esp + 0x18]
push eax
push 0x14a2
push 0x111
mov eax, dword [edx + 0x1c]
push eax
jmp 0x4746e0
mov esi, dword [0x6cf50c]
mov eax, ebp
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x47459e
test cl, cl
je 0x47459a
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x47459e
add eax, 2
add esi, 2
test cl, cl
jne 0x47457a
xor eax, eax
jmp 0x4745a3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4745ae
push 2
jmp 0x4746ce
mov esi, dword [0x6cf504]
mov eax, ebp
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x4745da
test cl, cl
je 0x4745d6
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x4745da
add eax, 2
add esi, 2
test cl, cl
jne 0x4745b6
xor eax, eax
jmp 0x4745df
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4745fc
mov eax, dword [esp + 0x18]
push 7
push 0x14a2
push 0x111
mov ecx, dword [eax + 0x1c]
push ecx
jmp 0x4746e0
mov cl, 0x3c
mov al, 0x33
mov byte [esp + 0x2b], cl
mov byte [esp + 0x2c], cl
mov byte [esp + 0x2d], al
mov byte [esp + 0x31], al
mov byte [esp + 0x34], cl
mov byte [esp + 0x35], al
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x24], dl
mov byte [esp + 0x25], 0x7f
mov byte [esp + 0x26], 0x2d
mov byte [esp + 0x27], 0x79
mov byte [esp + 0x28], 0x6e
mov byte [esp + 0x29], 0x78
mov byte [esp + 0x2a], 0x6c
mov byte [esp + 0x2e], 0x53
mov byte [esp + 0x2f], 0x6c
mov byte [esp + 0x30], 0x6d
mov byte [esp + 0x32], 0x49
mov byte [esp + 0x33], 0x45
mov byte [esp + 0x36], 0x54
mov byte [esp + 0x37], 0x3f
mov byte [esp + 0x38], 0x6c
mov byte [esp + 0x39], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x474689
mov bl, byte [esp + eax + 0x24]
xor bl, 0xb
mov byte [esp + eax + 0x24], bl
inc eax
cmp eax, ecx
jl 0x474679
lea esi, [esp + 0x24]
mov eax, ebp
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4746b7
test cl, cl
je 0x4746b3
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4746b7
add eax, 2
add esi, 2
test cl, cl
jne 0x47468f
xor eax, eax
jmp 0x4746bc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4746cc
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0
mov ecx, dword [esp + 0x1c]
push 0x14a2
push 0x111
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [esp + 0x50], 0x61a4b4
xor esi, esi
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x474701
push eax
call fcn.005c4d0f
add esp, 4
mov eax, dword [esp + 0x3c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xa0]
mov byte [esp + 0x2fc], 1
call fcn.004fc190
lea ecx, [esp + 0xb0]
mov byte [esp + 0x2fc], 0
call fcn.004fc190
lea ecx, [esp + 0x10]
mov dword [esp + 0x2fc], 0xffffffff
call fcn.005e118c
mov ecx, dword [esp + 0x2f4]
pop ebp
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2f0
ret