joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10023a40
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov dword [edi], 0x10001068
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], 0
test eax, eax
jne 0x10023a87
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100a8504]
call esi
xor eax, eax
lea ecx, [eax + 1]
jmp 0x10023a8e
mov eax, 1
xor ecx, ecx
mov dword [edi + 4], ecx
lea esi, [edi + 0x84]
mov dword [edi + 8], eax
push 0xdc
push 0
push esi
mov dword [edi], 0x10001060
mov dword [edi + 0x1c], 0x1000104c
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x194], 0
mov dword [edi + 0x19c], 0
mov dword [edi + 0x1a0], 0xffffffff
mov dword [edi + 0x1b0], 0
call sub.msvcrt.dll_memset
mov eax, dword [edi + 0xc]
add esp, 0xc
mov eax, dword [eax + 0x208]
mov dword [esi], eax
xor eax, eax
mov dword [edi + 0xc0], 0xcc0020
mov dword [edi + 0x15c], 0x80004005
mov dword [edi + 0x1b4], eax
mov dword [edi + 0x1b8], eax
lea eax, [ebp - 4]
push eax
push 0x10004090
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10023be0
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x10005498
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10023ba4
cmp dword [ebp - 0xc], eax
je 0x10023ba4
or dword [edi + 0x194], 1
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x100054a8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10023bd7
cmp dword [ebp - 0xc], eax
je 0x10023bd7
or dword [edi + 0x194], 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
mov dword [edi + 0x198], 0
push eax
push 0x100054b4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10023c3b
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x100054d4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10023c32
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x198], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x100054e8
push 0
push 0x100002
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [edi + 0x1ac], eax
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10037470
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
call fcn.100371e0
mov edi, eax
add esp, 4
test edi, edi
jne 0x100374a2
push 0x100056a8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 0x80004005
pop edi
pop ebp
ret 0x10
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x100374f5
mov eax, dword [edi + 0x24]
test eax, eax
je 0x100374b7
mov eax, dword [eax + 8]
inc eax
jmp 0x100374b9
xor eax, eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi], eax
test eax, eax
jne 0x100374ed
push 0x100056a8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, dword [edi + 0x18]
push ecx
mov ecx, edi
call fcn.100373d0
mov eax, esi
pop esi
pop edi
pop ebp
ret 0x10
push eax
mov ecx, edi
call fcn.10037510
mov esi, dword [edi + 0x18]
push ecx
mov ecx, edi
call fcn.100373d0
mov eax, esi
pop esi
pop edi
pop ebp
ret 0x10

