joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100be90f
Capabilities:
Encode data using xor

Disassembly:
push 0x240
mov eax, 0x101abe41
call fcn.1017516e
mov edi, edx
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x22c], 0x2f9d
xor esi, esi
mov eax, dword [ebp - 0x22c]
mov edx, esi
xor eax, 0x2f
mov ebx, dword [ebp + 8]
mov word [ebp - 0x228], ax
mov eax, dword [ebp - 0x22c]
inc eax
xor eax, 0x2f
mov word [ebp - 0x226], ax
mov eax, dword [ebp - 0x22c]
add eax, 2
xor eax, 0x2e
mov word [ebp - 0x224], ax
mov eax, dword [ebp - 0x22c]
add eax, 3
xor eax, 0x2f
mov word [ebp - 0x222], ax
mov eax, dword [ebp - 0x22c]
add eax, 4
xor eax, 0x25
mov word [ebp - 0x220], ax
mov eax, dword [ebp - 0x22c]
add eax, 5
xor eax, 0x6c
mov word [ebp - 0x21e], ax
mov eax, dword [ebp - 0x22c]
add eax, 6
xor eax, 0x73
mov word [ebp - 0x21c], ax
xor eax, eax
mov word [ebp - 0x21a], ax
mov ax, word [ebp - 0x228]
mov ax, word [ebp + edx*2 - 0x228]
mov ecx, dword [ebp - 0x22c]
add ecx, edx
movzx eax, ax
xor ecx, eax
mov word [ebp + edx*2 - 0x228], cx
inc edx
cmp edx, 7
jb 0x100be9c7
push dword [ebp - 0x238]
xor eax, eax
mov word [ebp - 0x21a], ax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.100be8b9
add esp, 0x10
lea eax, [ebp - 0x218]
push 0xffffffffffffffff
push esi
push 3
push esi
push 1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x234], eax
cmp eax, 0xffffffff
jne 0x100bea3f
mov eax, 0xe0010001
jmp 0x100beaee
lea eax, [ebp - 0x234]
mov dword [ebp - 0x23c], eax
lea ecx, [ebp - 0x248]
lea eax, [ebp - 0x23c]
push eax
call fcn.10029194
pop ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x230], esi
cmp edi, 6
je 0x100bea99
cmp edi, 9
je 0x100bea81
cmp edi, 0xf
je 0x100bea8d
cmp edi, 0x47
jne 0x100beacf
mov dword [ebp - 0x230], 0x2010101
jmp 0x100beaa3
mov dword [ebp - 0x230], 0x3010101
jmp 0x100beaa3
mov dword [ebp - 0x230], 0x1010101
push esi
lea eax, [ebp - 0x240]
push eax
push 0x80
push ebx
push 4
lea eax, [ebp - 0x230]
push eax
push 0x170002
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100bead4
mov esi, 0xe0010001
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x248], 0
jne 0x100beaec
lea ecx, [ebp - 0x244]
call fcn.100291c4
mov eax, esi
call fcn.10175118
ret
Function at 0x100c1ff2
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, edx
push edi
mov edi, ecx
movzx eax, byte [esi + 4]
cmp eax, 8
ja 0x100c207d
je 0x100c2061
sub eax, 4
je 0x100c2031
sub eax, 1
je 0x100c202a
sub eax, 1
je 0x100c2023
sub eax, 1
jne 0x100c209e
mov eax, dword [esi + 0xc]
add eax, 0x18
jmp 0x100c2094
pop edi
pop esi
jmp fcn.100c1f83
pop edi
pop esi
jmp 0x100c2e41
mov edx, dword [edi + 0xc]
mov ecx, dword [edx + 0x20]
mov eax, dword [edx + 0x18]
dec ecx
and ecx, dword [esi + 8]
lea ecx, [eax + ecx*4]
jmp 0x100c2046
lea ecx, [eax + 0x10]
mov eax, dword [ecx]
cmp eax, esi
jne 0x100c2043
mov eax, dword [eax + 0x10]
mov dword [ecx], eax
dec dword [edx + 0x1c]
mov eax, dword [esi + 0xc]
mov edx, esi
push 0
add eax, 0x19
push eax
jmp 0x100c2079
mov edx, dword [esi + 0x1c]
mov ecx, esi
call fcn.100c53fe
mov ecx, esi
call fcn.1009a9a6
push 0
push 0x74
lea edx, [esi - 4]
mov ecx, edi
jmp 0x100c2097
cmp eax, 9
je 0x100c20a1
cmp eax, 0x14
je 0x100c2054
cmp eax, 0x26
jne 0x100c209e
movzx eax, byte [esi + 6]
inc eax
shl eax, 4
push 0
push eax
call fcn.100c5f33
pop ecx
pop ecx
pop edi
pop esi
ret
pop edi
pop esi
jmp 0x100c549f
push esi
mov esi, edx
push edi
mov edi, ecx
mov edx, dword [esi + 0x10]
cmp edx, 0x101ee560
je 0x100c2e69
mov cl, byte [esi + 7]
xor eax, eax
inc eax
shl eax, cl
mov ecx, edi
shl eax, 5
push 0
push eax
call fcn.100c5f33
pop ecx
pop ecx
mov eax, dword [esi + 8]
mov ecx, edi
mov edx, dword [esi + 0xc]
shl eax, 4
push 0
push eax
call fcn.100c5f33
push 0
push 0x20
mov edx, esi
mov ecx, edi
call fcn.100c5f33
add esp, 0x10
pop edi
pop esi
ret
push ebx
push esi
mov esi, edx
xor ebx, ebx
push edi
push ebx
mov edi, ecx
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x30]
shl eax, 2
push eax
call fcn.100c5f33
mov eax, dword [esi + 0x1c]
mov ecx, edi
mov edx, dword [esi + 0x34]
shl eax, 2
push ebx
push eax
call fcn.100c5f33
mov eax, dword [esi + 0x10]
mov ecx, edi
mov edx, dword [esi + 0x2c]
shl eax, 4
push ebx
push eax
call fcn.100c5f33
mov eax, dword [esi + 0x18]
mov ecx, edi
mov edx, dword [esi + 0x38]
shl eax, 2
push ebx
push eax
call fcn.100c5f33
imul eax, dword [esi + 0x20], 0xc
mov ecx, edi
mov edx, dword [esi + 0x3c]
push ebx
push eax
call fcn.100c5f33
mov eax, dword [esi + 0xc]
mov ecx, edi
mov edx, dword [esi + 0x40]
shl eax, 3
push ebx
push eax
call fcn.100c5f33
push ebx
push 0x50
mov edx, esi
mov ecx, edi
call fcn.100c5f33
add esp, 0x38
pop edi
pop esi
pop ebx
ret
Function at 0x100c41f8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x20
mov dword [edx], ecx
xorps xmm1, xmm1
movzx eax, byte [ecx]
push esi
xor esi, esi
mov dword [ebp - 0x14], edx
push edi
test byte [eax + 0x102046f1], 8
mov edi, esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
je 0x100c4243
inc ecx
movzx eax, byte [ecx]
test byte [eax + 0x102046f1], 8
jne 0x100c4233
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
call fcn.10086af5
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
cmp byte [ecx], 0x30
jne 0x100c4366
mov dl, byte [ecx + 1]
cmp dl, 0x78
je 0x100c426b
cmp dl, 0x58
jne 0x100c4366
add ecx, 2
mov dl, byte [ecx]
mov eax, ecx
mov dword [ebp - 8], eax
cmp dl, 0x2e
jne 0x100c4289
cmp dword [ebp - 0xc], 0
jne 0x100c42d7
mov dword [ebp - 0xc], 1
jmp 0x100c42d2
movzx eax, dl
test byte [eax + 0x102046f1], 0x10
je 0x100c42d7
test esi, esi
jne 0x100c42a3
cmp dl, 0x30
jne 0x100c42a3
inc dword [ebp - 0x10]
jmp 0x100c42c8
inc esi
cmp esi, 0x1e
jg 0x100c42c7
movsx ecx, dl
call fcn.100c41e4
mulsd xmm1, qword [0x1024d210]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
jmp 0x100c42c8
inc edi
cmp dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
je 0x100c42d2
dec edi
lea ecx, [eax + 1]
jmp 0x100c426e
mov eax, dword [ebp - 0x10]
push 0
add eax, esi
pop esi
je 0x100c4366
mov eax, dword [ebp - 0x14]
shl edi, 2
mov dword [eax], ecx
mov al, byte [ecx]
cmp al, 0x70
je 0x100c42f7
cmp al, 0x50
jne 0x100c433f
inc dword [ebp - 8]
lea ecx, [ebp - 8]
call fcn.10086af5
mov edx, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov al, byte [edx]
movzx ecx, al
test byte [ecx + 0x102046f1], 2
je 0x100c4366
imul ecx, esi, 0xa
movsx esi, al
add esi, 0xffffffd0
add esi, ecx
inc edx
movzx eax, byte [edx]
test byte [eax + 0x102046f1], 2
mov al, byte [edx]
jne 0x100c4316
cmp dword [ebp - 0x18], 0
je 0x100c4338
neg esi
mov eax, dword [ebp - 0x14]
add edi, esi
mov dword [eax], edx
cmp dword [ebp - 0x1c], 0
je 0x100c434c
xorps xmm1, xmmword [0x1024d4a0]
push edi
push ecx
push ecx
movsd qword [esp], xmm1
call fcn.100f1c9b
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 0xc
jmp 0x100c4369
xorps xmm0, xmm0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x100cd8a7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1024
call fcn.10175520
mov eax, dword [0x1026e004]
xor eax, esp
mov dword [esp + 0x1020], eax
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
push esi
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0x10]
mov ebx, dword [edi + 8]
sub ebx, dword [eax]
sub ebx, 0x10
sar ebx, 4
call fcn.100f026c
pop ecx
mov ecx, edi
sub ebx, 1
jne 0x100cd901
push 1
mov edx, esi
call fcn.100cd791
mov esi, dword [ebp + 8]
mov ebx, eax
pop ecx
inc esi
jmp 0x100cda84
push str.too_many_arguments
lea edx, [ebx + 0x14]
call fcn.10099ed4
mov esi, dword [ebp + 8]
xor eax, eax
inc eax
mov dword [esp + 0x18], esi
pop ecx
mov dword [esp + 0xc], eax
dec ebx
test eax, eax
je 0x100cda80
mov edx, esi
mov ecx, edi
call fcn.100987cf
mov edx, esi
mov ecx, edi
cmp eax, 3
jne 0x100cd9c9
call fcn.1009a02e
mov esi, eax
test esi, esi
jne 0x100cd97c
push dword [esp + 0x10]
call fcn.100ebb28
pop ecx
push dword [esp + 0x10]
mov esi, eax
push esi
call fcn.100ec25b
push 0
xor edx, edx
mov ecx, edi
call fcn.10098a57
xor eax, eax
add esp, 0xc
cmp esi, 0xffffffff
setne al
mov esi, dword [esp + 0x14]
jmp 0x100cda6f
and dword [esp + 0x20], 0
lea eax, [esp + 0x28]
mov edx, esi
mov dword [esp + 0x24], edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0x1000
call fcn.1009a07f
push dword [esp + 0x10]
push esi
push 1
push eax
call fcn.100eb781
add esp, 0x10
lea ecx, [esp + 0x18]
mov esi, eax
add dword [esp + 0x20], esi
call fcn.1009a140
xor eax, eax
cmp eax, esi
sbb eax, eax
neg eax
jmp 0x100cd973
push 0
call fcn.10099f54
pop ecx
mov cl, byte [eax]
cmp cl, 0x2a
jne 0x100cd9db
mov cl, byte [eax + 1]
movsx eax, cl
sub eax, 0x4c
je 0x100cda61
sub eax, 0x15
je 0x100cda08
sub eax, 0xb
je 0x100cda04
dec eax
mov ecx, edi
sub eax, 1
jne 0x100cdad2
mov edx, dword [esp + 0x10]
call fcn.100cd627
jmp 0x100cda6f
push 1
jmp 0x100cda63
and dword [esp + 0x20], 0
lea eax, [esp + 0x28]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0x1000
mov edx, 0x1000
lea ecx, [esp + 0x18]
call fcn.1009a07f
push esi
push 0x1000
push 1
push eax
call fcn.100eb781
add dword [esp + 0x30], eax
add esp, 0x10
cmp eax, 0x1000
je 0x100cda25
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x18]
call fcn.1009a140
xor eax, eax
inc eax
jmp 0x100cda6f
push 0
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.100cd791
pop ecx
inc esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], esi
test ebx, ebx
jne 0x100cd91d
mov ebx, dword [esp + 0xc]
push dword [esp + 0x10]
call fcn.100ecd52
pop ecx
test eax, eax
je 0x100cdaa0
push 0
xor edx, edx
mov ecx, edi
call fcn.10099c6c
pop ecx
jmp 0x100cdabd
test ebx, ebx
jne 0x100cdab8
push 0xfffffffffffffffe
pop edx
mov ecx, edi
call fcn.100986d6
mov eax, dword [edi + 8]
and dword [eax + 8], ebx
add dword [edi + 8], 0x10
sub esi, dword [ebp + 8]
mov eax, esi
mov ecx, dword [esp + 0x102c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100e04a9
mov esp, ebp
pop ebp
ret
push str.invalid_format
mov edx, esi
call fcn.10099aa1
int3
Function at 0x100cdc28
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ecx + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ecx + 8]
sub esi, dword [eax]
push edi
sub esi, 0x10
mov dword [esp + 0x10], edx
xor edi, edi
sar esi, 4
inc edi
mov dword [esp + 0xc], ecx
sub esi, ebx
jne 0x100cdc62
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
mov edx, ebx
dec esi
call fcn.100987cf
mov ecx, dword [esp + 0xc]
mov edx, ebx
cmp eax, 3
jne 0x100cdcd5
call fcn.1009857b
mov ecx, dword [esp + 0xc]
mov edx, ebx
push 0
cmp dword [eax + 8], 0x13
jne 0x100cdc97
call fcn.100988c1
pop ecx
push edx
push eax
push str._lld
jmp 0x100cdca7
call fcn.10098880
push ecx
movsd qword [esp], xmm0
push str._.14g
push dword [esp + 0x1c]
call fcn.100292cf
add esp, 0x10
test edi, edi
je 0x100cdcbb
test eax, eax
jg 0x100cdcfd
xor edi, edi
inc ebx
test esi, esi
jne 0x100cdc5e
test edi, edi
jne 0x100cdc54
mov ecx, dword [esp + 0xc]
xor edx, edx
push edi
call fcn.10099c6c
pop ecx
jmp 0x100cdc57
lea eax, [esp + 0x14]
push eax
call fcn.10099f54
pop ecx
test edi, edi
je 0x100cdcbb
push dword [esp + 0x10]
push dword [esp + 0x18]
push 1
push eax
call fcn.100ebefd
add esp, 0x10
cmp eax, dword [esp + 0x14]
jne 0x100cdcbb
xor edi, edi
inc edi
jmp 0x100cdcbd
Function at 0x100d3943
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x100d394e
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.100d3954
Function at 0x100d3d38
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
xor ecx, ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, ecx
lea eax, [edx + esi]
cmp edx, eax
cmova esi, ebx
test esi, esi
je 0x100d3d6e
movzx eax, byte [edx]
add eax, ecx
imul ecx, eax, 0x401
mov eax, ecx
shr eax, 6
xor ecx, eax
inc edx
inc edi
cmp edi, esi
jb 0x100d3d56
imul ecx, ecx, 9
pop edi
pop esi
pop ebx
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
add eax, dword [ebp + 0x10]
pop ebp
ret 0xc

