joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443d95
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00443d11
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x443f0d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x443f0d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x443ebc
jg 0x443dee
test eax, eax
je 0x443eb2
push 1
push 0x1000
call fcn.00438028
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x443e14
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x443ea9
push 0x8000
push ebx
call fcn.00431f5a
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x443e40
jg 0x443e3b
cmp ecx, 0x1000
jb 0x443e40
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00442750
add esp, 0x10
cmp eax, 0xffffffff
je 0x443e85
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x443e3b
jl 0x443e6c
test ecx, ecx
jne 0x443e2d
push dword [ebp - 0xc]
push ebx
call fcn.00431f5a
push esi
call fcn.004365aa
add esp, 0xc
xor edi, edi
jmp 0x443f1e
cmp byte [edi + 0x24], 0
je 0x443e9c
cmp dword [edi + 0x20], 5
jne 0x443e9c
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x443ea7
mov edi, dword [edi + 0x18]
jmp 0x443ea9
xor edi, edi
push esi
call fcn.004365aa
pop ecx
jmp 0x443f1e
test ecx, ecx
jg 0x443e7e
jl 0x443ebc
test eax, eax
jae 0x443e7e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00444986
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x443edf
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x443e7e
jmp 0x443f16
push ebx
call fcn.0043c7df
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x443e7e
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x443f1e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x443f1b
mov edi, dword [edi + 0x18]
jmp 0x443f1e
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00444986
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x443f38
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x45f308]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x443f78
cmp byte [ebx], 0xa
jne 0x443f78
or byte [eax + edi + 0x28], 4
jmp 0x443f7d
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x44407b
mov al, byte [edx]
cmp al, 0x1a
je 0x44405d
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x443fac
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x443fd1
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x443fdb
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x443f8e
jmp 0x44407b
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x444058
cmp dword [ebp - 0xc], 0
je 0x444058
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x45f308]
test byte [eax + edi + 0x28], 0x48
je 0x444032
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x44401d
mov byte [esi], dl
jmp 0x44402e
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x45f308]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x44407b
cmp byte [ebp - 1], 0xa
jne 0x444041
cmp esi, ebx
jne 0x444041
mov byte [esi], 0xa
jmp 0x44407a
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00444986
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x44407b
mov byte [esi], 0xd
jmp 0x44407a
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x45f308]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x444077
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x44407b
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x444084
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x45f308]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4440c7
cmp word [esi], dx
jne 0x4440c7
or byte [edi + eax + 0x28], 4
jmp 0x4440cc
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x44421f
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4441ff
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x44410e
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x444144
cmp eax, edx
jae 0x444150
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4440e6
jmp 0x44421f
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4441fb
cmp dword [ebp - 0x14], 0
je 0x4441fb
mov eax, dword [ebx*4 + 0x45f308]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4441d3
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x44419c
mov word [esi], cx
jmp 0x4441cf
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x45f308]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x45f308]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x45f308]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x44421f
pop ebx
cmp word [ebp - 4], bx
jne 0x4441e4
cmp esi, dword [ebp + 0xc]
jne 0x4441e4
mov word [esi], bx
jmp 0x44421c
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00444986
add esp, 0x10
cmp word [ebp - 4], bx
je 0x44421f
push 0xd
jmp 0x444218
mov ecx, dword [ebx*4 + 0x45f308]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x444216
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x44421f
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4455a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4455cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4455cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10001570
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10026aad
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x10033040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movaps xmm0, xmmword [0x10030030]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x4d577b5d
mov dword [ebp - 0x2c], 0x4a5d4c56
mov byte [ebp - 0x28], 0
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x17
jb 0x100015c8
mov byte [ebp - 0x28], 0
mov dl, 0x6d
mov dword [ebp - 0x20], 0x1f08066d
xor ecx, ecx
mov dword [ebp - 0x1c], 0x5e010803
mov dword [ebp - 0x18], 0x109435f
mov word [ebp - 0x14], 1
lea eax, [ebp - 0x1f]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xc
jae 0x10001609
mov dl, byte [ebp - 0x20]
jmp 0x100015f8
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x13], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x3f]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.10009200
cmp al, 0xe9
jne 0x100016c5
movaps xmm0, xmmword [0x10030070]
xor ecx, ecx
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x76
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x10
jb 0x10001644
xorps xmm0, xmm0
mov byte [ebp - 0x13], 0
lea ecx, [ebp - 0x23]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001670
sub ecx, edx
lea eax, [ebp - 0x23]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10002460
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.100092b0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x100016c5
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100016bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100016d7
push ecx
push edx
call fcn.1000dda6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10012c1f
int3
Function at 0x100016e0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10026add
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x10033040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dl, 0x19
mov dword [ebp - 0x20], 0x74706d19
mov dword [ebp - 0x1c], 0x6d7c5e7c
xor ecx, ecx
mov dword [ebp - 0x18], 0x7c74704d
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x1f]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xb
jae 0x10001747
mov dl, byte [ebp - 0x20]
jmp 0x10001736
mov byte [ebp - 0x14], 0
mov dl, 9
mov dword [ebp - 0x38], 0x7b6c6209
xor ecx, ecx
mov dword [ebp - 0x34], 0x3a656c67
mov dword [ebp - 0x30], 0x656d273b
mov word [ebp - 0x2c], 0x65
nop word [eax + eax]
lea eax, [ebp - 0x37]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xc
jae 0x10001781
mov dl, byte [ebp - 0x38]
jmp 0x10001770
lea eax, [ebp - 0x37]
mov byte [ebp - 0x2b], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x1f]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.10009200
cmp al, 0xe9
jne 0x10001845
movaps xmm0, xmmword [0x1002ff60]
xor ecx, ecx
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x2c], 7
nop dword [eax]
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x10
jb 0x100017c0
xorps xmm0, xmm0
mov byte [ebp - 0x2b], 0
lea ecx, [ebp - 0x3b]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100017f0
sub ecx, edx
lea eax, [ebp - 0x3b]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10002460
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.100092b0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10001845
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000183b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001857
push ecx
push edx
call fcn.1000dda6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10012c1f
int3
Function at 0x10001860
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10026b0d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x10033040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dl, 0x43
mov dword [ebp - 0x34], 0x37260443
mov dword [ebp - 0x30], 0x28202a17
xor ecx, ecx
mov dword [ebp - 0x2c], 0x2d362c00
mov word [ebp - 0x28], 0x37
lea eax, [ebp - 0x33]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xc
jae 0x100018c9
mov dl, byte [ebp - 0x34]
jmp 0x100018b8
mov byte [ebp - 0x27], 0
mov dl, 0x45
mov dword [ebp - 0x24], 0x37202e45
xor ecx, ecx
mov dword [ebp - 0x20], 0x7629202b
mov dword [ebp - 0x1c], 0x29216b77
mov word [ebp - 0x18], 0x29
nop dword [eax]
lea eax, [ebp - 0x23]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xc
jae 0x10001901
mov dl, byte [ebp - 0x24]
jmp 0x100018f0
lea eax, [ebp - 0x23]
mov byte [ebp - 0x17], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x33]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.10009200
cmp al, 0xe9
jne 0x100019f8
mov byte [ebp - 0x24], 0x40
mov cl, 0x29
xor cl, byte [ebp - 0x24]
mov al, 0x14
xor al, byte [ebp - 0x24]
mov ch, 3
mov byte [ebp - 0x23], al
mov dl, 0x23
mov byte [ebp - 0x22], cl
mov dh, 0x2f
mov cl, byte [ebp - 0x24]
mov ah, 0x2b
mov byte [ebp - 0x11], 0x35
xor dl, cl
mov al, byte [ebp - 0x11]
xor ch, cl
xor al, cl
mov byte [ebp - 0x12], 0x2e
mov byte [ebp - 0x1d], al
xor dh, cl
mov al, byte [ebp - 0x12]
xor ah, cl
xor al, cl
mov byte [ebp - 0x13], 0x34
mov byte [ebp - 0x1c], al
xorps xmm0, xmm0
mov al, byte [ebp - 0x13]
xor al, cl
mov byte [ebp - 0x1f], ch
lea ecx, [ebp - 0x23]
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x21], dl
mov byte [ebp - 0x1e], dh
lea edx, [ecx + 1]
mov byte [ebp - 0x20], ah
mov byte [ebp - 0x1b], al
mov byte [ebp - 0x1a], 0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100019a3
sub ecx, edx
lea eax, [ebp - 0x23]
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.10002460
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.100092b0
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x100019f8
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100019ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001a0a
push ecx
push edx
call fcn.1000dda6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10012c1f
int3

Function at 0x10001ce0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
ret
Function at 0x10001cf0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100312f0
push 0x1000f260
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc0
mov eax, dword [0x10033040]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x50], 0
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x40
push 0x3000
mov edx, dword [ebp - 0x44]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10001d85
xor al, al
jmp 0x10001e0e
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov byte [ecx], 0xc3
lea edx, [ebp - 0x20]
push edx
push 0x140
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10001db0
xor al, al
jmp 0x10001e0e
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x10001dfb
jmp eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1000dd45
mov esp, ebp
pop ebp
ret
Function at 0x100025f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10026bd0
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x10033040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xb0], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x98
mov ebx, eax
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.1000fb90
add esp, 8
lea ecx, [ebp - 0xa8]
call fcn.10007430
mov dword [ebp - 4], 0
xor eax, eax
movaps xmm0, xmmword [0x1002ffd0]
movups xmmword [ebp - 0xc4], xmm0
mov dword [ebp - 0xb4], 0x1e6531
nop word [eax + eax]
mov cl, byte [ebp - 0xc4]
xor byte [ebp + eax - 0xc3], cl
inc eax
cmp eax, 0x12
jb 0x10002680
lea edx, [ebp - 0xc3]
mov byte [ebp - 0xb1], 0
lea ecx, [ebp - 0xa8]
call fcn.10005450
mov esi, eax
push 0
push 8
mov eax, dword [esi]
mov eax, dword [eax + 4]
or dword [eax + esi + 0x14], 4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0x14]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx + esi + 0x14], eax
lea eax, [ebp - 0xd8]
push eax
call fcn.1000a8cc
add esp, 0xc
mov ecx, dword [eax]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
push eax
call ecx
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
mov eax, dword [eax + 4]
push ebx
mov byte [eax + esi + 0x40], 0x30
call fcn.10002bf0
mov ecx, eax
mov byte [ebp - 0xaa], 0
mov dl, 0x43
mov byte [ebp - 0xaa], 0
mov al, 0x1e
mov byte [ebp - 0xac], dl
xor al, dl
lea edx, [ebp - 0xab]
mov byte [ebp - 0xab], al
call fcn.10005450
push edi
lea ecx, [ebp - 0xa8]
call fcn.10005050
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xa8], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xac], eax
lea ecx, [ebp - 0xa4]
call fcn.10007360
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xa8], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax + 4]
lea ecx, [edx - 8]
mov dword [ebp + edx - 0xac], ecx
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.1000a4c0
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000dd45
mov esp, ebp
pop ebp
ret
Function at 0x10008e30
Capabilities:
Encode data using xor
Encrypt data using rc4 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movaps xmm0, xmmword [0x1002ffb0]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
push esi
movaps xmm0, xmmword [0x1002ffa0]
movups xmmword [ebp - 0x24], xmm0
push edi
movaps xmm0, xmmword [0x1002ff40]
movups xmmword [ebp - 0x14], xmm0
nop dword [eax + eax]
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x2e
jb 0x10008e60
push 0
push 1
lea eax, [ebp - 0x33]
mov byte [ebp - 5], 0
push eax
push 0
push 0x10036760
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x10008f4c
push 0x1003675c
push 0
push 0
push 0x8004
push dword [0x10036760]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10008f4c
movaps xmm0, xmmword [0x10030000]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x237b2d2a
movaps xmm0, xmmword [0x10030090]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x297f390b
movaps xmm0, xmmword [0x10030050]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x6a3b311e
mov word [ebp - 4], 0x36
nop
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x10008ef0
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], 0
push eax
push dword [0x1003675c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10008f4c
push 0x10036758
push 0x800000
push dword [0x1003675c]
push 0x6801
push dword [0x10036760]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x10008f4c
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x10036754], eax
call fcn.1000c990
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.1000ce60
push 0x100088a0
push 0x10036764
call fcn.1000c6a0
call fcn.1000c9f0
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push 0x8f5430
call edi
test eax, eax
jne 0x10008fbc
mov dword [0x10036764], 0x8f5430
call fcn.1000c990
call esi
push eax
call fcn.1000ce60
push 0x100088a0
push 0x10036764
call fcn.1000c210
call fcn.1000c9f0
call fcn.1000c990
call esi
push eax
call fcn.1000ce60
push 0x10008c80
push 0x10036750
call fcn.1000c6a0
call fcn.1000c9f0
push 4
push 0x450890
call edi
test eax, eax
jne 0x10009015
mov dword [0x10036750], 0x450890
call fcn.1000c990
call esi
push eax
call fcn.1000ce60
push 0x10008c80
push 0x10036750
call fcn.1000c210
call fcn.1000c9f0
call fcn.1000c990
call esi
push eax
call fcn.1000ce60
push 0x10008d20
push 0x1003674c
call fcn.1000c6a0
call fcn.1000c9f0
push 4
push 0x4504c0
call edi
test eax, eax
jne 0x1000906e
mov dword [0x1003674c], 0x4504c0
call fcn.1000c990
call esi
push eax
call fcn.1000ce60
push 0x10008d20
push 0x1003674c
call fcn.1000c210
call fcn.1000c9f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret