joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b950
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 8]
push edi
mov edi, dword [esp + 0x14]
push eax
push 0x42c070
push 1
push 0
push 0x42c060
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jge 0x40b996
push esi
push str.CoCreateInstance_failed:_0x_08lx_n
jmp 0x40b9ca
mov eax, dword [esp + 0xc]
lea edx, [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jge 0x40b9b3
push esi
push str.get_LocalPolicy_failed:_0x_08lx_n
jmp 0x40b9ca
mov eax, dword [esp + 8]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jge 0x40b9d2
push esi
push str.get_CurrentProfile_failed:_0x_08lx_n
call fcn.0041939f
add esp, 8
mov eax, dword [esp + 8]
test eax, eax
je 0x40b9e0
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40b9ee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
pop edi
pop esi
add esp, 8
ret

Function at 0x40bea0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x404
lea edx, [esp + 4]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x40c]
push edi
push eax
push ecx
push edx
call fcn.0041991d
add esp, 0xc
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0xc]
push ecx
push 0x42bc38
call fcn.0041939f
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 8]
push 0
dec ecx
push edx
lea eax, [esp + 0x14]
push ecx
push eax
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
mov al, byte [esi + 4]
test al, al
je 0x40bf3b
mov edx, dword [esi + 0xc]
test edx, edx
je 0x40bf3b
lea ecx, [esp + 8]
push 0
push ecx
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x14]
push ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
add esp, 0x404
ret 8
Function at 0x40bfb0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x12c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
push edi
mov edi, dword [esp + 0x13c]
push 0
push 0
push edi
call esi
test eax, eax
jne 0x40c069
mov ebx, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x10e
push 0x432620
call ebx
push edi
push 0x432620
lea eax, [esp + 0x14]
push str._s_system32_s
push eax
call fcn.00418db9
add esp, 0x10
lea ecx, [esp + 0xc]
push 8
push 0
push ecx
call esi
test eax, eax
jne 0x40c069
push eax
lea edx, [esp + 0x10]
push eax
push edx
call esi
test eax, eax
jne 0x40c069
push eax
push eax
push edi
call esi
test eax, eax
jne 0x40c069
push 0x10e
push 0x432620
call ebx
push edi
push 0x432620
lea eax, [esp + 0x14]
push str._s_system_s
push eax
call fcn.00418db9
add esp, 0x10
lea ecx, [esp + 0xc]
push 8
push 0
push ecx
call esi
test eax, eax
jne 0x40c069
push eax
lea edx, [esp + 0x10]
push eax
push edx
call esi
test eax, eax
jne 0x40c069
push eax
push eax
push edi
call esi
pop edi
pop esi
pop ebx
add esp, 0x12c
ret

Function at 0x40cd10
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push edi
push str.fije_win_vers
push 2
call fcn.0040d050
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0xc]
add esp, 8
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 8]
pop edi
cmp eax, 6
jne 0x40cd72
cmp dword [esp + 8], 1
jne 0x40cd72
push str.es_win7
push 2
call fcn.0040d050
add esp, 8
mov eax, 1
add esp, 0x94
ret
push str.no_es_win7
push 2
call fcn.0040d050
add esp, 8
xor eax, eax
add esp, 0x94
ret

Function at 0x40cd90
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push edi
push str.fije_win_vers
push 2
call fcn.0040d050
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0xc]
add esp, 8
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 8]
pop edi
cmp eax, 6
jne 0x40cdeb
push str.es_vista
push 2
call fcn.0040d050
add esp, 8
mov eax, 1
add esp, 0x94
ret
push str.no_es_vista
push 2
call fcn.0040d050
add esp, 8
xor eax, eax
add esp, 0x94
ret

