joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002da42
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002da66
xor eax, eax
jmp 0x1002dbfc
push 0x699d
lea eax, [ebp + 8]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x3211
push 0x7a6
call fcn.1002d566
add esp, 0x1c
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002da9d
xor eax, eax
jmp 0x1002dbfc
push 0xd1f
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x2a5b
call fcn.1002d5e8
add esp, 0x14
cmp dword [ebp - 0xc], 0
jne 0x1002dac6
xor eax, eax
jmp 0x1002dbfc
lea eax, [ebp - 0x24]
push eax
push 0x5ff8
push 1
push 0x518e
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x2331
push 0x550
push 0xffd
lea eax, [ebp - 0xc]
push eax
push 0x3880
lea eax, [ebp - 0x10]
push eax
call fcn.1002d67b
add esp, 0x30
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push 0x698e
push 1
call fcn.1002d7aa
add esp, 0x14
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x1002db4a
push dword [ebp - 4]
push 1
push 0x46f
push 0x14b
push 0x31b2
push dword [ebp - 0x14]
call fcn.10028028
add esp, 0x18
push dword [ebp - 4]
call fcn.1002d05b
pop ecx
test eax, eax
jne 0x1002db5e
xor eax, eax
jmp 0x1002dbfc
lea eax, [ebp - 4]
push eax
push 1
push 0x20dc
push 0x2c4b
push 0x2c5c
push 0x1a9f
push 0x3df9
push 0x36d9
push 0x5693
push 0x763a
call fcn.1002d834
add esp, 0x28
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002dbe4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1002dbb3
xor eax, eax
jmp 0x1002dbfc
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002dbcc
xor eax, eax
jmp 0x1002dbfc
push 0x4673
lea eax, [ebp - 4]
push eax
push 0x2522
push 1
call fcn.1002d9eb
add esp, 0x10
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002dbf5
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1002dbf9
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x10040057
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100400b2
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10040093
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jge 0x100400b0
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.100162f3
mov dword [eax], 4
jmp 0x10040088
jmp 0x100400cb
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100400cb
push 0x1660
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esp, ebp
pop ebp
ret
Function at 0x10042c24
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10042c3f
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x10042d79
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x10042ce6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0xfffffffb
jge 0x10042ca5
mov dword [ebp - 0x10], 1
jmp 0x10042ca9
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
jl 0x10042cbc
mov dword [ebp - 8], 1
jmp 0x10042cc0
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 8]
test eax, eax
je 0x10042ce6
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x10042ce6
mov dword [ebp - 0xc], 1
jmp 0x10042cea
and dword [ebp - 0xc], 0
push 2
mov ecx, dword [ebp - 0x20]
call fcn.100162f3
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0xc], eax
jle 0x10042d0c
mov dword [ebp - 0x18], 1
jmp 0x10042d10
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
sub eax, 5
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
jne 0x10042d26
mov dword [ebp - 0x1c], 1
jmp 0x10042d2a
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
push 1
mov ecx, dword [ebp - 0x20]
call fcn.100162f3
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jg 0x10042d56
mov dword [ebp - 0x28], 1
jmp 0x10042d5a
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jl 0x10042d6d
mov dword [ebp - 0x2c], 1
jmp 0x10042d71
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10042ec6
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10042f03
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
jmp 0x10042f1f
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x10042f1f
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esp, ebp
pop ebp
ret
Function at 0x100746b2
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1007e38c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.100654bc
mov dword [ebp - 0x14], eax
cmp dword [0x1066ab9c], esi
jne 0x100747a5
push 0x800
push esi
push 0x1000790c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10074732
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10074885
push esi
push esi
push 0x1000790c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10074885
push 0x10007924
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10074885
push eax
call ebx
push 0x10007930
push edi
mov dword [0x1066ab9c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007940
push edi
mov dword [0x1066aba0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007954
push edi
mov dword [0x1066aba4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066abac], eax
test eax, eax
je 0x100747a2
push 0x10007970
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066aba8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x100747ca
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100747bd
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x100747df
push 4
pop eax
jmp 0x10074887
cmp dword [ebp - 0x14], esi
je 0x100747df
push dword [0x1066ab9c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x100747c4
mov eax, dword [0x1066aba8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007483d
cmp dword [0x1066abac], edi
je 0x1007483d
push eax
call ebx
push dword [0x1066abac]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007483d
test eax, eax
je 0x1007483d
call ecx
test eax, eax
je 0x10074832
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10074832
test byte [ebp - 8], 1
jne 0x1007483d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007486d
mov eax, dword [0x1066aba0]
cmp eax, edi
je 0x1007486a
push eax
call ebx
test eax, eax
je 0x1007486a
call eax
mov esi, eax
test esi, esi
je 0x1007486a
mov eax, dword [0x1066aba4]
cmp eax, edi
je 0x1007486a
push eax
call ebx
test eax, eax
je 0x1007486a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1066ab9c]
call ebx
test eax, eax
je 0x10074885
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10074887
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x401ad5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x412284]
jne 0x401adf
repz ret
jmp fcn.0040320d

Function at 0x40b922
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x40b95d

Function at 0x40bad4
Capabilities:
Enumerate pe sections

Disassembly:
xor ebx, ebx
cmp eax, ebx
je 0x40c0db
mov edi, dword [eax + 0x3c]
add edi, eax
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 0x44], esi
call fcn.0040b8e2
adc dword [ebx + 0x7b], edx
push 0xf
mov bh, 0x47
push es
lea eax, [eax + eax*4]
shl eax, 3
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.0040b8e2
xchg ecx, ecx
push 0xffffffffffffff80
mov ax, word [edi + 6]
cmp ax, bx
jbe 0x40bb3c
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x40bb36
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x40bb27
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40689a
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 0x4068be
xor eax, eax
test eax, eax
je 0x4068d1
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068d1
xor ecx, ecx
jmp 0x4068d4
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 0x4069f7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x406a2e
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 0x406a08
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x406a03
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a5f
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 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x406a41
pop edi
not eax
pop esi
ret 0xc

Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x10006384
Capabilities:
Encode data using xor

Disassembly:
call 0x100062fd
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1000632d
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x10006349
xor edx, 0
jmp 0x10006354
xor edx, edx
jmp 0x1000636b
jmp 0x10006377
xor eax, eax
push 0x8427d7c0
call 0x10006384
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100063c0
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x10006399
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x100063d7
add eax, 0
jno 0x100063dc
add esi, 0
ret 0x10

Function at 0x10007145
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x10007167
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x10007309
cmp edi, dword [ebp + 0x10]
jb 0x10007309
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10006c31
inc edi
jmp 0x100071f0
jmp 0x100071fd
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10006c31
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10006c31
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x10007251
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x10007235
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1000727f
add dword [eax], 0x39
jle 0x1000725b
sub al, 0xf5
mov ch, al
call fcn.10007294
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x10008f6c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x10008f82
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x10008f93
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10008fd4
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x1000b340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1000b289
add ebx, 0
push ecx
call 0x1000b29e
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6bc26039
sub ebx, dword [0x6bc45878]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6bc45868
call fcn.10006d68
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.10006276
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1000b3fc
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1000b3fc
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1000b3b3
mov eax, 1
lock xchg dword [0x6bc45874], eax
push 0x3dd1fc71
call 0x1000b340
push esi
add esp, 8
cmp eax, 0
jne 0x1000b329
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1000b34f
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1000b364
cmp ecx, edx
cmp eax, 0
je 0x1000b389
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1000b373
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1000b3a2
dec eax
loope 0x1000b3a5
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6bc45874], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1000b3d9
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1000b3ee
jmp 0x1000b3f9
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1000b2e7
Function at 0x10012461
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x10012737
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6bc324ec
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6bc294b2
push 0xffffffffffffffff
call fcn.10009661
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x100124cb
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100124e3
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1001272b
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100126ff
Function at 0x10021f31
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10021f53
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10021f53
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10021f53
ret
cmp word [ebx + 4], 0x14c
jne 0x10021f53
test word [ebx + 0x16], 2
je 0x10021f53
test word [ebx + 0x16], 0x100
je 0x10021f53
cmp word [ebx + 0x18], 0x10b
jne 0x10021f53
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10021f53
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10021fdf
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10021f73
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10008ebe
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10021f53
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x10021fdf
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10021f53
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10021f53
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10021f53
ret
cmp word [ebx + 4], 0x14c
jne 0x10021f53
test word [ebx + 0x16], 2
je 0x10021f53
test word [ebx + 0x16], 0x100
je 0x10021f53
cmp word [ebx + 0x18], 0x10b
jne 0x10021f53
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10021f53
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10021fdf
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10021f73
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10008ebe
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10021f53
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8