joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10031200
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100315f0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x1003f48c], 0
jne 0x1003123d
cmp dword [0x1003f488], 0
je 0x1003123d
mov eax, dword [0x1003f488]
mov dword [0x1003f48c], eax
cmp dword [0x1003f48c], 0
je 0x100312ba
mov ecx, dword [0x1003f48c]
cmp dword [ecx + 8], 0
je 0x100312ba
mov edx, dword [0x1003f48c]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x100312ba
mov ecx, dword [0x1003f48c]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x100312ba
mov eax, dword [0x1003f48c]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10031289
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10031290
xor eax, eax
jmp 0x100313d9
mov ecx, dword [0x1003f48c]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x100313d9
mov edx, dword [0x1003f488]
mov dword [0x1003f48c], edx
jmp 0x100312d6
mov eax, dword [0x1003f48c]
mov ecx, dword [eax + 4]
mov dword [0x1003f48c], ecx
cmp dword [0x1003f48c], 0
je 0x10031316
cmp dword [0x1003f48c], 0
je 0x10031314
mov edx, dword [0x1003f48c]
cmp dword [edx + 8], 0
je 0x10031314
mov eax, dword [0x1003f48c]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10031314
mov edx, dword [0x1003f48c]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10031314
jmp 0x1003126e
jmp 0x100312c8
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100313e0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100313d7
mov eax, dword [ebp - 0x18]
mov dword [0x1003f48c], eax
mov ecx, dword [0x1003f48c]
mov dword [ecx], 0x52727464
mov edx, dword [0x1003f48c]
mov dword [edx + 8], 0
mov eax, dword [0x1003f48c]
mov ecx, dword [0x1003f488]
mov dword [eax + 4], ecx
mov edx, dword [0x1003f48c]
mov dword [0x1003f488], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x1003f48c]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x100313a7
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x100313c7
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x1003139e
mov eax, dword [0x1003f48c]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1003126e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..rdata
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x4f0006c5
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section._RDATA
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x57cd2af6
nop
nop
nop
nop
nop
test eax, eax
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x404c00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40e2c8
push 0x406174
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
cmp dword [0x416d58], ebx
jne 0x404be0
lea eax, [ebp - 0x20]
push eax
call fcn.00404100
test eax, eax
je 0x404be5
mov eax, 1
cmp eax, ebx
jne 0x404bfe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], ebx
mov eax, dword [0x41721c]
cmp eax, ebx
jne 0x404c1d
push 0x412dbc
call fcn.00404a90
mov dword [0x41721c], eax
cmp eax, ebx
je 0x404c26
mov ecx, dword [ebp + 8]
push ecx
call eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00404c4a
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x404c60
Capabilities:
Delete file
Hide graphical window
Link many functions at runtime
Terminate process
Terminate thread

Disassembly:
cmp dword [0x416d58], ebx
jne 0x404c97
xor edx, edx
cmp dword [ebp - 0x1c], ebx
sete dl
mov edi, edx
cmp edi, ebx
je 0x404c68
call dword [0x40e0b4]
mov ebx, eax
mov esi, dword [ebp - 0x20]
mov eax, dword [0x41722c]
test eax, eax
jne 0x404c87
push 0x412d3c
call fcn.00402220
mov dword [0x41722c], eax
test eax, eax
je 0x404c8c
push esi
push 0
call eax
test edi, edi
je 0x404c97
push ebx
call dword [0x40e0f0]
ret

Function at 0x40683b
Capabilities:
Terminate process

Disassembly:
push esi
push edi
call fcn.004090eb
mov edi, dword [eax + 0x64]
cmp edi, dword [0x4136dc]
je 0x4067db
call fcn.0040908a
mov edi, eax
mov esi, dword [esp + 0xc]
cmp dword [edi + 0x28], 1
movzx eax, byte [esi]
jle 0x4067f6
push 8
push eax
push edi
call fcn.00409392
add esp, 0xc
jmp 0x406800
mov ecx, dword [edi + 0x48]
movzx eax, byte [ecx + eax*2]
and eax, 8
test eax, eax
je 0x406807
inc esi
jmp 0x4067df
movzx ecx, byte [esi]
inc esi
cmp ecx, 0x2d
mov edx, ecx
je 0x406817
cmp ecx, 0x2b
jne 0x40681b
movzx ecx, byte [esi]
inc esi
xor eax, eax
cmp ecx, 0x30
jl 0x40682c
cmp ecx, 0x39
jg 0x40682c
sub ecx, 0x30
jmp 0x40682f
or ecx, 0xffffffff
cmp ecx, 0xffffffff
je 0x406840
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2]
movzx ecx, byte [esi]
inc esi
jmp 0x40681d
cmp edx, 0x2d
pop edi
pop esi
jne 0x406849
neg eax
ret
Function at 0x4069f3
Capabilities:
Encode data using xor

