joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1012c192
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]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1012c10e
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1012c301
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1012c301
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1012c2b6
jg 0x1012c1ee
test eax, eax
je 0x1012c2ac
push 1
push 0x1000
call fcn.10127e34
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1012c211
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1012c2a3
push 0x8000
push ebx
call fcn.1012bc0b
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1012c23a
jg 0x1012c235
cmp ecx, 0x1000
jb 0x1012c23a
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10119ed7
add esp, 0x10
cmp eax, 0xffffffff
je 0x1012c27f
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 0x1012c235
jl 0x1012c266
test ecx, ecx
jne 0x1012c227
push dword [ebp - 0xc]
push ebx
call fcn.1012bc0b
push esi
call fcn.10126c5a
add esp, 0xc
xor ebx, ebx
jmp 0x1012c30f
cmp byte [edi + 0x24], 0
je 0x1012c296
cmp dword [edi + 0x20], 5
jne 0x1012c296
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1012c2a1
mov ebx, dword [edi + 0x18]
jmp 0x1012c2a3
xor ebx, ebx
push esi
call fcn.10126c5a
pop ecx
jmp 0x1012c30f
test ecx, ecx
jg 0x1012c278
jl 0x1012c2b6
test eax, eax
jae 0x1012c278
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1011958f
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1012c2d6
cmp byte [edi + 0x1c], 0
je 0x1012c278
jmp 0x1012c307
push ebx
call fcn.1012c0a4
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1012c278
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1012c30f
cmp byte [edi + 0x1c], 0
je 0x1012c30c
mov ebx, dword [edi + 0x18]
jmp 0x1012c30f
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1011958f
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1012c329
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
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 + 0x10192080]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1012c369
cmp byte [ebx], 0xa
jne 0x1012c369
or byte [edi + eax + 0x28], 4
jmp 0x1012c36e
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x1012c46d
mov dl, byte [eax]
cmp dl, 0x1a
je 0x1012c450
inc eax
cmp dl, 0xd
je 0x1012c39a
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x1012c3c0
cmp eax, ecx
jae 0x1012c3ce
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x1012c382
jmp 0x1012c46d
push 0
lea eax, [ebp - 0x10]
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 0x1012c44b
cmp dword [ebp - 0x10], 0
je 0x1012c44b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x10192080]
test byte [eax + edi + 0x28], 0x48
je 0x1012c425
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x1012c410
mov byte [esi], dl
jmp 0x1012c421
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10192080]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1012c46d
cmp byte [ebp - 1], 0xa
jne 0x1012c434
cmp esi, ebx
jne 0x1012c434
mov byte [esi], 0xa
jmp 0x1012c46c
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1011958f
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1012c46d
mov byte [esi], 0xd
jmp 0x1012c46c
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x10192080]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1012c46a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1012c46d
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1012c476
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x10192080]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1012c4bc
cmp word [ebx], dx
jne 0x1012c4bc
or byte [eax + edi + 0x28], 4
jmp 0x1012c4c1
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x1012c624
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x1012c604
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x1012c502
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1012c538
cmp eax, edx
jae 0x1012c546
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
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 - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x1012c4dd
jmp 0x1012c624
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1012c5ff
cmp dword [ebp - 0x18], 0
je 0x1012c5ff
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x10192080]
test byte [eax + edi + 0x28], 0x48
je 0x1012c5d5
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x1012c599
mov word [esi], cx
jmp 0x1012c5d0
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x10192080]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x10192080]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x10192080]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x1012c624
pop eax
cmp word [ebp - 4], ax
jne 0x1012c5e5
cmp esi, ebx
jne 0x1012c5e5
mov word [esi], ax
jmp 0x1012c621
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1011958f
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x1012c624
push 0xd
pop eax
jmp 0x1012c5e0
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x10192080]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x1012c61e
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x1012c624
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10130418
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x101304b5
push ebx
push esi
call fcn.101303e1
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1012b0f1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10130462
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x101304b4
push edi
push eax
call fcn.10126c94
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10130482
call fcn.10126c5a
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x101304b3
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1012b0f1
add esp, 0x20
test eax, eax
jne 0x101304a1
push edi
call fcn.10126c5a
jmp 0x101304a9
push ebx
call fcn.10126c5a
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x101304b8
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x101304c9
pop esi
ret
push ebx
push edi
push esi
call fcn.101303e1
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.10126c94
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x101304f1
push ebx
push esi
push edi
call fcn.10109200
add esp, 0xc
push 0
call fcn.10126c5a
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x101308c1
Capabilities:
Set environment variable

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