Function at 0x100d3d88
Capabilities:
Enumerate threads

Disassembly:
push 0x310
mov eax, 0x101abe69
call fcn.101751dc
mov edi, dword [ebp + 8]
mov dword [ebp - 0x318], edi
push dword [edi + 0x14]
push dword [edi + 0x10]
push dword [edi + 0xc]
call fcn.100d3d38
mov dword [ebp - 0x31c], eax
push dword [edi + 0x18]
push eax
call fcn.100d46e5
cmp eax, dword [edi + 0x1c]
je 0x100d3ece
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x3c], 0x1c
lea ecx, [ebp - 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Thread32First]
xor ebx, ebx
mov esi, dword [ebp - 0x30c]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x30], eax
jne 0x100d3e9f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x34], eax
je 0x100d3e9f
push dword [ebp - 0x34]
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov dword [ebp - 0x308], 0x1003f
lea eax, [ebp - 0x308]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 4], ebx
mov esi, dword [ebp - 0x244]
mov eax, ebx
mov dword [ebp - 0x310], eax
cmp eax, 0x64
jge 0x100d3e66
mov dword [esi + eax*4], ebx
inc eax
jmp 0x100d3e55
mov edx, ebx
mov dword [ebp - 0x314], edx
cmp edx, 0x64
jge 0x100d3e81
mov eax, edx
shl eax, 2
mov ecx, esi
sub ecx, eax
mov dword [ecx], ebx
inc edx
jmp 0x100d3e68
or dword [ebp - 4], 0xffffffff
jmp 0x100d3e99
mov esi, dword [ebp - 0x30c]
lea eax, [ebp - 0x3c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x100d3df5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20]
mov byte [ebp + ebx - 0x20], 0xcc
mov byte [eax], 0xcc
inc ebx
dec eax
cmp ebx, 0x3e8
jl 0x100d3ebc
mov eax, dword [edi + 0x20]
xor eax, dword [ebp - 0x31c]
call fcn.10175129
ret 4
Function at 0x100d4532
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
mov eax, ecx
mov dword [ebp - 0x10], eax
cmp dword [eax + 4], 0
jbe 0x100d46e3
push ebx
xor ecx, ecx
push esi
mov dword [ebp - 0xc], ecx
push edi
mov eax, dword [eax]
add eax, ecx
push 0
mov dword [ebp - 4], eax
push dword [eax + 0x10]
push dword [eax + 0xc]
call fcn.100d3d38
mov ebx, eax
call fcn.100e4678
mov esi, eax
and esi, 0x800000ff
jns 0x100d4580
dec esi
or esi, 0xffffff00
inc esi
shl esi, 8
call fcn.100e4678
mov edi, eax
and edi, 0x800000ff
jns 0x100d459a
dec edi
or edi, 0xffffff00
inc edi
or edi, esi
shl edi, 8
call fcn.100e4678
mov esi, eax
and esi, 0x800000ff
jns 0x100d45b6
dec esi
or esi, 0xffffff00
inc esi
or esi, edi
shl esi, 8
call fcn.100e4678
and eax, 0x800000ff
jns 0x100d45ce
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [ebp - 4]
or eax, esi
xor dword [ecx + 4], eax
mov dword [ecx + 0x20], eax
mov eax, dword [ecx + 4]
sub eax, ebx
mov dword [ecx + 0x14], eax
call fcn.100e4678
mov esi, eax
and esi, 0x800000ff
jns 0x100d45f8
dec esi
or esi, 0xffffff00
inc esi
shl esi, 8
call fcn.100e4678
mov edi, eax
and edi, 0x800000ff
jns 0x100d4612
dec edi
or edi, 0xffffff00
inc edi
or edi, esi
shl edi, 8
call fcn.100e4678
mov esi, eax
and esi, 0x800000ff
jns 0x100d462e
dec esi
or esi, 0xffffff00
inc esi
or esi, edi
shl esi, 8
call fcn.100e4678
and eax, 0x800000ff
jns 0x100d4646
dec eax
or eax, 0xffffff00
inc eax
mov ebx, dword [ebp - 4]
or eax, esi
push eax
push dword [ebx + 4]
mov dword [ebx + 0x18], eax
call fcn.100d46e5
mov dword [ebx + 0x1c], eax
call fcn.100e4678
mov esi, eax
and esi, 0x800000ff
jns 0x100d4671
dec esi
or esi, 0xffffff00
inc esi
shl esi, 8
call fcn.100e4678
mov edi, eax
and edi, 0x800000ff
jns 0x100d468b
dec edi
or edi, 0xffffff00
inc edi
or edi, esi
shl edi, 8
call fcn.100e4678
mov esi, eax
and esi, 0x800000ff
jns 0x100d46a7
dec esi
or esi, 0xffffff00
inc esi
or esi, edi
shl esi, 8
call fcn.100e4678
and eax, 0x800000ff
jns 0x100d46bf
dec eax
or eax, 0xffffff00
inc eax
mov edx, dword [ebp - 8]
or eax, esi
mov ecx, dword [ebp - 0xc]
inc edx
mov dword [ebx + 4], eax
add ecx, 0x24
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
cmp edx, dword [eax + 4]
jb 0x100d4553
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100e083b
Capabilities:
Terminate process