Disassembly:
push 0x14
push 0x40e428
call fcn.00408198
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
jne 0x4069ed
push dword [ebp + 0xc]
call fcn.00407074
pop ecx
jmp 0x406b71
mov esi, dword [ebp + 0xc]
cmp esi, ebx
jne 0x406a00
push edi
call fcn.00406f5c
pop ecx
jmp 0x406b6f
cmp dword [0x4178c0], 3
jne 0x406b3b
mov dword [ebp - 0x1c], ebx
cmp esi, 0xffffffe0
ja 0x406b0a
push 4
call fcn.00409597
pop ecx
mov dword [ebp - 4], ebx
push edi
call fcn.00409696
pop ecx
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x406ada
cmp esi, dword [0x4178ac]
ja 0x406a8a
push esi
push edi
push eax
call fcn.00409b96
add esp, 0xc
test eax, eax
je 0x406a52
mov dword [ebp - 0x1c], edi
jmp 0x406a8a
push esi
call fcn.00409e75
pop ecx
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x406a8a
mov eax, dword [edi - 4]
dec eax
mov dword [ebp - 0x24], eax
cmp eax, esi
jb 0x406a6d
mov eax, esi
push eax
push edi
push dword [ebp - 0x1c]
call fcn.0040a180
push edi
call fcn.00409696
mov dword [ebp - 0x20], eax
push edi
push eax
call fcn.004096c1
add esp, 0x18
cmp dword [ebp - 0x1c], ebx
jne 0x406ada
cmp esi, ebx
jne 0x406a99
xor esi, esi
inc esi
mov dword [ebp + 0xc], esi
add esi, 0xf
and esi, 0xfffffff0
mov dword [ebp + 0xc], esi
push esi
push ebx
push dword [0x4178bc]
call dword [0x40e120]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x406ada
mov eax, dword [edi - 4]
dec eax
mov dword [ebp - 0x24], eax
cmp eax, esi
jb 0x406ac4
mov eax, esi
push eax
push edi
push dword [ebp - 0x1c]
call fcn.0040a180
push edi
push dword [ebp - 0x20]
call fcn.004096c1
add esp, 0x14
or dword [ebp - 4], 0xffffffff
call fcn.00406b32
cmp dword [ebp - 0x20], ebx
jne 0x406b0a
cmp esi, ebx
jne 0x406aef
xor esi, esi
inc esi
add esi, 0xf
and esi, 0xfffffff0
mov dword [ebp + 0xc], esi
push esi
push edi
push ebx
push dword [0x4178bc]
call dword [0x40e128]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x406b71
cmp dword [0x416f8c], ebx
je 0x406b71
push esi
call fcn.004095c8
pop ecx
test eax, eax
jne 0x406a0d
jmp 0x406b6f
xor eax, eax
cmp esi, 0xffffffe0
ja 0x406b58
cmp esi, ebx
jne 0x406b49
xor esi, esi
inc esi
push esi
push edi
push ebx
push dword [0x4178bc]
call dword [0x40e128]
cmp eax, ebx
jne 0x406b71
cmp dword [0x416f8c], ebx
je 0x406b71
push esi
call fcn.004095c8
pop ecx
test eax, eax
jne 0x406b3b
xor eax, eax
call fcn.004081d3
ret
Function at 0x408431
Capabilities:
Parse pe header