Function at 0x10133205
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.101252aa
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10133274
cmp esi, dword [ebp - 4]
je 0x1013326f
cmp dword [ebp + 0xc], 0
je 0x1013326f
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1013324c
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.10132d57
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x10133276
xor eax, eax
inc eax
jmp 0x10133276
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x101332db
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10187468]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.101252aa
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.101252aa
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x10133352
cmp word [ecx], dx
je 0x10133352
mov eax, dword [0x1016afd4]
push edi
dec eax
push eax
push 0x1016aec0
call fcn.1013327a
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x101333c5
cmp word [eax], dx
je 0x101333c5
mov eax, dword [edi]
test eax, eax
je 0x10133376
cmp word [eax], dx
je 0x10133376
lea eax, [ebp - 0x10]
push eax
call fcn.10132c5d
jmp 0x1013337f
lea eax, [ebp - 0x10]
push eax
call fcn.10132cf8
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x101333ef
mov eax, dword [0x1016aebc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x1016abb0
call fcn.1013327a
add esp, 0xc
test al, al
je 0x101333ef
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x101333ba
cmp word [eax], di
je 0x101333ba
lea eax, [ebp - 0x10]
push eax
call fcn.10132c5d
pop ecx
jmp 0x101333f1
lea eax, [ebp - 0x10]
push eax
call fcn.10132cf8
jmp 0x101333b7
mov eax, dword [edi]
test eax, eax
je 0x101333dc
cmp word [eax], dx
je 0x101333dc
lea eax, [ebp - 0x10]
push eax
call fcn.10132c12
pop ecx
jmp 0x101333ef
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x101334ba
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.101330ff
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x101334ba
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x101334ba
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x101334ba
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10133447
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10128859
test ebx, ebx
je 0x101334b5
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10128859
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x101334ba
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x101334ba
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.10121d22
add esp, 0x10
xor eax, eax
inc eax
jmp 0x101334bc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c55ab
leave
ret
Function at 0x8715a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
je 0x87180d
jne 0x87180d
je 0x8711e6
jne 0x8712ed
add byte [eax], al
add byte [eax], al
Function at 0x873620
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x23c
mov edi, dword [ebp + 0xc]
je 0x8737a8
jne 0x8737a8
Function at 0x874860
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
je 0x8748b6
jne 0x8748b6
jmp 0x3ef383b2
inc ebp
cmp ebp, dword [esi + edi + 0x18]
jb 0x8748d7
xor eax, eax
jmp 0x874890
mov eax, dword [esp]
je 0x87487c
jne 0x87487c
jmp 0x6893ff8f
movzx ecx, word [eax + ebp*2]
xor eax, eax
cmp dword [esi + edi + 0x14], ecx
jb 0x874890
mov eax, dword [esi + edi + 0x1c]
je 0x8748f9
jne 0x8748f9
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + edi + 0x24]
mov ebx, dword [esi + edi + 0x20]
xor ebp, ebp
je 0x87491b
jne 0x87491b
je 0x8724da
jne 0x87140a
push eax
mov edx, dword [esp + 0x1c]
xor eax, eax
mov ecx, dword [edx]
cmp dword [ecx + 0x7c], 0
je 0x874890
je 0x874938
jne 0x874938
je 0x87369f
jne 0x872cb7
je 0x2324d66
mov eax, dword [ebx + ebp*4]
add eax, esi
push eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x20]
call dword [eax + 0x24]
je 0x874907
invalid
jne 0x874907
je 0x87268a
jne 0x872922
jmp 0x415558a
lea ecx, [esi + ecx*4]
add esi, dword [eax + ecx]
mov eax, esi
je 0x874890
jne 0x874890
je 0x84970990
test eax, eax
je 0x874874
invalid
je 0x874869
jne 0x874869
add eax, esi
add ebx, esi
mov dword [esp], eax
nop word cs:[eax + eax]
nop dword [eax]
je 0x8748d7
jne 0x8748d7
add byte [eax], al
add byte [eax], al
mov esi, dword [edx + 4]
mov edi, dword [ecx + 0x78]
cmp dword [edi + esi + 0x18], 0
je 0x874890
cmp dword [esi + edi + 0x14], 0
je 0x874890
je 0x87489c
jne 0x87489c
push ebp
push ebx
je 0x874a05
jne 0x874a05
je 0x8f8a3b
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
mov ebx, ecx
push dword [esp + 0x20]
push dword [esp + 0x20]
push eax
je 0x8749d8
add byte [eax], al
add bh, al
inc eax
adc byte [eax], al
add byte [eax], al
add byte [ecx + 0x2474ffcb], cl
and bh, bh
je 0x8749ab
and byte [eax + 0x74], dl
dec ebp
jne 0x8749d8
je 0x8713d2
jne 0x87363b
add byte [eax], al
add byte [eax], al
test edi, edi
je 0x8749fb
push 0x8000
push 0
push edi
call dword [ebx + 0xc]
je 0x8749fb
or al, 0x74
dec ebp
jne 0x8749fb
jmp 0x81c3a740
mov ebx, dword [ebp + 0x3c]
cmp dword [ebp + ebx], 0x4550
jne 0x8749fb
mov edi, dword [esp + 0x14]
add ebx, ebp
push 4
je 0x8749ca
jne 0x8749ca
push 0x3000
push 0x14
push 0
je 0x874a1c
jne 0x874a1c
jmp 0xecca322d
push ecx
call fcn.00873620
add esp, 0x10
test eax, eax
je 0x8749f0
mov esi, edi
mov dword [edi + 0x10], 1
jmp 0x8749fb
je 0x87499d
jne 0x87499d
pop ebx
pop ebp
ret
mov eax, esi
pop esi
pop edi
je 0x8749f4
jne 0x8749f4
je 0x6d12a060
push edi
push esi
mov ebp, dword [esp + 0x18]
and al, 0x18
xor esi, esi
movzx eax, word [ebp]
cmp eax, 0x5a4d
jne 0x8749fb
je 0x8749b1
jne 0x8749b1
call dword [edi]
mov ecx, edi
mov dword [eax + 4], ebp
mov dword [eax], ebx
mov edi, eax
mov dword [eax + 0xc], 0
je 0x874970
jne 0x874970
nop word [eax + eax]
ret
Function at 0x877f80
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, 0x1400
call fcn.008b4b40
mov eax, dword [esp + 0x1418]
movdqa xmm4, xmmword [0x8ba290]
movdqa xmm6, xmmword [0x8ba2a0]
mov esi, 0xfffffc00
pxor xmm2, xmm2
nop
movdqa xmm3, xmm4
movdqa xmm7, xmmword [0x8ba2c0]
movdqa xmm0, xmm4
movdqa xmm1, xmm4
movdqa xmm5, xmm4
pand xmm3, xmm6
psrld xmm0, 6
pand xmm1, xmmword [0x8ba320]
pcmpeqd xmm3, xmm2
pand xmm3, xmmword [0x8ba2b0]
pcmpeqd xmm1, xmm2
pand xmm1, xmmword [0x8ba330]
pxor xmm0, xmm3
movdqa xmm3, xmm4
pand xmm3, xmm7
movdqa xmm7, xmmword [0x8ba2e0]
pcmpeqd xmm3, xmm2
pand xmm3, xmmword [0x8ba2d0]
pand xmm5, xmm7
movdqa xmm7, xmmword [0x8ba350]
pcmpeqd xmm5, xmm2
pand xmm5, xmmword [0x8ba2f0]
pxor xmm3, xmm0
pand xmm0, xmm6
pcmpeqd xmm0, xmm2
pxor xmm1, xmm5
movdqa xmm5, xmm4
pand xmm5, xmmword [0x8ba340]
pcmpeqd xmm5, xmm2
pand xmm5, xmm7
pxor xmm5, xmm1
movdqa xmm1, xmm4
paddd xmm4, xmmword [0x8ba2e0]
pand xmm1, xmmword [str._b_b_b_b]
pxor xmm5, xmm3
pand xmm3, xmmword [0x8ba2c0]
pcmpeqd xmm1, xmm2
pcmpeqd xmm3, xmm2
pand xmm1, xmmword [0x8ba310]
pand xmm3, xmm7
pxor xmm5, xmm1
movdqa xmm1, xmm0
pand xmm0, xmmword [0x8ba370]
pandn xmm1, xmmword [0x8ba360]
psrld xmm5, 2
por xmm0, xmm1
pxor xmm0, xmm5
pxor xmm0, xmm3
movdqu xmmword [esp + esi + 0x400], xmm0
add esi, 0x10
jne 0x877fb0
mov esi, eax
mov eax, 0xfffffc00
shr esi, 2
nop word [eax + eax]
mov ebx, dword [esp + eax + 0x400]
movzx ecx, bl
shr ebx, 8
xor ebx, dword [esp + ecx*4]
movzx ecx, bl
shr ebx, 8
xor ebx, dword [esp + ecx*4]
movzx ecx, bl
shr ebx, 8
xor ebx, dword [esp + ecx*4]
mov dword [esp + eax + 0x800], ebx
add eax, 4
jne 0x8780d0
mov eax, dword [esp]
mov edi, dword [esp + 0x400]
xor ebp, ebp
mov ebx, eax
shr ebx, 8
nop
mov ecx, eax
xor ecx, ebp
movzx ecx, cl
mov ecx, dword [esp + ecx*4]
xor ecx, ebx
movzx edx, cl
shr ecx, 8
xor ecx, dword [esp + edx*4]
movzx edx, cl
shr ecx, 8
mov edx, dword [esp + edx*4]
xor edx, edi
xor edx, ecx
mov dword [esp + ebp*4 + 0x800], edx
inc ebp
cmp ebp, 0x100
jne 0x878110
movzx eax, al
Function at 0x879d30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
je 0x879fb2
jne 0x879fb2
jmp 0x514869b