Function at 0x1003a370
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009c23b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100a20a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebp + 0xc]
lea ebx, [edi + 0x10]
mov esi, dword [ebp + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], eax
xor eax, eax
mov dword [edi + 0xc], 0
mov dword [edi], esi
mov dword [ebp - 0x10], eax
mov edx, 0x14
test esi, esi
je 0x1003a451
xor ecx, ecx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
jbe 0x1003a3fb
add eax, 0x20
je 0x1003a425
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, eax
test edx, edx
jne 0x1003a427
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1003a43c
push 0x1003a130
push fcn.1003a100
push esi
lea edi, [eax + 4]
mov dword [eax], esi
push 0x14
push edi
call fcn.1009b8e4
jmp 0x1003a43e
xor edx, edx
mov eax, edx
mov ecx, 0x20
and eax, 0x1f
sub ecx, eax
mov dword [edx + ecx - 4], ecx
lea eax, [edx + ecx]
jmp 0x1003a3fd
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], edi
test edi, edi
je 0x1003a49c
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov esi, dword [edi]
xor edx, edx
test esi, esi
je 0x1003a476
xor eax, eax
jmp 0x1003a460
mov ecx, dword [ebx]
lea eax, [eax + 0x14]
mov esi, dword [ebp + 0x14]
inc edx
mov dword [ecx + eax - 4], esi
mov esi, dword [edi]
cmp edx, esi
jb 0x1003a460
mov eax, dword [ebp - 0x10]
inc eax
add ebx, 4
mov dword [ebp - 0x10], eax
cmp eax, 4
jb 0x1003a3bf
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x10006a7c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1003a4d0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009c26b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100a20a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x30
push 0x40
mov dword [esi], 0x10001adc
mov dword [esi + 0x28], 0
mov dword [esi + 0x18], 0x80004005
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, eax
test edx, edx
je 0x1003a532
and eax, 0x1f
mov ecx, 0x20
sub ecx, eax
add edx, ecx
mov dword [edx - 4], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0
test edx, edx
je 0x1003a55f
mov eax, dword [ebp + 0x10]
and eax, 1
mov dword [edx + 8], 0
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 0xc], eax
jmp 0x1003a561
xor edx, edx
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x24], edx
test edx, edx
jne 0x1003a58e
push 0x10006aa8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x14], ecx
test ecx, ecx
je 0x1003a5ce
mov eax, dword [ecx]
mov dword [esi + 8], eax
lea eax, [ecx + 4]
mov dword [esi + 0x14], eax
jmp 0x1003a5d5
mov dword [esi + 8], 0
mov dword [esi + 0x30], 0
mov eax, esi
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1003fa60
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0x424
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
je 0x1003fb10
push esi
mov ecx, eax
mov edx, 0x20
and ecx, 0x1f
sub edx, ecx
push edi
push 0x400
push 0
lea esi, [eax + edx]
mov dword [esi - 4], edx
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp + 0x10]
mov edx, 0x400
mov ecx, esi
push eax
push dword [ebp + 0xc]
call fcn.10039cb0
push 0x1000a950
mov edx, 0x400
mov ecx, esi
call fcn.10039bf0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xc], 0
je 0x1003fb00
cmp dword [ecx], 0
jne 0x1003fad2
mov dword [ecx], esi
mov eax, dword [ecx + 4]
test eax, eax
je 0x1003fadf
mov dword [eax + 0x400], esi
mov dword [ecx + 4], esi
lea edx, [esi + 1]
mov dword [esi + 0x400], 0
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x1003faf0
sub esi, edx
add dword [ecx + 8], esi
pop edi
pop esi
pop ebp
ret
sub esi, dword [esi - 4]
je 0x1003fafc
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebp
ret
push 0x100056a8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop ebp
ret
Function at 0x10047ae0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x10004090
push 0x80000002
mov esi, edx
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10047b41
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10047b41
cmp dword [ebp - 8], edi
jne 0x10047b41
pop edi
lea eax, [esi + 1]
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10047b50
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x100a20a4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x10c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x1000aa28
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10047cd3
push esi
push edi
push 0x104
push eax
lea eax, [ebp - 0x108]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, 0x104
jae 0x10047cc5
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0
push eax
push 0
push 0
push 2
lea eax, [ebp - 0x108]
push eax
push 0
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x10047c93
mov edi, dword [ebp - 0x110]
add edi, 0xd
mov ecx, edi
call fcn.1000ee30
mov esi, eax
test esi, esi
je 0x10047cc5
lea eax, [ebp - 0x110]
push eax
push esi
push 0
push 2
lea eax, [ebp - 0x108]
push eax
push 0
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x10047c85
push 0x1000aa6c
mov edx, edi
mov ecx, esi
call fcn.10039bf0
push 0x1000aa70
mov edx, edi
mov ecx, esi
call fcn.10039bf0
push edi
push esi
push 1
push 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
push 0
push 0x1000aa80
push 0x1000aa90
call dword [sym.imp.ntdll.dll_EtwEventWriteNoRegistration]
sub esi, dword [esi - 4]
je 0x10047cc5
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x10047cc5
push 0xd
push 0x1000aa70
push 1
push 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
push 0
push 0x1000aa80
push 0x1000aa90
call dword [sym.imp.ntdll.dll_EtwEventWriteNoRegistration]
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009b610
mov esp, ebp
pop ebp
ret
Function at 0x10075cb0
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov eax, edx
mov dword [ebp - 0xc], edx
mov esi, 0x9e3779b9
mov dword [ebp - 4], ecx
xor edi, edi
mov dword [ebp - 8], eax
mov ebx, esi
cmp edx, 0xc
jb 0x10075d6d
mov eax, 0xaaaaaaab
mul edx
shr edx, 3
add edi, dword [ecx + 8]
add esi, dword [ecx + 4]
mov eax, edi
mov ecx, dword [ecx]
shr eax, 0xd
sub ecx, edi
sub ecx, esi
sub esi, edi
add ebx, ecx
mov ecx, dword [ebp - 4]
xor ebx, eax
add ecx, 0xc
sub esi, ebx
mov dword [ebp - 4], ecx
mov eax, ebx
shl eax, 8
xor esi, eax
sub edi, esi
mov eax, esi
shr eax, 0xd
sub edi, ebx
xor edi, eax
sub ebx, edi
mov eax, edi
shr eax, 0xc
sub ebx, esi
xor ebx, eax
sub esi, edi
sub esi, ebx
mov eax, ebx
shl eax, 0x10
xor esi, eax
sub edi, esi
mov eax, esi
shr eax, 5
sub edi, ebx
xor edi, eax
sub ebx, edi
mov eax, edi
shr eax, 3
sub ebx, esi
xor ebx, eax
sub esi, edi
mov eax, ebx
sub esi, ebx
shl eax, 0xa
xor esi, eax
sub edi, esi
mov eax, esi
shr eax, 0xf
sub edi, ebx
xor edi, eax
mov eax, dword [ebp - 8]
sub eax, 0xc
mov dword [ebp - 8], eax
sub edx, 1
jne 0x10075ce2
mov edx, dword [ebp - 0xc]
dec eax
add edi, edx
cmp eax, 0xa
ja case.default.0x10075d75
jmp dword [eax*4 + 0x10075e44]
movzx eax, byte [ecx + 0xa]
shl eax, 0x18
add edi, eax
movzx eax, byte [ecx + 9]
shl eax, 0x10
add edi, eax
movzx eax, byte [ecx + 8]
shl eax, 8
add edi, eax
movzx eax, byte [ecx + 7]
shl eax, 0x18
add esi, eax
movzx eax, byte [ecx + 6]
shl eax, 0x10
add esi, eax
movzx eax, byte [ecx + 5]
shl eax, 8
add esi, eax
movzx eax, byte [ecx + 4]
add esi, eax
movzx eax, byte [ecx + 3]
shl eax, 0x18
add ebx, eax
movzx eax, byte [ecx + 2]
shl eax, 0x10
add ebx, eax
movzx eax, byte [ecx + 1]
shl eax, 8
add ebx, eax
movzx eax, byte [ecx]
add ebx, eax
sub ebx, edi
mov eax, edi
sub ebx, esi
shr eax, 0xd
xor ebx, eax
sub esi, edi
sub esi, ebx
mov eax, ebx
shl eax, 8
xor esi, eax
sub edi, esi
mov eax, esi
sub edi, ebx
shr eax, 0xd
xor edi, eax
sub ebx, edi
mov eax, edi
sub ebx, esi
shr eax, 0xc
xor ebx, eax
sub esi, edi
sub esi, ebx
mov eax, ebx
shl eax, 0x10
xor esi, eax
sub edi, esi
mov eax, esi
sub edi, ebx
shr eax, 5
xor edi, eax
sub ebx, edi
mov eax, edi
sub ebx, esi
shr eax, 3
xor ebx, eax
sub esi, edi
sub esi, ebx
mov ecx, ebx
shl ecx, 0xa
xor esi, ecx
sub edi, esi
shr esi, 0xf
sub edi, ebx
xor edi, esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1009bae0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1009bb1e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x1009bb16
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x1009bb20
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x1009bb06
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1009bbf0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x1009bc21
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1009bc21
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x1009bc21
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x100b32c9
Capabilities:
Encode data using xor

Disassembly:
call 0x100b3242
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 0x100b3272
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 0x100b328e
xor edx, 0
jmp 0x100b3299
xor edx, edx
jmp 0x100b32b0
jmp 0x100b32bc
xor eax, eax
push 0x8427d7c0
call 0x100b32c9
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100b3305
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 0x100b32de
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 0x100b331c
add eax, 0
jno 0x100b3321
add esi, 0
ret 0x10
Function at 0x100b408a
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 0x100b40ac
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 0x100b424e
cmp edi, dword [ebp + 0x10]
jb 0x100b424e
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.100b3b76
inc edi
jmp 0x100b4135
jmp 0x100b4142
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.100b3b76
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.100b3b76
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 0x100b4196
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 0x100b417a
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.100b41c4
add dword [eax], 0x39
jle 0x100b41a0
sub al, 0xf5
mov ch, al
call fcn.100b41d9
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x100b5eb1
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 0x100b5ec7
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 0x100b5ed8
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.100b5f19
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 0x100b8285
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 0x100b81ce
add ebx, 0
push ecx
call 0x100b81e3
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, 0x7368734b
sub ebx, dword [0x736a6b8a]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x736a6b7a
call fcn.100b3cad
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.100b31bb
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100b8341
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100b8341
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 0x100b82f8
mov eax, 1
lock xchg dword [0x736a6b86], eax
push 0x3dd1fc71
call 0x100b8285
push esi
add esp, 8
cmp eax, 0
jne 0x100b826e
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100b8294
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100b82a9
cmp ecx, edx
cmp eax, 0
je 0x100b82ce
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 0x100b82b8
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100b82e7
dec eax
loope 0x100b82ea
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x736a6b86], 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 0x100b831e
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100b8333
jmp 0x100b833e
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100b822c
Function at 0x100bf3a6
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 0x100bf67c
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x736937fe
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x7368a7c4
push 0xffffffffffffffff
call fcn.100b65a6
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 0x100bf410
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100bf428
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 0x100bf670
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100bf644
Function at 0x100cee76
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 0x100cee98
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100cee98
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100cee98
ret
cmp word [ebx + 4], 0x14c
jne 0x100cee98
test word [ebx + 0x16], 2
je 0x100cee98
test word [ebx + 0x16], 0x100
je 0x100cee98
cmp word [ebx + 0x18], 0x10b
jne 0x100cee98
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100cee98
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100cef24
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100ceeb8
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100b5e03
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100cee98
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 0x100cef24
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 0x100cee98
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100cee98
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100cee98
ret
cmp word [ebx + 4], 0x14c
jne 0x100cee98
test word [ebx + 0x16], 2
je 0x100cee98
test word [ebx + 0x16], 0x100
je 0x100cee98
cmp word [ebx + 0x18], 0x10b
jne 0x100cee98
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100cee98
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100cef24
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100ceeb8
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100b5e03
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100cee98
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