joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001550
Capabilities:
Check for debugger via api
Check for hardware breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 4
push 0x1000
push 0x2cc
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x100015ce
mov eax, 0x2cc
mov ecx, esi
nop dword [eax + eax]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x10001580
push esi
mov dword [esi], 0x10010
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x100015bc
cmp dword [esi + 4], edi
jne 0x100015b7
cmp dword [esi + 8], edi
jne 0x100015b7
cmp dword [esi + 0xc], edi
jne 0x100015b7
cmp dword [esi + 0x10], edi
je 0x100015bc
mov edi, 1
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
test edi, edi
jne 0x100015ec
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [ebp - 4], 0
je 0x100015f1
call fcn.10001500
cmp dword [0x100d48a8], 0
pop edi
pop esi
je 0x1000160b
call fcn.10001350
mov dword [0x100d48a8], 1
mov esp, ebp
pop ebp
ret

Function at 0x10001610
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1c], 0
je 0x10001632
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x6a]
inc eax
xor byte [edx], cl
cmp eax, 0x1b
jb 0x10001620
mov byte [esi + 0x1c], 0
mov eax, esi
pop esi
ret
Function at 0x100016b0
Capabilities:
Allocate or change rwx memory
Create process on windows
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [0x100d48b8], 0
je 0x1000175f
push esi
push dword [0x100b90a8]
push 0
push dword [0x100d48c0]
call fcn.100495a0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x40
push dword [0x100b90a8]
push dword [0x100b90ac]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push dword [0x100b90a8]
push dword [0x100d48c0]
push dword [0x100b90ac]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [0x100b90a8]
cmp dword [ebp - 4], eax
jne 0x10001778
push edi
push eax
push dword [0x100d48c0]
call fcn.10001920
mov edi, dword [0x100b90a8]
add esp, 8
xor edx, edx
test edi, edi
je 0x1000175d
mov esi, dword [0x100d48bc]
mov ecx, dword [0x100d48c0]
sub esi, ecx
nop dword [eax]
mov al, byte [ecx]
cmp al, byte [esi + ecx]
jne 0x10001763
inc edx
inc ecx
cmp edx, edi
jb 0x10001750
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x1009b3a0
push 0xe
call fcn.10008610
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movaps xmm0, xmmword [0x1009b3b0]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0xd8ccddd6
mov dword [ebp - 0x14], 0xcbd5c985
mov dword [ebp - 0x10], 0xd79f8f
mov byte [ebp - 0xc], 1
nop
lea ecx, [eax - 0x69]
xor byte [ebp + eax - 0x28], cl
inc eax
cmp eax, 0x1b
jb 0x100017a0
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 0xc], 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
call fcn.100092e5
add eax, 0x5b8d80
push 0
push 0x64
adc edx, 0
push edx
push eax
call fcn.10027560
push 0
push 0x3b9aca00
mov esi, eax
push edx
push esi
call fcn.100274b0
mov dword [ebp - 0x1c], eax
imul eax, eax, 0x3b9aca00
mov dword [ebp - 0x18], edx
sub esi, eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], esi
movups xmm0, xmmword [ebp - 0x1c]
push eax
movups xmmword [ebp - 0x1c], xmm0
call fcn.10009614
add esp, 4
mov byte [0], 0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10001820
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [0x100d48b8], 0
jne 0x1000187e
push esi
call fcn.100092e5
add eax, 0x1312d00
push 0
push 0x64
adc edx, 0
push edx
push eax
call fcn.10027560
push 0
push 0x3b9aca00
mov esi, eax
push edx
push esi
call fcn.100274b0
mov dword [ebp - 0x14], eax
imul eax, eax, 0x3b9aca00
mov dword [ebp - 0x10], edx
sub esi, eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], esi
movups xmm0, xmmword [ebp - 0x14]
push eax
movups xmmword [ebp - 0x14], xmm0
call fcn.10009614
add esp, 4
pop esi
push dword [0x100b90a8]
mov dword [0x100d48b8], 0
push 0
push dword [0x100d48bc]
call fcn.100495a0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push dword [0x100b90a8]
push dword [0x100b90ac]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
push dword [0x100b90a8]
push dword [0x100d48bc]
push dword [0x100b90ac]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push dword [0x100b90a8]
push dword [0x100d48bc]
call fcn.10001920
add esp, 8
mov dword [0x100d48b8], 1
mov esp, ebp
pop ebp
ret

