joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10053f64
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x100fe140
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x1012f488], 1
jge 0x100fe1af
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x100fe185
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x100fe185
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x100fe162
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x100fe19b
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x100fe1a2
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x100fe29f
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movaps xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x100fe270
mov eax, dword [ebx + 8]
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x100fe265
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x100fe259
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x100fe260
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x100fe29f
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x100fe29a
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x100fe283
mov eax, dword [ebx + 8]
jmp 0x100fe29f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x100fe291
xor eax, eax
jmp 0x100fe29f
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x100fe1cf
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x10055738
Capabilities:
Query environment variable

Disassembly:
jmp 0x100d3681
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100d3695
xor edi, edi
jmp 0x100d36d9
push ebx
push esi
call fcn.100d357b
push 0x40
mov ebx, eax
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
sub ebx, esi
and ebx, 0xfffffffe
push 2
push ebx
call fcn.10055cf1
mov edi, eax
add esp, 0x14
test edi, edi
je 0x100d36c6
push ebx
push esi
push edi
call fcn.10055850
add esp, 0xc
push 2
push 0
call fcn.1005620f
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x100621c0
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
push ebx
push esi
push edi
lea edi, [ebp - 0x138]
mov ecx, 0x4e
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1012e014]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x10132041
call fcn.100552fb
mov byte [ebp - 9], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x50], 0
mov esi, esp
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp esi, esp
call fcn.100553c8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x10062350
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
mov esi, esp
push 2
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
cmp esi, esp
call fcn.100553c8
test eax, eax
je 0x10062350
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x5c]
push eax
call fcn.10053ab9
add esp, 4
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x134]
mov dword [ecx], edx
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
jne 0x100622b8
mov esi, esp
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100553c8
xor al, al
jmp 0x10062366
mov eax, dword [ebp - 0x5c]
push eax
push 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call fcn.10053e88
add esp, 0xc
mov esi, esp
push 0
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
cmp esi, esp
call fcn.100553c8
mov esi, esp
push 0
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, esp
call fcn.100553c8
test eax, eax
je 0x10062350
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x10062350
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0x4550
jne 0x10062350
mov eax, dword [ebp - 0x50]
add eax, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov byte [ebp - 9], 1
mov esi, esp
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100553c8
mov al, byte [ebp - 9]
push edx
mov ecx, ebp
push eax
lea edx, [0x10062398]
call fcn.10055562
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054f8b
add esp, 0x138
cmp ebp, esp
call fcn.100553c8
mov esp, ebp
pop ebp
ret
Function at 0x10062f20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
lea edi, [ebp - 0x114]
mov ecx, 0x45
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1012e014]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x10132041
call fcn.100552fb
mov byte [ebp - 9], 0
mov esi, esp
push 0
push 0
push 4
push 0
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp esi, esp
call fcn.100553c8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x1006308d
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
mov esi, esp
push 2
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
cmp esi, esp
call fcn.100553c8
test eax, eax
je 0x1006307a
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call fcn.10053ab9
add esp, 4
mov dword [ebp - 0x110], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x110]
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x10063008
mov esi, esp
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100553c8
mov al, byte [ebp - 9]
jmp 0x10063090
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
push 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call fcn.10053e88
add esp, 0xc
mov esi, esp
push 0
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
cmp esi, esp
call fcn.100553c8
test eax, eax
je 0x1006307a
mov esi, esp
push 0
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, esp
call fcn.100553c8
test eax, eax
je 0x1006307a
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [eax]
jne 0x1006307a
mov byte [ebp - 9], 1
mov esi, esp
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100553c8
mov al, byte [ebp - 9]
push edx
mov ecx, ebp
push eax
lea edx, [0x100630c0]
call fcn.10055562
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054f8b
add esp, 0x114
cmp ebp, esp
call fcn.100553c8
mov esp, ebp
pop ebp
ret
Function at 0x10063180
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
lea edi, [ebp - 0x104]
mov ecx, 0x41
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1012e014]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x10132041
call fcn.100552fb
mov byte [ebp - 9], 0
mov esi, esp
push 0
push 0
push 4
push 0
push 2
push 0x40000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp esi, esp
call fcn.100553c8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x10063241
mov eax, dword [ebp + 0x14]
xor ecx, ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov esi, esp
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
cmp esi, esp
call fcn.100553c8
mov esi, esp
push 0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, esp
call fcn.100553c8
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jne 0x10063241
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp + 0x10]
jne 0x10063241
mov byte [ebp - 9], 1
mov esi, esp
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100553c8
mov esi, esp
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.100553c8
mov al, byte [ebp - 9]
push edx
mov ecx, ebp
push eax
lea edx, [0x1006329c]
call fcn.10055562
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054f8b
add esp, 0x104
cmp ebp, esp
call fcn.100553c8
mov esp, ebp
pop ebp
ret
Function at 0x1006cb00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
push esi
push edi
lea edi, [ebp - 0x144]
mov ecx, 0x51
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x1013223c
call fcn.100552fb
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
add ecx, dword [eax + 0x50]
mov dword [ebp - 0x20], ecx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
add eax, dword [edx + ecx + 0x78]
mov dword [ebp - 0x2c], eax
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx + 0x7c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 8]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 8]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x80], 0
jmp 0x1006cbb3
mov eax, dword [ebp - 0x80]
add eax, 1
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x44]
jae 0x1006cc09
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 8]
lea ecx, [eax + edx + 0xdc]
cmp dword [ebp - 0x20], ecx
ja 0x1006cbd5
jmp 0x1006cbaa
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 8]
add edx, dword [ecx + eax*4]
push edx
call fcn.10055dc8
add esp, 4
cmp eax, dword [ebp + 0xc]
jne 0x1006cc07
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x5c]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 8]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x74], ecx
jmp 0x1006cc09
jmp 0x1006cbaa
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x2c]
jb 0x1006cc23
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x38]
cmp dword [ebp - 0x74], eax
jae 0x1006cc23
mov dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
pop edi
pop esi
pop ebx
add esp, 0x144
cmp ebp, esp
call fcn.100553c8
mov esp, ebp
pop ebp
ret
Function at 0x100d4496
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10053f64
Function at 0x43b642
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x43b3c1
add edi, edi
mov edi, 0x2b46adf8
push 0x36e72bb1
mov edx, dword [esp]
add esp, 4
call fcn.0043b67d
sub edx, edi
or edx, edx
xor dword [esi], eax
sub edi, 0x24be95f
inc esi
and edx, edx
sub edi, edx
mov edx, edi
cmp esi, ecx
jne fcn.0043b642
sub edi, 0x9da3e054
ret
Function at 0x4064e8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x40650c
xor eax, eax
test eax, eax
je 0x40651f
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40651f
xor ecx, ecx
jmp 0x406522
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406609
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x45fdcc], 0
push esi
jne 0x406640
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40661a
mov dword [ecx*4 + 0x45fdc8], eax
inc ecx
cmp ecx, 0x100
jl 0x406615
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406671
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x45fdc8]
xor eax, esi
inc ecx
dec edx
jne 0x406653
pop edi
not eax
pop esi
ret 0xc