Function at 0x40ce10
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push edi
push str.fije_win_5
push 2
call fcn.0040d050
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0xc]
add esp, 8
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 8]
pop edi
cmp eax, 5
jne 0x40ce6b
push str.es_win5
push 2
call fcn.0040d050
add esp, 8
mov eax, 1
add esp, 0x94
ret
push str.no_es_win5
push 2
call fcn.0040d050
add esp, 8
xor eax, eax
add esp, 0x94
ret
Function at 0x40ce90
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x1f8
push ebx
push ebp
push esi
push edi
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
push str.Whats_Running__2.2
push ebp
mov dword [esp + 0x18], edi
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x40cf31
mov ebx, dword [sym.imp.USER32.dll_PostMessageA]
sub edi, dword [esp + 0x10]
cmp edi, 0xbb8
jae 0x40cf31
mov al, byte [0x4325fc]
mov ecx, 0x7c
mov byte [esp + 0x14], al
xor eax, eax
lea edi, [esp + 0x15]
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
push 0x12
push esi
mov ebp, 1
stosb byte es:[edi], al
call ebx
push 0
push 0
push 0x10
push esi
call ebx
push str.envio_mens_termine_n
push 2
call fcn.0040d050
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push str.Whats_Running__2.2
push 0
mov edi, eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
jne 0x40cec0
push str.sale_while_termine_vents_n
push 2
call fcn.0040d050
add esp, 8
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1f8
ret

Function at 0x40d1b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x1f4
push ebp
mov ebp, dword [esp + 0x200]
push edi
mov byte [ebp], 0
movsx edi, byte [eax + 0xc]
cmp edi, 0x13
jle 0x40d1db
pop edi
xor eax, eax
pop ebp
add esp, 0x1f4
ret
movsx edx, byte [eax + 0x12]
xor ecx, ecx
push ebx
movsx ebx, byte [eax + 0x14]
test edi, edi
push esi
jle 0x40d216
lea esi, [esp + 0x10]
sub eax, esi
lea ebp, [eax + 0x1e]
mov al, cl
lea esi, [esp + ecx + 0x10]
imul bl
add al, dl
xor al, byte [esi + ebp]
inc ecx
cmp ecx, edi
mov byte [esi], al
jl 0x40d1f4
mov ebp, dword [esp + 0x20c]
mov eax, dword [esp + 0x208]
mov byte [ecx + eax], 0
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov eax, ecx
mov esi, edi
mov edi, ebp
push str.empres_s
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 2
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0040d050
add esp, 0xc
mov eax, 1
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x1f4
ret
Function at 0x40d320
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x34
mov eax, dword [str.hola_que_tal_como_]
mov ecx, dword [0x42d158]
mov edx, dword [0x42d15c]
mov dword [esp], eax
mov eax, dword [0x42d160]
mov dword [esp + 4], ecx
mov cx, word [0x42d164]
mov dword [esp + 8], edx
mov dl, byte [0x42d166]
mov dword [esp + 0xc], eax
mov word [esp + 0x10], cx
mov byte [esp + 0x12], dl
mov byte [esp + 0x13], 0
xor eax, eax
mov cl, 0x75
mov dl, byte [eax + str.khjaefjbsbsdc346284jwhqgwevtweyueyfg]
xor dl, cl
mov byte [eax + str.khjaefjbsbsdc346284jwhqgwevtweyueyfg], dl
inc eax
cmp eax, 0x20
jl 0x40d368
push 0x4340f0
push 0x20
push str.khjaefjbsbsdc346284jwhqgwevtweyueyfg
call fcn.004039d0
push 0x433818
push 0x20
push str.khjaefjbsbsdc346284jwhqgwevtweyueyfg
call fcn.004032e0
lea eax, [esp + 0x2c]
push 0x433818
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.00401000
lea edx, [esp + 0x24]
push 0x4340f0
lea eax, [esp + 0x3c]
push edx
push eax
mov byte [esp + 0x30], 0
call fcn.00402130
add esp, 0x64
ret
Function at 0x40d3d0
Capabilities:
Encode data using xor
Set registry value