Function at 0x87a959
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add byte [eax], al
add byte [eax], al
push 3
push 0
push 0
push 1
je 0x87a941
jne 0x87a941
je 0x780bb77e
add al, byte [eax]
add byte [edi], cl
test dword [ecx + 2], esi
add byte [eax], al
je 0x87a9a0
jne 0x87a9a0
je 0x879616
jne 0x87984d
call dword [eax + 0xc]
cmp eax, edi
jne 0x87a981
je 0x87a8d6
jne 0x87a8d6
je 0x87898d
jne 0x87aa0c
jmp 0x4297f45
jne 0x878913
je 0x87a80b
jne 0x87a80b
add byte [eax], al
add byte [eax], al

Function at 0x87adf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
je 0x87b0ab
jne 0x87b0ab
je 0x8793c2
jne 0x87a2d9
add byte [eax], al
add byte [eax], al
push ebx
push edi
push esi
je 0x87b126
jne 0x87b126
add byte [eax], al
add byte [eax], al
Function at 0x8a2fc0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push esi
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov esi, dword [edx]
mov dword [eax + 0x10], esi
mov esi, dword [edx + 4]
mov dword [eax + 0x14], esi
mov esi, dword [edx + 8]
mov dword [eax + 0x18], esi
mov esi, dword [edx + 0xc]
mov dword [eax + 0x1c], esi
lea esi, [edx + 0x10]
cmp ecx, 0x100
cmovne esi, edx
mov ecx, str.expand_32_byte_kexpand_16_byte_k
mov edx, 0x8ba690
cmove edx, ecx
mov ecx, dword [esi]
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 0x24], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 0x28], ecx
mov ecx, dword [esi + 0xc]
mov dword [eax + 0x2c], ecx
mov ecx, dword [edx]
mov esi, dword [edx + 4]
mov dword [eax], ecx
mov dword [eax + 4], esi
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
pop esi
ret

Function at 0x8a30f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x7c
mov dword [esp + 0x78], ecx
mov eax, dword [edx]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x48], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x54], eax
mov eax, dword [edx + 0x20]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x5c], eax
mov ebp, dword [edx + 0x28]
mov ebx, dword [edx + 0x2c]
mov edi, dword [edx + 0x30]
mov esi, dword [edx + 0x34]
mov ecx, dword [edx + 0x38]
mov eax, dword [edx + 0x3c]
mov dword [esp + 0x2c], 0xfffffff8
mov dword [esp + 0x74], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x68], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov ebp, dword [esp + 0x54]