Disassembly:
push 0x10
push 0x40e568
call fcn.00408198
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x1c], edi
push 1
call fcn.00409597
pop ecx
mov dword [ebp - 4], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
cmp esi, dword [0x4188e0]
jge 0x40851c
mov eax, dword [0x4178c4]
mov eax, dword [eax + esi*4]
cmp eax, ebx
je 0x4084b8
test byte [eax + 0xc], 0x83
jne 0x4084b1
cmp esi, 2
jle 0x40848a
cmp esi, 0x14
jge 0x40848a
lea eax, [esi + 0x10]
push eax
call fcn.004094f7
pop ecx
test eax, eax
je 0x40851c
mov eax, dword [0x4178c4]
push dword [eax + esi*4]
push esi
call fcn.004077e9
pop ecx
pop ecx
mov eax, dword [0x4178c4]
mov eax, dword [eax + esi*4]
test byte [eax + 0xc], 0x83
je 0x4084b4
push eax
push esi
call fcn.0040783b
pop ecx
pop ecx
inc esi
jmp 0x40844d
mov edi, eax
jmp 0x408519
shl esi, 2
push 0x38
call fcn.00407074
pop ecx
mov ecx, dword [0x4178c4]
mov dword [esi + ecx], eax
mov eax, dword [0x4178c4]
mov eax, dword [esi + eax]
cmp eax, ebx
je 0x40851c
push 0xfa0
add eax, 0x20
push eax
call fcn.0040c00c
pop ecx
pop ecx
test eax, eax
mov eax, dword [0x4178c4]
jne 0x408504
push dword [esi + eax]
call fcn.00406f5c
pop ecx
mov eax, dword [0x4178c4]
mov dword [esi + eax], ebx
jmp 0x40851c
mov eax, dword [esi + eax]
add eax, 0x20
push eax
call dword [0x40e138]
mov eax, dword [0x4178c4]
mov edi, dword [esi + eax]
mov dword [ebp - 0x1c], edi
cmp edi, ebx
je 0x408532
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov dword [edi], ebx
mov dword [edi + 0x1c], ebx
or dword [edi + 0x10], 0xffffffff
or dword [ebp - 4], 0xffffffff
call fcn.00408546
mov eax, edi
call fcn.004081d3
ret

Function at 0x40865a
Capabilities:
Get system information on windows

