joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100017c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x4018]
push edi
mov ecx, ebx
mov dword [ebp - 4], ebx
call fcn.10001ae0
xor edi, edi
cmp dword [esi + 0x4010], edi
jle 0x10001820
lea ebx, [esi + 0x2010]
lea esp, [esp]
mov eax, dword [esi + 0x4010]
mov edx, dword [esi + 4]
push 0
push eax
lea ecx, [ebx + edi]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x10001830
sub dword [esi + 0x4010], eax
add edi, eax
cmp dword [esi + 0x4010], 0
jg 0x100017f0
mov ebx, dword [ebp - 4]
mov ecx, ebx
call fcn.10001af0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x10001867
mov eax, dword [esi + 0x4010]
push eax
lea ecx, [edi + esi + 0x2010]
push ecx
push ebx
call dword [sym.imp.MSVCR100.dll_memmove]
mov ecx, dword [ebp - 4]
add esp, 0xc
call fcn.10001af0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.10001400
mov ecx, dword [ebp - 4]
call fcn.10001af0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10001930
Capabilities:
Connect socket
Create thread
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100203e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 4], 0xffffffff
push edi
mov edi, dword [ebp + 8]
je 0x100019be
mov ecx, dword [ebp + 0xc]
mov eax, 2
push ecx
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
push edi
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x10001995
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10001995
movsx edx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
push edx
push ecx
lea edx, [ebp - 0x10]
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov ecx, dword [esi + 4]
push 0x10
lea eax, [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x100019d2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x100019d2
mov ecx, esi
call fcn.10001400
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab64
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push 0x23
push edx
push eax
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x100019b7
push 0x2000
lea ecx, [esi + 0xc]
push 0
push ecx
call sub.MSVCR100.dll_memset
push 0x2000
lea edx, [esi + 0x2010]
push 0
push edx
mov dword [esi + 0x200c], 0
call sub.MSVCR100.dll_memset
add esp, 0x18
push 0x10020354
push 0
push esi
push 0x10001880
push 0
push 0
mov dword [esi + 0x4010], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x4034], eax
mov al, 1
pop edi
mov byte [esi + 0x4038], al
xor ecx, ebp
pop esi
call fcn.1000ab64
mov esp, ebp
pop ebp
ret 8
Function at 0x10001f00
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
mov eax, dword [0x100203e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1002045c], 0
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x2a0], eax
jne 0x1000208c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.MSVCR100.dll_rand]
mov dword [0x1002045c], eax
mov word [ebp - 0x29c], 0x5c1
call edi
and eax, 0x800000ff
jns 0x10001f59
dec eax
or eax, 0xffffff00
inc eax
mov bl, byte [ebp + 8]
mov ecx, 0x10012020
mov byte [ebp - 0x29a], al
mov byte [ebp - 0x299], 0xd2
mov byte [ebp - 0x298], bl
call fcn.10001470
test al, al
jne 0x10001f9d
lea ecx, [ebp - 0x29c]
push ecx
call fcn.10001dd0
add esp, 4
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab64
mov esp, ebp
pop ebp
ret
mov word [ebp - 0x294], 0x85c1
call edi
and eax, 0x800000ff
jns 0x10001fb6
dec eax
or eax, 0xffffff00
inc eax
mov byte [ebp - 0x292], al
mov byte [ebp - 0x291], 0xd2
mov byte [ebp - 0x290], bl
test esi, esi
jne 0x10001fe1
push 0x40
lea edx, [ebp - 0x28f]
push esi
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
jmp 0x10001fee
mov ecx, 0x10
lea edi, [ebp - 0x28f]
rep movsd dword es:[edi], dword [esi]
push 0x40
lea eax, [ebp - 0x24f]
push 0
push eax
call sub.MSVCR100.dll_memset
mov esi, dword [ebp - 0x2a0]
add esp, 0xc
test esi, esi
je 0x10002071
push 0x40
lea ecx, [ebp - 0x24f]
push 0
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10002071
push 0x104
lea edx, [ebp - 0x20c]
push edx
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x1000206a
lea eax, [ebp - 0x20c]
push eax
call fcn.10009850
push eax
lea ecx, [ebp - 0x24f]
push 0x1000e3d8
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx edx, byte [ebp - 0x293]
push edx
lea eax, [ebp - 0x294]
push eax
mov ecx, 0x10012020
call fcn.10001600
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1000ab64
mov esp, ebp
pop ebp
ret