Function at 0x433001
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x5abd4ae0
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x450212de
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4ad1bd
Capabilities:
Encode data using xor

Disassembly:
nop
nop
nop
nop
nop
clc
xchg dword [esi - 0x45], ebp
loope 0x4ad15b
pop es
dec edi
ffree st(4)
mov eax, 0x35ee0fe8
fisub dword ds:[eax - 0x37e7082d]
pop eax
cmp edx, dword gs:[ebx + 0x74]
jecxz 0x4ad23a
xor eax, 0xd3a0da3e
neg dword [eax]
enter 0x6558, 0x3b
push esp
arpl word [ebx + 0x5f], si
insd dword es:[edi], dx
in eax, 0xe4
adc dword [ecx + 0x22], esp
jne 0x4ad1cb
stosd dword es:[edi], eax
in eax, dx
xchg byte [edx + ebx*8], bh
movsd dword es:[edi], dword [esi]
push ebx
cmp dword [ecx + 0x25de7195], esi
and esp, dword [eax + edi*8 + 0x6a20b4e1]
imul ebx, eax, 0xffffffee
mov edi, 0xb721e38c
ljmp 0xedc5

Function at 0x4c6d25
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4d1390
cmp edx, dword [eax]
je 0x4c6d47
add eax, 8
inc ecx
cmp eax, 0x4d1420
jl 0x4c6d38
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4d1390]
jne 0x4c6e75
mov eax, dword [0x4d6dc0]
cmp eax, 1
je 0x4c6e4f
test eax, eax
jne 0x4c6d78
cmp dword [0x4d12bc], 1
je 0x4c6e4f
cmp edx, 0xfc
je 0x4c6e75
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c6daf
lea eax, [ebp - 0x1a4]
push 0x4ccd48
push eax
call fcn.004c7710
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c7ba0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c6df2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c7ba0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4ccd44
push edi
call fcn.004c9a70
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4ccd28
push eax
call fcn.004c7710
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c7720
lea eax, [ebp - 0xa0]
push 0x4ccd24
push eax
call fcn.004c7720
push dword [esi + 0x4d1394]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c7720
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4cccfc
push eax
call fcn.004c99e4
add esp, 0x2c
pop edi
jmp 0x4c6e75
lea eax, [ebp + 8]
lea esi, [esi + 0x4d1394]
push 0
push eax
push dword [esi]
call fcn.004c7ba0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x1000dd80
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f83cb
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x1013306c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x10137ad0], 0
je 0x1000ddbd
mov al, 1
jmp 0x1000df83
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100cdcc0
xor eax, eax
mov dword [ebp - 0x220], 0
add esp, 0xc
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000de10
sub eax, edx
lea ecx, [ebp - 0x230]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10004ac0
push 9
push str.AsIO.dll
lea ecx, [ebp - 0x230]
call fcn.10009790
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x10137ad0], eax
test eax, eax
je 0x1000df43
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ASIO_Open
push eax
call esi
push str.ASIO_ReadMSR
push dword [0x10137ad0]
mov dword [0x10137ac4], eax
call esi
push str.ASIO_WriteMSR
push dword [0x10137ad0]
mov dword [0x10137ae4], eax
call esi
push str.ASIO_InPortB
push dword [0x10137ad0]
mov dword [0x10137ad4], eax
call esi
push str.ASIO_OutPortB
push dword [0x10137ad0]
mov dword [0x10137ae0], eax
call esi
push str.ASIO_InPortD
push dword [0x10137ad0]
mov dword [0x10137adc], eax
call esi
push str.ASIO_OutPortD
push dword [0x10137ad0]
mov dword [0x10137ad8], eax
call esi
push str.MapPhysToLin
push dword [0x10137ad0]
mov dword [0x10137ac0], eax
call esi
push str.UnmapPhysicalMemory
push dword [0x10137ad0]
mov dword [0x10137ae8], eax
call esi
push str.ASIO_MapMem
push dword [0x10137ad0]
mov dword [0x10137acc], eax
call esi
push str.ASIO_UnmapMem
push dword [0x10137ad0]
mov dword [0x10137aec], eax
call esi
push 0
mov dword [0x10137ac8], eax
call dword [0x10137ac4]
test eax, eax
je 0x1000df43
mov bl, 1
jmp 0x1000df45
xor bl, bl
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x1000df81
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000df77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000df9e
push edx
push ecx
call fcn.100713c7
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10070d87
mov esp, ebp
pop ebp
ret
call fcn.100d4798
int3
Function at 0x1000e4d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x1013306c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x228
xor ebx, ebx
mov dword [ebp - 0x234], ecx
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], 0x22c
push ebx
push eax
call fcn.100cdcc0
add esp, 0xc
push ebx
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000e578
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1000e571
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x230]
push eax
push esi
call edi
test eax, eax
je 0x1000e570
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1000e56a
lea eax, [ebp - 0x230]
push eax
push esi
call edi
test eax, eax
jne 0x1000e543
jmp 0x1000e570
mov ebx, dword [ebp - 0x228]
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.10070d87
mov esp, ebp
pop ebp
ret
Function at 0x1000e940
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f846b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
mov eax, dword [0x1013306c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10136db4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10137d28]
cmp eax, dword [ecx + 4]
jle 0x1000ea3f
push 0x10137d28
call fcn.10070f5a
add esp, 4
cmp dword [0x10137d28], 0xffffffff
jne 0x1000ea3f
push 0x18
mov dword [ebp - 4], 0
call fcn.10071051
mov esi, eax
add esp, 4
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], 1
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push eax
movq qword [esi + 0x10], xmm0
mov dword [esi], vtable.SetThreadAffinityMaskEx.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x24], 0x10
jb 0x1000ea2c
call fcn.1000e590
mov dword [esi + 8], eax
mov ecx, esi
test eax, eax
jne 0x1000ea27
call fcn.1000ec90
test al, al
je 0x1000ea61
jmp 0x1000ea2c
call fcn.1000ef70
push 0x10137d28
mov dword [0x10137d24], esi
call fcn.10070f10
add esp, 4
mov eax, dword [0x10137d24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10070d87
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str.Unable_to_dispatch_SetThreadAffinityMaskX64.exe
lea ecx, [ebp - 0x48]
call fcn.1000e330
push 0x1013092c
lea eax, [ebp - 0x48]
push eax
call fcn.100cd147
int3