Disassembly:
sub esp, 0x324
mov al, byte [0x4325fc]
push ebx
push esi
push edi
mov byte [esp + 0x1a0], al
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x1a1]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x11]
mov edx, dword [0x4346d8]
rep stosd dword es:[edi], eax
mov ecx, dword [0x4346d4]
lea ebx, [esp + 0x18]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0x10], ecx
or ecx, 0xffffffff
mov edi, 0x4346dc
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], edx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, ebx
lea ebx, [esp + 0x7b]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x434740
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
lea ebx, [esp + 0xdc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4347a4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
lea ebx, [esp + 0x164]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x42d1a0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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]
push edx
push str.guardara_proto_d
push 2
call fcn.0040d050
add esp, 0xc
xor esi, esi
lea ecx, [esp + esi + 0x1a0]
push 0x433818
lea edx, [esp + esi + 0x14]
push ecx
push edx
call fcn.00401000
add esi, 0x10
add esp, 0xc
cmp esi, 0x160
jl 0x40d4cc
xor eax, eax
mov bl, byte [esp + eax + 0x1a0]
xor bl, 0x6c
mov byte [esp + eax + 0x1a0], bl
inc eax
cmp eax, 0x168
jl 0x40d4f3
lea eax, [esp + 0xc]
push eax
push 0x2001f
push 0
push str.SoftwareLeverITAgent
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop edi
pop esi
test eax, eax
pop ebx
je 0x40d551
lea ecx, [esp]
push ecx
push str.SoftwareLeverITAgent
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x40d551
xor eax, eax
add esp, 0x324
ret
mov eax, dword [esp]
lea edx, [esp + 0x194]
push 0x17c
push edx
push 3
push 0
push str.DATACON1
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add esp, 0x324
ret
Function at 0x40d5a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x320
mov dl, byte [0x4325fc]
push esi
push edi
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x199]
mov byte [esp + 0x198], dl
mov byte [esp + 8], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 9]
push str.entra_cargfw
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 2
stosb byte es:[edi], al
call fcn.0040d050
mov ecx, dword [esp + 0x334]
lea eax, [esp + 0x1a0]
push 0x186
push eax
push ecx
call fcn.0040de40
add esp, 0x14
test eax, eax
jne 0x40d612
pop edi
pop esi
add esp, 0x320
ret
xor eax, eax
mov cl, byte [esp + eax + 0x198]
xor cl, 0x6c
mov byte [esp + eax + 0x198], cl
inc eax
cmp eax, 0x168
jl 0x40d614
xor esi, esi
lea edx, [esp + esi + 8]
push 0x4340f0
lea eax, [esp + esi + 0x19c]
push edx
push eax
call fcn.00402130
add esi, 0x10
add esp, 0xc
cmp esi, 0x160
jl 0x40d62f
mov esi, 0x42d1a0
lea eax, [esp + 0x15c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40d684
test cl, cl
je 0x40d680
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40d684
add eax, 2
add esi, 2
test cl, cl
jne 0x40d660
xor eax, eax
jmp 0x40d689
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40d6a7
push str.no_jhg
push 2
call fcn.0040d050
add esp, 8
xor eax, eax
pop edi
pop esi
add esp, 0x320
ret
mov eax, dword [esp + 8]
lea edi, [esp + 0x10]
mov dword [0x4346d4], eax
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x72], 0
mov byte [esp + 0xd2], 0
mov byte [esp + 0x134], 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, dword [esp + 0xc]
mov eax, ecx
mov esi, edi
mov edi, 0x4346dc
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push str.carga_funciono_proto_d
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x7b]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 2
mov eax, ecx
mov esi, edi
mov edi, 0x434740
mov dword [0x4346d8], edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xe0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x4347a4
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.0040d050
add esp, 0xc
mov eax, 1
pop edi
pop esi
add esp, 0x320
ret
Function at 0x40dcb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0xc]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40dce4
xor eax, eax
pop esi
add esp, 8
ret
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 4]
mov dword [esp + 4], edx
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40dd15
mov esi, 1
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x40dd30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
lea eax, [esp + 0x18]
push edi
xor ebx, ebx
push eax
push 0x20019
push ebx
push ebp
push closesocket
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40dd80
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
push ebp
call fcn.0040dcb0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edi
push edx
push ebx
mov ebx, dword [esp + 0x30]
push ebx
push eax
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40ddc4
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push edi
push ebx
push ebp
call fcn.0040dcb0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x40e090
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push ecx
push closesocket
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40e10f
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea eax, [esp]
mov dword [esp], edx
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40e104
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add esp, 8
ret
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 8
ret
Function at 0x40e3d0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push esi
xor esi, esi
push eax
push 0x2001f
push esi
push str.SoftwareLeverITAgent
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40e427
lea ecx, [esp + 8]
lea edx, [esp + 4]
push ecx
push edx
push esi
push 0x2001f
push esi
push esi
push esi
push str.SoftwareLeverITAgent
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40e427
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 8]
push ecx
push 1
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x40e44d
mov esi, 1
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x40e7f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x19c
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SoftwareLeverITAgent
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40e81f
xor eax, eax
add esp, 0x19c
ret
lea ecx, [esp + 4]
push esi
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0x42bb94
push ecx
mov dword [esp + 0x20], 0x12c
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 4]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x40e882
push edi
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x1a8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
xor eax, eax
pop esi
add esp, 0x19c
ret
Function at 0x40eef0
Capabilities:
Copy file
Enumerate files on windows

Disassembly:
sub esp, 0x370
push ebx
push ebp
push esi
mov esi, dword [esp + 0x380]
mov ebp, 1
push esi
push str.EnvuiarADir__s
push ebp
call fcn.0040d050
push 0x42c4e0
lea eax, [esp + 0x1c]
push str._sgo.
push eax
call fcn.00418db9
add esp, 0x18
lea ecx, [esp + 0x110]
lea edx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40efd4
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [esp + 0x140]
lea ecx, [esp + 0x10]
push eax
push 0x42c4e0
push str._sgo_s
push ecx
call fcn.00418db9
lea edx, [esp + 0x150]
lea eax, [esp + 0x264]
push edx
push esi
push 0x42b858
push eax
call fcn.00418db9
add esp, 0x20
lea ecx, [esp + 0x254]
lea edx, [esp + 0x10]
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x40efa0
xor ebp, ebp
jmp 0x40efad
lea eax, [esp + 0x10]
push eax
call fcn.00411fc0
add esp, 4
lea ecx, [esp + 0x114]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40ef4d
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x370
ret
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x370
ret

Function at 0x40f470
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x190
push esi
push edi
push str.es_9956
push 2
call fcn.0040d050
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 8
push 0x2328
call edi
lea eax, [esp + 8]
push str.NET_START_CHEAR
push eax
call fcn.00418db9
mov esi, dword [sym.imp.KERNEL32.dll_WinExec]
add esp, 8
lea ecx, [esp + 8]
push 0
push ecx
call esi
lea edx, [esp + 8]
push str.NET_START_SLEEPYN1
push edx
call fcn.00418db9
add esp, 8
lea eax, [esp + 8]
push 0
push eax
call esi
push 0x7d0
call edi
push 0x42c4e0
lea ecx, [esp + 0xc]
push str._s_sleepy3.exe
push ecx
call fcn.00418db9
add esp, 0xc
lea edx, [esp + 8]
push 0
push edx
call esi
pop edi
pop esi
add esp, 0x190
ret
Function at 0x40f8d0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x110
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push ebp
push esi
mov esi, dword [esp + 0x124]
push edi
mov edi, dword [esp + 0x124]
push esi
push edi
xor ebp, ebp
call ebx
test eax, eax
jne 0x40f908
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x110
ret
lea eax, [esp + 0x10]
push eax
push 0x2001f
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40f92d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
lea ecx, [esp + 0x24]
push 0
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
mov dword [esp + 0x38], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x40f98e
push esi
push edi
call ebx
test eax, eax
je 0x40f987
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.0040f8d0
add esp, 8
add ebp, eax
push esi
push edi
call ebx
test eax, eax
jne 0x40f988
inc ebp
inc dword [esp + 0x14]
jmp 0x40f935
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x110
ret

Function at 0x40f9b0
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
sub esp, 0x244
push ebp
push esi
mov esi, dword [esp + 0x250]
push edi
push esi
push str.marqueNNborrar__s
push 2
call fcn.0040d050
push esi
lea eax, [esp + 0x1c]
push str._s.
push eax
call fcn.00418db9
add esp, 0x18
lea ecx, [esp + 0x110]
lea edx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40fa84
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [esp + 0x140]
lea ecx, [esp + 0x10]
push eax
push esi
push 0x42b858
push ecx
call fcn.00418db9
mov eax, dword [esp + 0x124]
add esp, 0x10
and eax, 0x10
je 0x40fa4b
cmp byte [esp + 0x140], 0x2e
je 0x40fa4b
lea edx, [esp + 0x10]
push edx
call fcn.0040f9b0
add esp, 4
jmp 0x40fa6d
test eax, eax
jne 0x40fa6d
push 4
push eax
lea eax, [esp + 0x18]
push eax
call ebp
lea ecx, [esp + 0x10]
push ecx
push str.marqueborrarb__s
push 2
call fcn.0040d050
add esp, 0xc
lea edx, [esp + 0x114]
push edx
push edi
call ebx
test eax, eax
jne 0x40fa0b
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
push esi
push str.marqueborrarc__s
push 2
call fcn.0040d050
push esi
call fcn.00411f30
add esp, 0x10
test eax, eax
je 0x40faa5
push 4
push 0
push esi
call ebp
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x244
ret