Disassembly:
call fcn.102df02c
xchg esi, eax
push ebp
mov ebx, 0x404be7e0
cmp ebx, dword [ebx - 0x591e3fd4]
je 0x100e08b0
push ecx
mov ebp, 0x3773298c
pop ebp
mov dword es:[0x5b3025fc], eax
pop ebp
dec esi
mov dword [0x102a4d7c], ebx
mov dword [0x102a4d78], esi
mov dword [0x102a4d74], edi
mov word [0x102a4da0], ss
mov word [0x102a4d94], cs
mov word [0x102a4d70], ds
mov word [0x102a4d6c], es
mov word [0x102a4d68], fs
mov word [0x102a4d64], gs
pushfd
pop dword [0x102a4d98]
mov eax, dword [ebp]
mov dword [0x102a4d8c], eax
mov eax, dword [ebp + 4]
mov dword [0x102a4d90], eax
lea eax, [ebp + 8]
mov dword [0x102a4d9c], eax
mov eax, dword [ebp - 0x324]
mov dword [0x102a4cd8], 0x10001
mov eax, dword [0x102a4d90]
mov dword [0x102a4c94], eax
mov dword [0x102a4c88], 0xc0000409
mov dword [0x102a4c8c], 1
mov dword [0x102a4c98], 1
push 4
pop eax
imul eax, eax, 0
mov dword [eax + 0x102a4c9c], 2
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [0x1026e004]
mov dword [ebp + eax - 8], ecx
push 4
pop eax
shl eax, 0
mov ecx, dword [section..data]
mov dword [ebp + eax - 8], ecx
push 0x101ad6a4
call fcn.100e085e
leave
ret