Function at 0x10003060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
xor esi, esi
test edx, edx
jle 0x10003090
push ebx
push edi
mov edi, dword [ebp + 8]
mov cl, byte [0x10020476]
mov al, byte [0x10020475]
mov bl, byte [esi + edi]
imul cl
xor bl, cl
sub bl, al
mov byte [esi + edi], bl
inc esi
cmp esi, edx
jl 0x10003072
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x10003e30
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x100203e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push 0
push 0
push 3
push 0
push 1
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp + 0x18]
push connect
push eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10003e8d
lea edx, [ebp - 0x38]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x10003ea1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab64
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push edi
push 0
push eax
push ecx
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
jne 0x10003ed9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab64
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp - 0x14]
push edx
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x10003f17
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10003f10
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10003f10
mov edx, 0x14c
cmp word [ecx + 4], dx
je 0x10003f38
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab64
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp - 0x44]
mov dword [ebx], esi
mov dword [edx], edi
mov edx, dword [ebp - 0x3c]
mov dword [edx], eax
mov eax, dword [ebp - 0x40]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.1000ab64
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10003f90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x100203e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [0x1001626c]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
xor al, al
mov dword [ebp - 0x44], ecx
mov byte [ebp - 0x25], al
cmp edi, dword [0x10016270]
je 0x100040c6
mov ebx, dword [ebp - 0x30]
mov ecx, 4
lea edx, [ebp - 0x24]
sub ecx, edx
mov dword [ebp - 0x40], ecx
lea esp, [esp]
cmp byte [edi], 0
jne 0x10004097
test al, al
jne 0x10004018
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.10003e30
test al, al
je 0x100040c6
mov ebx, dword [ebp - 0x30]
mov byte [ebp - 0x25], 1
mov esi, dword [edi + 4]
mov eax, dword [ebx + 0x34]
mov edx, esi
sub edx, eax
push edx
push eax
push ebx
call dword [sym.imp.dbghelp.dll_ImageRvaToSection]
test eax, eax
je 0x10004094
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 0xc]
push 0
sub ecx, dword [ebx + 0x34]
push 0
add ecx, esi
mov esi, dword [ebp - 0x2c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x10004094
push 0
lea edx, [ebp - 0x48]
push edx
push 0x20
lea eax, [ebp - 0x24]
push eax
push esi
mov dword [ebp - 0x48], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10004094
mov edx, dword [ebp - 0x40]
mov ecx, 0x20
lea eax, [ebp - 0x24]
lea edx, [edx + edi + 4]
jmp 0x10004080
cmp ecx, 4
jb 0x100040db
mov esi, dword [edx + eax]
cmp esi, dword [eax]
jne 0x10004094
sub ecx, 4
add eax, 4
jmp 0x10004080
mov al, byte [ebp - 0x25]
add edi, 0x48
cmp edi, dword [0x10016270]
jne 0x10003fe0
test al, al
je 0x100040c6
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x2c]
push edx
call esi
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab64
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x38]
lea esi, [edi + 0x28]
mov edi, dword [ebp - 0x44]
mov ecx, 8
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x2c]
push edx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.1000ab64
mov esp, ebp
pop ebp
ret 8
Function at 0x10004280
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x10020460], 0
push esi
mov esi, ecx
je 0x1000429f
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x10020460]
cmp eax, dword [ecx]
jne 0x100042e0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov edi, dword [ebp + 8]
call ebx
sub eax, dword [esi + edi*4 + 0xc]
cmp eax, 0x1388
jb 0x100042c5
call ebx
mov dword [esi + edi*4 + 0xc], eax
mov dword [esi + edi*4 + 0x14], 0
inc dword [esi + edi*4 + 0x14]
cmp dword [esi + edi*4 + 0x14], 0x19
pop edi
pop ebx
jbe 0x100042e0
push 0
push 0
push 9
call fcn.10001f00
add esp, 0xc
pop esi
pop ebp
ret 4

Function at 0x10004420
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x10020450], 0
push esi
mov esi, ecx
je 0x1000445a
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
xor eax, eax
push 0x10020364
push eax
push esi
push 0x100043a0
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
push eax
mov dword [esi + 0x14], eax
push eax
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
pop esi
pop ebp
ret 4