Disassembly:
mov ecx, dword [esp + 4]
push edi
test ecx, 3
je 0x408650
mov al, byte [ecx]
add ecx, 1
test al, al
je 0x408683
test ecx, 3
jne 0x40863d
mov edi, edi
mov eax, dword [ecx]
mov edx, 0x7efefeff
add edx, eax
xor eax, 0xffffffff
xor eax, edx
add ecx, 4
test eax, 0x81010100
je 0x408650
mov eax, dword [ecx - 4]
test al, al
je 0x408692
test ah, ah
je 0x40868d
test eax, 0xff0000
je 0x408688
test eax, 0xff000000
je 0x408683
jmp 0x408650
lea edi, [ecx - 1]
jmp 0x408695
lea edi, [ecx - 2]
jmp 0x408695
lea edi, [ecx - 3]
jmp 0x408695
lea edi, [ecx - 4]
Function at 0x40ab9d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
xor edx, edx
cmp dword [ebp + 8], edx
push edi
mov dword [esi], edx
mov edi, ecx
mov dword [ebx], 1
je 0x40aa92
mov ecx, dword [ebp + 8]
add dword [ebp + 8], 4
mov dword [ecx], edi
cmp byte [eax], 0x22
jne 0x40aaa5
xor ecx, ecx
test edx, edx
sete cl
inc eax
mov edx, ecx
mov cl, 0x22
jmp 0x40aad2
inc dword [esi]
test edi, edi
je 0x40aab0
mov cl, byte [eax]
mov byte [edi], cl
inc edi
mov cl, byte [eax]
movzx ebx, cl
inc eax
test byte [ebx + 0x417561], 4
je 0x40aacb
inc dword [esi]
test edi, edi
je 0x40aaca
mov bl, byte [eax]
mov byte [edi], bl
inc edi
inc eax
test cl, cl
mov ebx, dword [ebp + 0xc]
je 0x40ab04
test edx, edx
jne 0x40aa92
cmp cl, 0x20
je 0x40aae0
cmp cl, 9
jne 0x40aa92
test edi, edi
je 0x40aae8
mov byte [edi - 1], 0
and dword [ebp - 4], 0
cmp byte [eax], 0
je 0x40abcb
mov cl, byte [eax]
cmp cl, 0x20
je 0x40ab01
cmp cl, 9
jne 0x40ab07
inc eax
jmp 0x40aaf5
dec eax
jmp 0x40aae8
cmp byte [eax], 0
je 0x40abcb
cmp dword [ebp + 8], 0
je 0x40ab1f
mov ecx, dword [ebp + 8]
add dword [ebp + 8], 4
mov dword [ecx], edi
inc dword [ebx]
xor ebx, ebx
inc ebx
xor edx, edx
jmp 0x40ab2a
inc eax
inc edx
cmp byte [eax], 0x5c
je 0x40ab28
cmp byte [eax], 0x22
jne 0x40ab5a
test dl, 1
jne 0x40ab58
cmp dword [ebp - 4], 0
je 0x40ab4b
lea ecx, [eax + 1]
cmp byte [ecx], 0x22
jne 0x40ab4b
mov eax, ecx
jmp 0x40ab4d
xor ebx, ebx
xor ecx, ecx
cmp dword [ebp - 4], ecx
sete cl
mov dword [ebp - 4], ecx
shr edx, 1
test edx, edx
je 0x40ab6b
test edi, edi
je 0x40ab66
mov byte [edi], 0x5c
inc edi
inc dword [esi]
dec edx
jne 0x40ab5e
mov cl, byte [eax]
test cl, cl
je 0x40abb9
cmp dword [ebp - 4], 0
jne 0x40ab81
cmp cl, 0x20
je 0x40abb9
cmp cl, 9
je 0x40abb9
test ebx, ebx
je 0x40abb3
test edi, edi
je 0x40aba2
movzx edx, cl
test byte [edx + 0x417561], 4
je 0x40ab9b
mov byte [edi], cl
inc edi
inc eax
inc dword [esi]
mov cl, byte [eax]
mov byte [edi], cl
inc edi
jmp 0x40abb1
movzx ecx, cl
test byte [ecx + 0x417561], 4
je 0x40abb1
inc eax
inc dword [esi]
inc dword [esi]
inc eax
jmp 0x40ab21
test edi, edi
je 0x40abc1
mov byte [edi], 0
inc edi
inc dword [esi]
mov ebx, dword [ebp + 0xc]
jmp 0x40aaec
mov eax, dword [ebp + 8]
test eax, eax
je 0x40abd5
and dword [eax], 0
inc dword [ebx]
pop edi
pop ebx
leave
ret
Function at 0x40b1f4
Capabilities:
Write file on windows

Disassembly:
push 0xc
push str.R6018_r_n__unexpected_heap_error_r_n
call fcn.00408198
mov ebx, dword [ebp + 8]
cmp ebx, dword [0x417780]
jae 0x40b207
mov eax, ebx
sar eax, 5
lea edi, [eax*4 + 0x4177a0]
mov eax, ebx
and eax, 0x1f
lea esi, [eax + eax*8]
shl esi, 2
mov eax, dword [edi]
test byte [eax + esi + 4], 1
je 0x40b207
push ebx
call fcn.0040d7ac
pop ecx
and dword [ebp - 4], 0
mov eax, dword [edi]
test byte [eax + esi + 4], 1
je 0x40b1d7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0040af9d
add esp, 0xc
mov dword [ebp - 0x1c], eax
jmp 0x40b1ee
call fcn.0040673d
mov dword [eax], 9
call fcn.00406746
and dword [eax], 0
or dword [ebp - 0x1c], 0xffffffff
or dword [ebp - 4], 0xffffffff
call fcn.0040b1ff
mov eax, dword [ebp - 0x1c]
jmp 0x40b21d
call fcn.0040673d
mov dword [eax], 9
call fcn.00406746
and dword [eax], 0
or eax, 0xffffffff
call fcn.004081d3
ret

Function at 0x40da6f
Capabilities:
Clear file content