Function at 0x10001900
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push fcn.10001820
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x10001920
Capabilities:
Contain obfuscated stackstrings
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 0xc], 0x58524d41
mov dword [ebp - 8], 0x49444f43
mov word [ebp - 4], 0x474e
test esi, esi
jle 0x10001970
push edi
mov edi, dword [ebp + 8]
nop dword [eax + eax]
mov eax, 0xcccccccd
mul ecx
mov eax, ecx
shr edx, 3
lea edx, [edx + edx*4]
add edx, edx
sub eax, edx
mov al, byte [ebp + eax - 0xc]
xor byte [ecx + edi], al
inc ecx
cmp ecx, esi
jl 0x10001950
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10001ba0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 8]
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push eax
mov esi, dword [esi + 4]
push 0x40
push 5
push edi
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 8]
push ecx
push 0x40
lea eax, [ebx + 5]
push 5
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [edi]
cmp eax, dword [ebx]
jne 0x10001c01
movzx eax, byte [edi + 4]
cmp al, byte [ebx + 4]
jne 0x10001c01
mov esi, 0xb
jmp 0x10001c16
mov eax, dword [edi]
cmp eax, dword [ebx + 5]
jne 0x10001c16
movzx eax, byte [edi + 4]
cmp al, byte [ebx + 9]
jne 0x10001c16
mov esi, 5
mov ebx, dword [ebp + 0x10]
lea eax, [esi + 5]
push eax
mov dword [ebx + 4], esi
call fcn.10027594
mov ecx, dword [ebx + 4]
add esp, 4
mov esi, eax
add ecx, 5
lea eax, [ebp + 8]
push eax
push 0x40
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebx + 4]
push edi
push esi
call fcn.1004a060
mov eax, dword [ebx + 4]
mov ecx, edi
sub ecx, esi
mov byte [ebp - 8], 0xe9
sub ecx, 5
add esp, 0xc
mov byte [esi + eax], 0xe9
mov eax, dword [ebx + 4]
mov dword [esi + eax + 1], ecx
mov eax, dword [ebp + 0xc]
sub eax, edi
sub eax, 5
mov dword [ebp - 7], eax
mov eax, dword [ebp - 8]
mov dword [edi], eax
mov al, byte [ebp - 4]
mov byte [edi + 4], al
pop edi
mov dword [ebx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10001c90
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x14]
lea ecx, [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov edi, dword [ebp + 0x10]
push ecx
push 0x40
push eax
push ebx
mov dword [edi + 4], eax
call esi
mov eax, dword [edi + 4]
add eax, 5
push eax
call fcn.10027594
mov ecx, dword [ebp + 0x10]
add esp, 4
mov edi, eax
lea eax, [ebp + 0x14]
mov ecx, dword [ecx + 4]
push eax
push 0x40
add ecx, 5
push ecx
push edi
call esi
mov esi, dword [ebp + 0x10]
push dword [esi + 4]
push ebx
push edi
call fcn.1004a060
mov eax, dword [esi + 4]
mov ecx, ebx
sub ecx, edi
mov byte [ebp - 8], 0xe9
sub ecx, 5
add esp, 0xc
mov byte [edi + eax], 0xe9
mov eax, dword [esi + 4]
mov dword [edi + eax + 1], ecx
mov eax, dword [ebp + 0xc]
sub eax, ebx
sub eax, 5
mov dword [ebp - 7], eax
mov eax, dword [ebp - 8]
mov dword [ebx], eax
mov al, byte [ebp - 4]
mov byte [ebx + 4], al
mov dword [esi], edi
pop edi
mov dword [esi + 8], 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10001f70
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10001e10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x10003650
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10095920
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
push edi
push 8
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1002759d
mov edi, eax
add esp, 4
test edi, edi
je 0x10003698
push 1
mov dword [ebp - 4], 0
call fcn.1000a3ee
add esp, 4
mov dword [edi + 4], eax
jmp 0x1000369a
xor edi, edi
lea eax, [esi + 4]
mov dword [esi + 0x34], edi
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10003980
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100959ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.10009d24
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x10003a0d
push eax
push esi
call fcn.1000a4f5
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
lea ecx, [ebp - 0x1c]
call fcn.10003d80
push 0x100b19ac
lea eax, [ebp - 0x1c]
push eax
call fcn.1004af31
int3
Function at 0x10008190
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push str..Settings.ini
push 0
push str.AutoResize
push str.ScreenSettings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x100081e1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push eax
push ecx
mov dword [0x100d48c4], ecx
mov dword [0x100d48c8], eax
call fcn.100076b0
add esp, 8
mov esp, ebp
pop ebp
ret
push 0x300
push 0x400
mov dword [0x100d48c4], 0x400
mov dword [0x100d48c8], 0x300
call fcn.100076b0
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x10008470
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
movups xmm0, xmmword [str.0123456789abcdef]
mov al, byte [0x1009bb44]
push esi
push 0
push 0x8000000
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 8]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x20], xmm0
mov byte [ebp - 0x10], al
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10008588
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x10008588
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x8003
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x10008511
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0xc]
push 0
push eax
push 0x400
lea eax, [ebp - 0x430]
push eax
push esi
call edi
test eax, eax
je 0x1000856b
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x1000858f
push 0
push ecx
lea eax, [ebp - 0x430]
push eax
push dword [ebp - 4]
call ebx
push 0
test eax, eax
je 0x1000856d
lea eax, [ebp - 0xc]
push eax
push 0x400
lea eax, [ebp - 0x430]
push eax
push esi
call edi
test eax, eax
jne 0x10008538
push 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
test eax, eax
je 0x1000856b
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x10
push eax
lea eax, [ebp - 0x30]
push eax
push 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x100085ec
mov ebx, dword [ebp - 8]
xor edi, edi
test ebx, ebx
je 0x100085e5
mov edx, dword [ebp + 0xc]
nop
movzx ecx, byte [ebp + edi - 0x30]
lea edx, [edx + 2]
mov eax, ecx
inc edi
shr eax, 4
and ecx, 0xf
movzx eax, byte [ebp + eax - 0x20]
mov byte [edx - 2], al
movzx eax, byte [ebp + ecx - 0x20]
mov byte [edx - 1], al
cmp edi, ebx
jb 0x100085c0
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x20], 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10008870
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x100d1724], 0x10
lea eax, [ebp - 4]
push ebx
mov ebx, dword [0x100d1720]
push esi
push edi
mov edi, dword [0x100d49b8]
mov esi, 0x100d1710
cmovae esi, dword [0x100d1710]
push eax
push 0x40
push ebx
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push str..Settings.ini
push 0
push str.FramePerSecond
push str.ScreenSettings
call esi
mov ecx, eax
test ecx, ecx
je 0x10008948
cmp ecx, 0x384
jle 0x100088fc
mov ecx, 0x384
jmp 0x10008901
cmp ecx, 0x28
jle 0x10008948
mov eax, 0x3e8
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cdq
idiv ecx
mov ecx, 5
cmp eax, ecx
push 0
cmovl eax, ecx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 1
push eax
push 0x5ab540
call edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 1
lea eax, [ebp - 4]
push eax
push 0x5ab549
call edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push str..Settings.ini
push 0
push str.HPBar
push str.Player
call esi
test ax, ax
jle 0x10008979
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x67028d
call ebx
mov dword [0x67028d], 0x1e8480
movzx esi, word [0x100d48c4]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x5d7eaa
call ebx
lea eax, [ebp - 4]
mov word [0x5d7eaa], si
movzx esi, word [0x100d48c8]
push eax
push 0x40
push 4
push 0x5d7eaf
call ebx
lea eax, [ebp - 4]
mov word [0x5d7eaf], si
movzx esi, word [0x100d48c4]
push eax
push 0x40
push 4
push 0x63a15e
call ebx
lea eax, [ebp - 4]
mov word [0x63a15e], si
movzx esi, word [0x100d48c8]
push eax
push 0x40
push 4
push 0x63a177
call ebx
pop edi
mov word [0x63a177], si
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10008a00
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
cmp dword [0x100d49b4], 0
jne 0x10008ac8
push esi
push edi
push 0x1009bbe4
push str..Co9.dat
call fcn.1006739f
mov ecx, dword [ebp + 8]
mov esi, eax
push 0x1009bbf4
push dword [ecx]
call fcn.1006739f
push esi
push 0x200
mov edi, eax
lea eax, [ebp - 0x204]
push 1
push eax
call fcn.10067660
add esp, 0x20
test eax, eax
je 0x10008a80
push edi
push eax
lea eax, [ebp - 0x204]
push 1
push eax
call fcn.10067a36
push esi
push 0x200
lea eax, [ebp - 0x204]
push 1
push eax
call fcn.10067660
add esp, 0x20
test eax, eax
jne 0x10008a55
push edi
mov dword [0x100d49b4], 1
call fcn.1006707b
push esi
call fcn.1006707b
lea eax, [ebp - 0x204]
push eax
call fcn.10027af9
add esp, 0xc
mov word [ebp - 4], 0xeb
lea eax, [ebp - 4]
push 0
push 2
push eax
push dword [0x100d49bc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10008e80
Capabilities:
Enumerate threads
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10095d68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0x1c]
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0x20]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], 0
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.10008ad0
mov esi, dword [ebp - 0x24]
xor edx, edx
mov ecx, dword [ebp - 0x20]
sub ecx, esi
mov dword [ebp - 4], 0
add ecx, 3
mov dword [ebp - 0x14], 0
shr ecx, 2
cmp esi, dword [ebp - 0x20]
cmova ecx, edx
mov edx, esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], edx
test ecx, ecx
je 0x10008f89
push edi
nop dword [eax]
mov edi, dword [edx]
test edi, edi
je 0x10008f61
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x10008f61
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x1c
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x4c], xmm0
movq qword [ebp - 0x3c], xmm0
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10008f5a
cmp dword [ebp - 0x48], edi
je 0x10008fb1
lea eax, [ebp - 0x50]
push eax
push esi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10008f47
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1009b3a0
push 0x10
call fcn.10008610
add esp, 8
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
inc ecx
add edx, 4
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
cmp ecx, dword [ebp - 0x18]
jne 0x10008f10
mov esi, dword [ebp - 0x24]
pop edi
test esi, esi
je 0x10008fec
mov ecx, dword [ebp - 0x1c]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10008fe2
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008ffb
jmp 0x10008fe2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x10008f70
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x10008fd9
test eax, eax
jne 0x10008f5a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10008f70
push ecx
push esi
call fcn.100275cd
add esp, 8
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.100553cf
int3