Function at 0x100f4b13
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100f47d3

Function at 0x100fa306
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100fa185
Function at 0x10105640
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 4], ebx
xor esi, esi
mov dword [ebp - 8], eax
test edi, edi
je 0x10105847
mov edx, dword [ebp + 0x14]
xor ecx, ecx
cmp esi, edi
jae 0x1010567e
nop dword [eax]
cmp byte [esi + edx], 0x20
jne 0x1010567c
inc esi
inc ecx
cmp esi, edi
jb 0x10105670
cmp esi, edi
je 0x10105710
mov eax, edi
sub eax, esi
cmp eax, 2
jb 0x1010569a
cmp byte [esi + edx], 0xd
jne 0x1010569a
cmp byte [esi + edx + 1], 0xa
je 0x10105704
mov bl, byte [esi + edx]
cmp bl, 0xa
je 0x10105701
test ecx, ecx
jne 0x10105809
cmp bl, 0x3d
jne 0x101056bf
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, 2
ja 0x10105809
movzx eax, bl
push eax
push 0x80
push 0x101b4530
call fcn.10105a40
add esp, 0xc
cmp bl, 0x7f
ja 0x10105809
cmp al, 0x7f
je 0x10105809
mov ebx, dword [ebp - 4]
cmp al, 0x40
jae 0x101056f5
test ebx, ebx
jne 0x10105809
mov eax, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
inc eax
mov dword [ebp - 8], eax
jmp 0x10105707
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 8]
inc esi
cmp esi, edi
jb 0x10105660
test eax, eax
je 0x10105847
and eax, 7
lea eax, [eax + eax*2]
lea ecx, [eax*2 + 7]
mov eax, dword [ebp - 8]
shr eax, 3
shr ecx, 3
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*2]
sub ecx, ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x10105836
cmp dword [ebp + 0xc], ecx
jb 0x10105836
xor eax, eax
mov dword [ebp - 8], 3
mov dword [ebp - 4], 0
mov dword [ebp + 0x18], eax
test esi, esi
je 0x10105825
mov al, byte [edx]
cmp al, 0xd
je 0x10105818
cmp al, 0xa
je 0x10105818
cmp al, 0x20
je 0x10105818
movzx eax, al
push eax
push 0x80
push 0x101b4530
call fcn.10105a40
movzx edi, al
add esp, 0xc
mov eax, edi
and edi, 0x3f
xor eax, 0x40
mov ecx, eax
neg ecx
or ecx, eax
not ecx
shr ecx, 0x1f
mov edx, ecx
neg edx
or edx, ecx
mov ecx, dword [ebp - 8]
shr edx, 0x1f
neg edx
lea eax, [ecx - 1]
and eax, edx
not edx
and edx, ecx
mov ecx, dword [ebp - 4]
shl ecx, 6
or edx, eax
or ecx, edi
mov dword [ebp - 8], edx
mov edi, dword [ebp + 0x18]
inc edi
mov dword [ebp - 4], ecx
mov dword [ebp + 0x18], edi
cmp edi, 4
jne 0x10105815
xor eax, eax
mov dword [ebp + 0x18], eax
test edx, edx
je 0x101057ef
mov eax, ecx
shr eax, 0x10
mov byte [ebx], al
inc ebx
cmp edx, 1
jbe 0x101057fc
mov eax, ecx
shr eax, 8
mov byte [ebx], al
inc ebx
cmp edx, 2
mov edx, dword [ebp + 0x14]
jbe 0x10105818
mov byte [ebx], cl
inc ebx
jmp 0x10105818
pop edi
pop esi
mov eax, 0xffffffd4
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x14]
inc edx
mov dword [ebp + 0x14], edx
sub esi, 1
jne 0x10105765
mov eax, dword [ebp + 0x10]
sub ebx, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ebx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov eax, 0xffffffd6
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov dword [eax], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10105860
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0x18]
test ebx, ebx
jne 0x1010587a
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xaaaaaaab
mul ebx
xor eax, eax
shr edx, 1
push edi
lea edi, [edx + edx*2]
cmp ebx, edi
setne al
add eax, edx
cmp eax, 0x3fffffff
jbe 0x101058ab
mov eax, dword [ebp + 0x10]
pop edi
pop ebx
mov dword [eax], 0xffffffff
mov eax, 0xffffffd6
mov esp, ebp
pop ebp
ret
lea ecx, [eax*4 + 1]
cmp dword [ebp + 0xc], ecx
jb 0x10105a29
mov eax, dword [ebp + 8]
test eax, eax
je 0x10105a29
push esi
xor edx, edx
mov esi, eax
mov dword [ebp - 4], esi
test edi, edi
je 0x10105988
lea ecx, [edi - 1]
mov eax, 0xaaaaaaab
mul ecx
mov eax, edx
shr eax, 1
inc eax
mov dword [ebp - 8], eax
lea eax, [eax + eax*2]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
movzx esi, byte [eax]
movzx edi, byte [eax + 1]
movzx ebx, byte [eax + 2]
add eax, 3
mov dword [ebp - 0xc], eax
mov eax, esi
shr eax, 2
push eax
push 0x40
push 0x101b44f0
call fcn.10105a40
mov ecx, dword [ebp - 4]
shl esi, 4
mov byte [ecx], al
mov eax, edi
shr eax, 4
inc ecx
add eax, esi
mov dword [ebp - 4], ecx
and eax, 0x3f
push eax
push 0x40
push 0x101b44f0
call fcn.10105a40
mov esi, dword [ebp - 4]
mov byte [esi], al
mov eax, ebx
shr eax, 6
lea eax, [eax + edi*4]
and eax, 0x3f
push eax
push 0x40
push 0x101b44f0
call fcn.10105a40
and ebx, 0x3f
mov byte [esi + 1], al
push ebx
push 0x40
push 0x101b44f0
call fcn.10105a40
mov byte [esi + 2], al
add esp, 0x30
mov eax, dword [ebp - 0xc]
add esi, 3
sub dword [ebp - 8], 1
mov dword [ebp - 4], esi
jne 0x101058f1
mov ebx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x10]
jmp 0x1010598b
mov eax, dword [ebp + 0x14]
cmp edx, ebx
jae 0x10105a13
movzx ecx, byte [eax]
inc edx
mov dword [ebp + 0x18], ecx
mov dword [ebp - 0x10], edx
cmp edx, ebx
jae 0x101059a7
movzx edi, byte [eax + 1]
jmp 0x101059a9
xor edi, edi
mov eax, ecx
shr eax, 2
push eax
push 0x40
push 0x101b44f0
call fcn.10105a40
mov ecx, dword [ebp + 0x18]
mov byte [esi], al
mov eax, edi
shr eax, 4
shl ecx, 4
add eax, ecx
and eax, 0x3f
push eax
push 0x40
push 0x101b44f0
call fcn.10105a40
mov byte [esi + 1], al
add esp, 0x18
lea eax, [esi + 3]
mov dword [ebp + 0x18], eax
cmp dword [ebp - 0x10], ebx
jae 0x10105a09
and edi, 0xf
shl edi, 2
push edi
push 0x40
push 0x101b44f0
call fcn.10105a40
mov byte [esi + 2], al
add esp, 0xc
mov eax, dword [ebp + 0x18]
jmp 0x10105a0d
mov byte [esi + 2], 0x3d
mov byte [eax], 0x3d
lea esi, [eax + 1]
mov eax, dword [ebp + 0x10]
mov ecx, esi
sub ecx, dword [ebp + 8]
mov dword [eax], ecx
xor eax, eax
mov byte [esi], 0
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
pop edi
pop ebx
mov dword [eax], ecx
mov eax, 0xffffffd6
mov esp, ebp
pop ebp
ret