Disassembly:
push 0xc
push 0x40f598
call fcn.00408198
mov ebx, dword [ebp + 8]
cmp ebx, dword [0x417780]
jae 0x40da92
mov eax, ebx
sar eax, 5
lea edi, [eax*4 + 0x4177a0]
mov eax, ebx
and eax, 0x1f
lea esi, [eax + eax*8]
shl esi, 2
mov eax, dword [edi]
test byte [eax + esi + 4], 1
je 0x40da92
push ebx
call fcn.0040d7ac
pop ecx
and dword [ebp - 4], 0
mov eax, dword [edi]
test byte [eax + esi + 4], 1
je 0x40da6a
push ebx
call fcn.0040d76b
pop ecx
push eax
call dword [0x40e070]
test eax, eax
jne 0x40da56
call dword [0x40e0b4]
mov dword [ebp - 0x1c], eax
jmp 0x40da5a
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0
je 0x40da79
call fcn.00406746
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
call fcn.0040673d
mov dword [eax], 9
or dword [ebp - 0x1c], 0xffffffff
or dword [ebp - 4], 0xffffffff
call fcn.0040da8a
mov eax, dword [ebp - 0x1c]
jmp 0x40daa0
call fcn.0040673d
mov dword [eax], 9
or eax, 0xffffffff
call fcn.004081d3
ret
Function at 0x6f15a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
je 0x6f180d
jne 0x6f180d
je 0x6f11e6
jne 0x6f12ed
add byte [eax], al
add byte [eax], al
Function at 0x6f3620
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 0x6f37a8
jne 0x6f37a8
Function at 0x6f4860
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
je 0x6f48b6
jne 0x6f48b6
jmp 0x3edb83b2
inc ebp
cmp ebp, dword [esi + edi + 0x18]
jb 0x6f48d7
xor eax, eax
jmp 0x6f4890
mov eax, dword [esp]
je 0x6f487c
jne 0x6f487c
jmp 0x687bff8f
movzx ecx, word [eax + ebp*2]
xor eax, eax
cmp dword [esi + edi + 0x14], ecx
jb 0x6f4890
mov eax, dword [esi + edi + 0x1c]
je 0x6f48f9
jne 0x6f48f9
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 0x6f491b
jne 0x6f491b
je 0x6f24da
jne 0x6f140a
push eax
mov edx, dword [esp + 0x1c]
xor eax, eax
mov ecx, dword [edx]
cmp dword [ecx + 0x7c], 0
je 0x6f4890
je 0x6f4938
jne 0x6f4938
je 0x6f369f
jne 0x6f2cb7
je 0x21a4d66
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 0x6f4907
invalid
jne 0x6f4907
je 0x6f268a
jne 0x6f2922
jmp 0x3fd558a
lea ecx, [esi + ecx*4]
add esi, dword [eax + ecx]
mov eax, esi
je 0x6f4890
jne 0x6f4890
je 0x847f0990
test eax, eax
je 0x6f4874
invalid
je 0x6f4869
jne 0x6f4869
add eax, esi
add ebx, esi
mov dword [esp], eax
nop word cs:[eax + eax]
nop dword [eax]
je 0x6f48d7
jne 0x6f48d7
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 0x6f4890
cmp dword [esi + edi + 0x14], 0
je 0x6f4890
je 0x6f489c
jne 0x6f489c
push ebp
push ebx
je 0x6f4a05
jne 0x6f4a05
je 0x778a3b
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
mov ebx, ecx
push dword [esp + 0x20]
push dword [esp + 0x20]
push eax
je 0x6f49d8
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 0x6f49ab
and byte [eax + 0x74], dl
dec ebp
jne 0x6f49d8
je 0x6f13d2
jne 0x6f363b
add byte [eax], al
add byte [eax], al
test edi, edi
je 0x6f49fb
push 0x8000
push 0
push edi
call dword [ebx + 0xc]
je 0x6f49fb
or al, 0x74
dec ebp
jne 0x6f49fb
jmp 0x81aba740
mov ebx, dword [ebp + 0x3c]
cmp dword [ebp + ebx], 0x4550
jne 0x6f49fb
mov edi, dword [esp + 0x14]
add ebx, ebp
push 4
je 0x6f49ca
jne 0x6f49ca
push 0x3000
push 0x14
push 0
je 0x6f4a1c
jne 0x6f4a1c
jmp 0xecb2322d
push ecx
call fcn.006f3620
add esp, 0x10
test eax, eax
je 0x6f49f0
mov esi, edi
mov dword [edi + 0x10], 1
jmp 0x6f49fb
je 0x6f499d
jne 0x6f499d
pop ebx
pop ebp
ret
mov eax, esi
pop esi
pop edi
je 0x6f49f4
jne 0x6f49f4
je 0x6cfaa060
push edi
push esi
mov ebp, dword [esp + 0x18]
and al, 0x18
xor esi, esi
movzx eax, word [ebp]
cmp eax, 0x5a4d
jne 0x6f49fb
je 0x6f49b1
jne 0x6f49b1
call dword [edi]
mov ecx, edi
mov dword [eax + 4], ebp
mov dword [eax], ebx
mov edi, eax
mov dword [eax + 0xc], 0
je 0x6f4970
jne 0x6f4970
nop word [eax + eax]
ret
Function at 0x6fadf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
je 0x6fb0ab
jne 0x6fb0ab
je 0x6f93c2
jne 0x6fa2d9
add byte [eax], al
add byte [eax], al
push ebx
push edi
push esi
je 0x6fb126
jne 0x6fb126
add byte [eax], al
add byte [eax], al

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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov byte [esp], 0
jmp 0x6fb2a3
je 0x6fb306
jne 0x6fb306
Function at 0x6fb410
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [esp + 0x30], ecx
push 1
je 0x6f958c
jne 0x6f958c
add byte [eax], al
add byte [eax], al
mov ebp, dword [esi + 8]
je 0x6f9116
jne 0x6f9116
add byte [eax], al
add byte [eax], al
push ebp
push eax
push 2
push edx
push ebx
call fcn.006feab0
test eax, eax
je 0x6f8ea6
je 0x6f9393
jne 0x6f9393
add byte [eax], al
add byte [eax], al
mov byte [esp + 0x17], 0
mov byte [esp + 0x18], 0
mov byte [esp + 0x19], 0
mov byte [esp + 0x1a], 0
je 0x6f8eb3
jne 0x6f8eb3
je 0xf98f19e4
invalid
je 0x6fb867
jne 0x6fb867
add byte [eax], al
add byte [eax], al
mov eax, dword [esp + 8]
je 0x6fb5bc
jne 0x6fb5bc
je 0x6fb68c
jne 0x6fb68c
add byte [eax], al
add byte [eax], al
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov byte [esp + 8], 0
je 0x6fb7c3
jne 0x6fb7c3
invalid
mov byte [esp + 0xb], 0
mov byte [esp + 0xc], 0
mov byte [esp + 0xd], 0
mov byte [esp + 0xe], 0
push 0x6fb665
ret
mov ecx, dword [esp + 0x14]
cmp ecx, 3
push 0x6fb7e3
ret
je 0x6fb791
jne 0x6fb791
jmp 0x1d839c3
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
sub esp, 0x14
movsd xmm0, qword [esp + 0x2c]
mov edi, dword [ebp + 8]
push 0x6fb46b
ret
je 0x6fb440
jne 0x6fb440
add byte [eax], al
add byte [eax], al
test eax, eax
je 0x6fb880
jne 0x6fb880
lea eax, [esp + 0x14]
push 0
push eax
push edi
jmp 0x6fb770
je 0x85787b15
ror byte [edi], 0x84
retf
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
je 0x6fb7bb
jne 0x6fb7bb
push dword [esp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.HDWOMH_6aod_QddeNmda]
test eax, eax
je 0x6fb7e9
je 0x6fb596
jne 0x6fb596
add byte [eax], al
add byte [eax], al
jmp 0x6fb764
pop ebp
ret 8
mov byte [esp + 9], 0
mov byte [esp + 0xa], 0
je 0x6fb576
jne 0x6fb576
push 0x6fb5bc
ret
mov edx, dword [esp + 4]
push edx
call fcn.00734b33
add esp, 4
je 0x6fb5a3
jne 0x6fb5a3
je 0xfabfa93
test dh, cl
std
invalid
push ebp
je 0x6fb636
jne 0x6fb636
je 0x6f8fa4
jne 0x6f8738
je 0x6fb764
push 0x6fb6c7
ret
Function at 0x722fc0
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, 0x73a690
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 0x7230f0
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]