Function at 0x100046e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREWebzenMuConfig
push connect
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10004751
lea ecx, [ebp - 8]
push ecx
add esi, 4
push esi
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ebp - 4]
push str.LangSelection
push eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10004747
push 0x1000e520
push 0x10
push esi
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100048b0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x100203e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, eax
and ebx, 2
push edi
mov edi, dword [ebp + 8]
jne 0x100048ea
test al, 0xc
jne 0x100048ea
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab64
mov esp, ebp
pop ebp
ret 8
push esi
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10004a24
push 0x104
lea eax, [ebp - 0x454]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x10004a1d
push 0x104
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x454]
push edx
call fcn.1000a6f0
add esp, 0xc
test al, al
je 0x10004a1d
test ebx, ebx
je 0x10004988
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x24c]
push ecx
mov ecx, 0x100162c8
call fcn.10003f90
test al, al
jne 0x10004988
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea edx, [ebp - 0x44]
push edx
push 1
call fcn.10001f00
add esp, 0xc
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab64
mov esp, ebp
pop ebp
ret 8
mov bl, byte [ebp + 0xc]
test bl, 4
je 0x100049d4
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x24c]
push ecx
mov ecx, 0x100162ec
call fcn.10004150
test al, al
jne 0x100049d4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea edx, [ebp - 0x44]
push edx
push 2
call fcn.10001f00
add esp, 0xc
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab64
mov esp, ebp
pop ebp
ret 8
test bl, 8
je 0x10004a1d
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x24c]
push ecx
mov ecx, 0x10016248
call fcn.10002f60
test al, al
jne 0x10004a1d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea edx, [ebp - 0x44]
push edx
push 5
call fcn.10001f00
add esp, 0xc
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab64
mov esp, ebp
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.1000ab64
mov esp, ebp
pop ebp
ret 8
Function at 0x10004a70
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1110
call fcn.1000ab80
mov eax, dword [0x100203e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
lea ecx, [ebp - 0x10c]
push ecx
push 0x1000
lea edx, [ebp - 0x1110]
push edx
xor esi, esi
push eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
jne 0x10004ac9
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab64
mov esp, ebp
pop ebp
ret 8
push ebx
push edi
mov edi, dword [ebp - 0x10c]
shr edi, 2
cmp edi, esi
jle 0x10004b3e
mov ebx, dword [ebp + 0xc]
jmp 0x10004ae0
mov ecx, dword [ebp + esi*4 - 0x1110]
mov edx, dword [ebp - 0x110]
push 0x104
lea eax, [ebp - 0x108]
push eax
push ecx
push edx
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
je 0x10004b39
mov ecx, ebx
lea eax, [ebp - 0x108]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10004b30
test dl, dl
je 0x10004b2c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10004b30
add eax, 2
add ecx, 2
test dl, dl
jne 0x10004b10
xor eax, eax
jmp 0x10004b35
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10004b53
inc esi
cmp esi, edi
jl 0x10004ae0
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab64
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
pop edi
pop ebx
xor ecx, ebp
mov al, 1
pop esi
call fcn.1000ab64
mov esp, ebp
pop ebp
ret 8

Function at 0x10004b70
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
push 4
push 0x1000
push ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
je 0x10004bb4
mov eax, dword [ebp + 0xc]
push 0
push ebx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x10004bbd
push 0x8000
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
push str.LoadLibraryA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10004ba6
push 0
push 0
push esi
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x10004ba6
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push ebx
push esi
push edi
test eax, eax
jne 0x10004bae
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
Function at 0x10006420
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.1000ab80
mov eax, dword [0x100203e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 1
push edi
mov edi, ecx
jne 0x1000646e
cmp dword [0x10020448], 0
je 0x10006452
test byte [0x1002044c], 2
jne 0x10006465
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab64
mov esp, ebp
pop ebp
ret 4
cmp dword [0x1001b22c], 0
je 0x10006452
push ebx
lea eax, [ebp - 0x1008]
push eax
push 0x1000
lea ecx, [ebp - 0x1004]
xor ebx, ebx
push ecx
mov dword [ebp - 0x1008], ebx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x100064a7
pop ebx
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab64
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x1008]
shr eax, 2
push esi
mov dword [ebp - 0x100c], eax
cmp eax, ebx
jle 0x10006526
jmp 0x100064c0
mov esi, dword [ebp + ebx*4 - 0x1004]
test esi, esi
je 0x10006521
push esi
lea edx, [ebp - 0x1014]
push edx
mov ecx, edi
call fcn.10006020
test al, al
jne 0x1000651b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
mov ecx, edi
call fcn.10006090
mov esi, dword [ebp + 8]
mov eax, dword [ebp + ebx*4 - 0x1004]
push esi
push eax
mov ecx, edi
call fcn.10004e00
test al, al
je 0x1000653b
mov ecx, dword [ebp + ebx*4 - 0x1004]
push esi
push ecx
mov ecx, 0x1001b148
call fcn.100048b0
test al, al
je 0x1000653b
mov eax, dword [ebp - 0x100c]
inc ebx
cmp ebx, eax
jl 0x100064c0
pop esi
pop ebx
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab64
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop esi
pop ebx
xor ecx, ebp
xor al, al
pop edi
call fcn.1000ab64
mov esp, ebp
pop ebp
ret 4
Function at 0x10006a20
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000d7bb
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x100203e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ebx, ecx
lea ecx, [ebp - 0x424]
call fcn.10001370
push 0x400
lea eax, [ebx + 0x4de8]
push eax
xor esi, esi
push edi
lea ecx, [ebp - 0x424]
mov dword [ebp - 4], esi
call fcn.10001050
test al, al
je 0x10006ab0
push esi
push 0x20
push 3
push esi
push 1
push connect
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10006ab0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x4de4
je 0x10006ac9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x424]
mov dword [ebp - 4], 0xffffffff
call fcn.10001000
xor al, al
jmp 0x10006ba3
push 0
lea ecx, [ebp - 0x428]
push ecx
mov dword [ebp - 0x428], esi
push 0x4de4
lea esi, [ebx + 4]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10006aa9
mov dword [ebp - 0x24], 0x893a6de7
mov dword [ebp - 0x20], 0x739fb2bc
mov dword [ebp - 0x1c], 0xf2b64d23
mov dword [ebp - 0x18], 0xcb8adf63
mov dword [ebp - 0x14], 0x5d938d4c
xor ecx, ecx
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov eax, ecx
sub eax, edx
mov al, byte [ebp + eax - 0x24]
mov edx, ecx
shr edx, 8
xor dl, al
mov dl, byte [esi + ecx]
xor dl, al
xor dl, cl
mov byte [esi + ecx], dl
inc ecx
cmp ecx, 0x4de4
jb 0x10006b11
mov ecx, 0x10016340
call fcn.100046e0
lea eax, [ebx + 0x90]
push eax
mov ecx, 0x10016340
call fcn.10004760
lea ecx, [ebx + 0x1a58]
push ecx
mov ecx, 0x10016340
call fcn.100047d0
add ebx, 0x3420
push ebx
mov ecx, 0x10016340
call fcn.10004840
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x424]
mov dword [ebp - 4], 0xffffffff
call fcn.10001000
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000ab64
mov esp, ebp
pop ebp
ret 4

Function at 0x10006dc0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x100203e0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x94
lea eax, [ebp - 0xd8]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xd8]
push ecx
mov dword [ebp - 0xd8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea edx, [ebp - 0x44]
push edx
mov dword [ebp - 0x44], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab64
mov esp, ebp
pop ebp
ret
Function at 0x10006f10
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000d878
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x100203e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov eax, dword fs:[0x30]
movzx ecx, byte ds:[eax + 2]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x10006f6f
push 0
push 0
push 0xa
call fcn.10001f00
add esp, 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
call fcn.10006970
push 2
push 0x23
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.10006810
test al, al
je 0x10006fd3
lea ecx, [ebp - 0x20]
call fcn.100068b0
test eax, eax
je 0x10006fd3
cmp byte [eax], 0
je 0x10006fd3
cmp byte [eax + 1], 0
jne 0x10006fd3
push 0
push 0
push 0xa
call fcn.10001f00
add esp, 0xc
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.10006990
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
call fcn.100067d0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.10006990
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret