joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10037a90
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.10037800
mov edi, eax
add esp, 4
test edi, edi
jne 0x10037ac2
push 0x100056d8
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 0x10037b15
mov eax, dword [edi + 0x24]
test eax, eax
je 0x10037ad7
mov eax, dword [eax + 8]
inc eax
jmp 0x10037ad9
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 0x10037b0d
push 0x100056d8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, dword [edi + 0x18]
push ecx
mov ecx, edi
call fcn.100379f0
mov eax, esi
pop esi
pop edi
pop ebp
ret 0x10
push eax
mov ecx, edi
call fcn.10037b30
mov esi, dword [edi + 0x18]
push ecx
mov ecx, edi
call fcn.100379f0
mov eax, esi
pop esi
pop edi
pop ebp
ret 0x10

Function at 0x1003a970
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009f7db
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100a60a4]
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 0x1003aa51
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 0x1003a9fb
add eax, 0x20
je 0x1003aa25
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, eax
test edx, edx
jne 0x1003aa27
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1003aa3c
push 0x1003a730
push fcn.1003a700
push esi
lea edi, [eax + 4]
mov dword [eax], esi
push 0x14
push edi
call fcn.1009ee84
jmp 0x1003aa3e
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 0x1003a9fd
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], edi
test edi, edi
je 0x1003aa9c
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov esi, dword [edi]
xor edx, edx
test esi, esi
je 0x1003aa76
xor eax, eax
jmp 0x1003aa60
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 0x1003aa60
mov eax, dword [ebp - 0x10]
inc eax
add ebx, 4
mov dword [ebp - 0x10], eax
cmp eax, 4
jb 0x1003a9bf
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 0x10006aac
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 0x1003aad0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009f80b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100a60a4]
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 0x1003ab32
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 0x1003ab5f
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 0x1003ab61
xor edx, edx
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x24], edx
test edx, edx
jne 0x1003ab8e
push 0x10006ad8
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 eax, dword [ebp + 0xc]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 8]
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], eax
test eax, eax
je 0x1003abcb
mov ecx, dword [eax]
add eax, 4
mov dword [esi + 0x14], eax
jmp 0x1003abcd
xor ecx, ecx
mov dword [esi + 8], ecx
mov eax, esi
mov dword [esi + 0x30], 0
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 0x10040020
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 0x100400d0
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.1003a2b0
push 0x1000a980
mov edx, 0x400
mov ecx, esi
call fcn.1003a1f0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xc], 0
je 0x100400c0
cmp dword [ecx], 0
jne 0x10040092
mov dword [ecx], esi
mov eax, dword [ecx + 4]
test eax, eax
je 0x1004009f
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 0x100400b0
sub esi, edx
add dword [ecx + 8], esi
pop edi
pop esi
pop ebp
ret
sub esi, dword [esi - 4]
je 0x100400bc
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebp
ret
push 0x100056d8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop ebp
ret
Function at 0x10048100
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 0x10048161
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 0x10048161
cmp dword [ebp - 8], edi
jne 0x10048161
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 0x10048170
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x100a60a4]
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 0x1000aa58
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x100482f3
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 0x100482e5
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 0x100482b3
mov edi, dword [ebp - 0x110]
add edi, 0xd
mov ecx, edi
call fcn.1000ee30
mov esi, eax
test esi, esi
je 0x100482e5
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 0x100482a5
push 0x1000aa9c
mov edx, edi
mov ecx, esi
call fcn.1003a1f0
push 0x1000aaa0
mov edx, edi
mov ecx, esi
call fcn.1003a1f0
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 0x1000aab0
push 0x1000aac0
call dword [sym.imp.ntdll.dll_EtwEventWriteNoRegistration]
sub esi, dword [esi - 4]
je 0x100482e5
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x100482e5
push 0xd
push 0x1000aaa0
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 0x1000aab0
push 0x1000aac0
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.1009ebb0
mov esp, ebp
pop ebp
ret
Function at 0x10048ae0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x260]
mov eax, dword [eax + 0x14]
cmp eax, 4
jl 0x10048b08
cmp eax, 6
jge 0x10048b12
test dword [edi + 0x7c], 0xc00
jne 0x10048b12
or dword [edi + 0x250], 0x2000
test dword [edi + 0x7c], 0x400
jne 0x10048b25
or dword [edi + 0x250], 0x4000
mov eax, dword [edi + 0xcc]
mov ecx, dword [edi + 0x7f4]
test eax, eax
je 0x10048bc6
movzx eax, ax
mov dword [ecx + 0x13814], eax
test dword [edi + 0xcc], 0x80000
je 0x10048b5b
mov eax, dword [edi + 0x7f4]
or dword [eax + 0x12fbc], 0x40
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
push eax
push 0x10004090
push 0x80000002
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10048bd0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x1000aad0
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 0x10048bd0
cmp dword [ebp - 0xc], 4
jne 0x10048bd0
cmp dword [ebp - 0x10], esi
je 0x10048bd0
mov eax, dword [edi + 0x7f4]
or dword [eax + 0x12fbc], 0x40
jmp 0x10048bd0
mov dword [ecx + 0x13814], 1
mov eax, dword [edi + 0x7f4]
or dword [edi + 0x7f8], 0x800
mov dword [edi + 0x2d8], 0x11
mov dword [edi + 0x2dc], 6
mov dword [eax + 0x1328c], 0xffffffff
fld dword [edi + 0xb4]
fldz
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x10048c44
fld dword [edi + 0xbc]
fucomp st(1)
fnstsw ax
test ah, 0x44
jp 0x10048c44
fld dword [edi + 0xb8]
fucomp st(1)
fnstsw ax
test ah, 0x44
jp 0x10048c44
fld dword [edi + 0xc0]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x10048cdc
jmp 0x10048c46
fstp st(0)
mov eax, dword [edi + 0x7f4]
mov dword [ebp - 0x10], 4
mov dword [ebp - 4], 0
or dword [eax + 0x12fbc], 2
mov eax, dword [edi + 0x7f4]
mov dword [eax + 0x1328c], 0xfffffff0
lea eax, [ebp - 4]
push eax
push 0x10004090
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10048cdc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x1000aae0
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 0x10048cdc
cmp dword [ebp - 0xc], 4
jne 0x10048cdc
cmp dword [ebp - 8], esi
je 0x10048cdc
mov eax, dword [edi + 0x7f4]
and dword [eax + 0x12fbc], 0xfffffffd
mov eax, dword [edi + 0x7f4]
mov dword [eax + 0x1328c], 0xffffffff
mov eax, dword [edi + 0x7f4]
mov dword [edi + 0x800], 0
mov dword [edi + 0x804], 0
mov dword [edi + 0x808], 0x100a6000
mov dword [eax + 0x11b58], 0
mov ecx, dword [edi + 0x7f4]
mov eax, dword [edi + 0x260]
mov dword [edi + 0x7ec], 0
mov dword [edi + 0x7f0], 0xffffffff
pop edi
mov dword [ecx + 0x1381c], eax
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10076350
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 0x1007640d
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 0x10076382
mov edx, dword [ebp - 0xc]
dec eax
add edi, edx
cmp eax, 0xa
ja case.default.0x10076415
jmp dword [eax*4 + 0x100764e4]
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 0x1009f080
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 0x1009f0be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x1009f0b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x1009f0c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x1009f0a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1009f190
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 0x1009f1c1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1009f1c1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x1009f1c1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x100b7161
Capabilities:
Encode data using xor

Disassembly:
call 0x100b70da
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 0x100b710a
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 0x100b7126
xor edx, 0
jmp 0x100b7131
xor edx, edx
jmp 0x100b7148
jmp 0x100b7154
xor eax, eax
push 0x8427d7c0
call 0x100b7161
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100b719d
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 0x100b7176
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 0x100b71b4
add eax, 0
jno 0x100b71b9
add esi, 0
ret 0x10
Function at 0x100b7f22
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 0x100b7f44
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 0x100b80e6
cmp edi, dword [ebp + 0x10]
jb 0x100b80e6
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.100b7a0e
inc edi
jmp 0x100b7fcd
jmp 0x100b7fda
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.100b7a0e
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.100b7a0e
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 0x100b802e
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 0x100b8012
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.100b805c
add dword [eax], 0x39
jle 0x100b8038
sub al, 0xf5
mov ch, al
call fcn.100b8071
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x100b9d49
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 0x100b9d5f
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 0x100b9d70
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.100b9db1
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 0x100bc11d
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 0x100bc066
add ebx, 0
push ecx
call 0x100bc07b
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, 0x6dd4c24d
sub ebx, dword [0x6dd6ba8c]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6dd6ba7c
call fcn.100b7b45
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.100b7053
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100bc1d9
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100bc1d9
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 0x100bc190
mov eax, 1
lock xchg dword [0x6dd6ba88], eax
push 0x3dd1fc71
call 0x100bc11d
push esi
add esp, 8
cmp eax, 0
jne 0x100bc106
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100bc12c
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100bc141
cmp ecx, edx
cmp eax, 0
je 0x100bc166
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 0x100bc150
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100bc17f
dec eax
loope 0x100bc182
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6dd6ba88], 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 0x100bc1b6
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100bc1cb
jmp 0x100bc1d6
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100bc0c4
Function at 0x100c323e
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 0x100c3514
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6dd58700
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6dd4f6c6
push 0xffffffffffffffff
call fcn.100ba43e
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 0x100c32a8
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100c32c0
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 0x100c3508
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100c34dc
Function at 0x100d2d0e
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 0x100d2d30
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100d2d30
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100d2d30
ret
cmp word [ebx + 4], 0x14c
jne 0x100d2d30
test word [ebx + 0x16], 2
je 0x100d2d30
test word [ebx + 0x16], 0x100
je 0x100d2d30
cmp word [ebx + 0x18], 0x10b
jne 0x100d2d30
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100d2d30
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100d2dbc
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100d2d50
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100b9c9b
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100d2d30
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 0x100d2dbc
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 0x100d2d30
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100d2d30
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100d2d30
ret
cmp word [ebx + 4], 0x14c
jne 0x100d2d30
test word [ebx + 0x16], 2
je 0x100d2d30
test word [ebx + 0x16], 0x100
je 0x100d2d30
cmp word [ebx + 0x18], 0x10b
jne 0x100d2d30
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100d2d30
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100d2dbc
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100d2d50
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100b9c9b
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100d2d30
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