Function at 0x10009010
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
mov edi, ecx
lea eax, [edi + 0x14]
push eax
push 0
push 0
push 0x10002790
push 0
push 0
call esi
mov dword [edi], eax
lea eax, [edi + 0x18]
push eax
push 0
push 0
push 0x10002820
push 0
push 0
call esi
mov dword [edi + 4], eax
lea eax, [edi + 0x1c]
push eax
push 0
push 0
push 0x10004e00
push 0
push 0
call esi
mov dword [edi + 8], eax
lea eax, [edi + 0x20]
push eax
push 0
push 0
push 0x10002720
push 0
push 0
call esi
mov dword [edi + 0xc], eax
pop edi
pop esi
ret
Function at 0x1002b190
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x1007cca4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1007c88b

Function at 0x10086253
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10085c0b

Function at 0x10093f1f
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10093df3
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..retplne
nop
mov ebx, 0x40de38
nop
mov ecx, 0x56cb4f43
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x1b212468
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x40a020
Capabilities:
Get common file path
Move file

Disassembly:
sub esp, 0x200
lea eax, [esp]
push 0xff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x40a0cb
push ebx
push esi
lea ecx, [esp + 8]
push edi
push ecx
lea edx, [esp + 0x110]
push 0x40e394
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, 0x40e38c
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x210]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
test eax, eax
pop ebx
je 0x40a0b5
lea eax, [esp + 0x100]
lea ecx, [esp]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
add esp, 0x200
ret
lea edx, [esp]
lea eax, [esp + 0x100]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
add esp, 0x200
ret

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

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x10
mov ebp, dword [ebx + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push 0
lea edx, [ebp - 8]
push 0
mov eax, dword [esi]
push edx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
mov dword [ebp - 0xc], ecx
push eax
mov ecx, dword [ebx]
add al, 0x8d
call 0x5141f65d
push eax
mov dword [ebp - 0x65], 0
mov dword [ebp - 8], 0
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
leave
sub al, 0x57
fistp qword [0x74c1d8]
call edi
test eax, eax
jne 0x408b3f
int3

Function at 0x40a340
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov eax, dword [ecx + 4]
lcall 0xcc1, 0x8311b359
push ecx
dec dword [esp + ebp + 0x33f740c0]
rcr byte [esi + 0x5d], 0xc2
add al, 0x96
cmp dword [ebx], 1
jne 0x40a370
mov eax, dword [ecx + 8]
push eax
push dword [ebx + 0x77]
rol byte [eax], 0xeb
invalid
psubb mm4, mm1
jne 0x40a3ca
xlatb
sbb al, 8
in eax, dx
invalid