joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e3888
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffc00
mov ebx, eax
push esp
push 0x3ff
call sub.KERNEL32.DLL_GetTempPathA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404e5c
add esp, 0x400
pop ebx
ret

Function at 0x99d7e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x391000]
push edi
or ebp, 0xffffffff
jmp 0x99d802
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x99d809
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x99d7f8
mov eax, 1
add ebx, ebx
jne 0x99d81b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x99d82c
jne 0x99d84b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x99d84b
dec eax
add ebx, ebx
jne 0x99d838
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x99d810
add ebx, ebx
jne 0x99d847
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x99d89d
xor ecx, ecx
sub eax, 3
jb 0x99d863
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x99d8d2
sar eax, 1
mov ebp, eax
jmp 0x99d86e
add ebx, ebx
jne 0x99d86e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x99d83c
inc ecx
add ebx, ebx
jne 0x99d87c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x99d83c
add ebx, ebx
jne 0x99d889
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x99d87e
jne 0x99d89a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x99d87e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x99d8bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x99d8ae
jmp 0x99d7fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x99d8bc
add edi, ecx
jmp 0x99d7fe
pop esi
mov edi, esi
mov ecx, 0x2ee9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x99d8da
cmp byte [edi], 0x13
jne 0x99d8da
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x99d8df
lea edi, [esi + 0x59b000]
mov eax, dword [edi]
or eax, eax
je 0x99d957
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5bfdc8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5bfe68]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x99d90c
mov ecx, edi
jns 0x99d93b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5bfe6c]
or eax, eax
je 0x99d951
mov dword [ebx], eax
add ebx, 4
jmp 0x99d929
call dword [esi + 0x5bfe7c]
mov ebp, dword [esi + 0x5bfe70]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x99d98b
sub esp, 0xffffff80
jmp 0x45bdac
Function at 0x1013c94
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x101647c]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
push 0x20a
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x1013d7c
push ebx
lea eax, [ebp - 0x210]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll__mbsrchr]
xor ebx, ebx
cmp eax, ebx
pop ecx
pop ecx
je 0x1013ce8
cmp byte [eax + 1], bl
jne 0x1013ce8
mov byte [eax], bl
push ebx
lea eax, [ebp - 0x210]
push eax
call fcn.01013a71
test eax, eax
jne 0x1013d07
push 1
lea eax, [ebp - 0x210]
push eax
call fcn.01013b49
cmp dword [ebp + 0xc], 0x104
jb 0x1013d28
push edi
push ebx
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x1013d78
xor eax, eax
jmp 0x1013d7b
lea eax, [ebp - 0x41c]
push eax
push ebx
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x1013d4a
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1013d24
lea eax, [ebp - 0x41c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1013d53
sub eax, edx
lea ecx, [eax + 1]
cmp ecx, dword [ebp + 0xc]
ja 0x1013d24
mov eax, ecx
shr ecx, 2
lea esi, [ebp - 0x41c]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
inc eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.01011c2a
leave
ret 0xc

Function at 0x42ff73
Capabilities:
Parse pe header

Disassembly:
push esp
add esp, 4
mov edi, dword [esp - 4]
add esp, 4
mov edi, dword [esp - 4]
push 0x26
sub edi, dword [esp]
add esp, 4
push edi
lea edi, [eax]
add edi, 0x22104200
xchg edi, eax
pop edi
push 0x15
mov eax, esp
mov eax, dword [eax]
add esp, 4
mov dword [edi], eax
mov edi, dword [esp]
add esp, 4
mov eax, esp
mov eax, dword [eax]
add esp, 4
pushal
call 0x42fd87
pop ebx
mov eax, 0x50031494
sub eax, 0x50031202
add eax, ebx
xor dword [eax], 0x78c9aed2
call 0x42ff73
jmp 0x42fed7
call fcn.0042fda4
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add byte [ecx - 0x17], ah
cmpsb byte [esi], byte es:[edi]
add byte [eax], al
add byte [ebp - 0x75], dl
in al, dx
mov ebx, 0x77000000
add ebx, 0x10000
cmp ebx, 0x80000000
jne 0x42ff8e
mov ebx, 0xbff00000
call fcn.0042ffd2
cmp eax, 0
je 0x42ff7b
cmp word [ebx], 0x5a4d
jne 0x42ff7b
mov eax, dword [ebx + 0x3c]
add eax, ebx
cmp word [eax], 0x4550
jne 0x42ff7b
test byte [eax + 0x17], 0x20
je 0x42ff7b
mov eax, dword [eax + 0x78]
add eax, ebx
mov edx, dword [eax + 0xc]
add edx, ebx
cmp dword [edx], 0x4e52454b
jne 0x42ff7b
cmp dword [edx + 4], 0x32334c45
jne 0x42ff7b
mov eax, ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000104b
Capabilities:
Encode data using xor

Disassembly:
jmp 0x100b76b0
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x84], 0xffffffff
jne 0x100b76c2
xor eax, eax
pop edi
ret
push ebp
push esi
push dword [edi]
call sym.libcrypto_1_1.dll_EVP_CIPHER_CTX_block_size
mov ecx, dword [esp + 0x1c]
add esp, 4
mov ebp, dword [esp + 0x14]
mov esi, eax
mov dword [ecx], esi
test ebp, ebp
je 0x100b7776
mov ecx, dword [edi + 0x84]
push ebx
cmp ecx, esi
jne 0x100b7716
test esi, esi
jle 0x100b7754
mov edx, ebp
lea ecx, [edi + 4]
mov ebx, esi
nop dword [eax + eax]
mov al, byte [ecx + 0x60]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x100b7700
jmp 0x100b7754
sub eax, ecx
mov byte [ecx + edi + 0x64], 0x80
cmp eax, 1
jle 0x100b7734
dec eax
push eax
lea eax, [edi + 0x65]
add eax, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test esi, esi
jle 0x100b7754
mov edx, ebp
lea ecx, [edi + 0x24]
mov ebx, esi
nop
mov al, byte [ecx + 0x40]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x100b7740
push esi
push ebp
push ebp
push dword [edi]
call sym.libcrypto_1_1.dll_EVP_Cipher
add esp, 0x10
pop ebx
test eax, eax
jne 0x100b7776
push esi
push ebp
call sym.libcrypto_1_1.dll_OPENSSL_cleanse
add esp, 8
xor eax, eax
pop esi
pop ebp
pop edi
ret
pop esi
pop ebp
mov eax, 1
pop edi
ret
Function at 0x1000187f
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1013b330
mov eax, 8
call fcn.10001f96
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x34]
mov edi, dword [edi]
mov dword [esp + 0x14], edi
test edi, edi
je 0x1013b379
mov ecx, dword [esp + 0x30]
nop dword [eax]
test esi, esi
je 0x1013b379
mov al, byte [edi + ecx]
dec esi
xor al, byte [ebp]
inc edi
mov byte [ebx], al
inc ebp
inc ebx
and edi, 0xf
mov dword [esp + 0x14], edi
jne 0x1013b360
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0xc]
bswap eax
mov dword [esp + 0x24], eax
cmp esi, 0x10
jb 0x1013b414
mov edi, eax
mov ecx, esi
shr ecx, 4
push edx
push dword [esp + 0x2c]
lea eax, [ecx + edi]
neg edi
cmp eax, ecx
cmovae edi, ecx
mov dword [esp + 0x18], edi
xor edi, edi
push dword [esp + 0x18]
cmp eax, ecx
push ebx
cmovae edi, eax
push ebp
mov dword [esp + 0x38], edi
call dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
mov eax, edi
add esp, 0x14
bswap eax
mov dword [edx + 0xc], eax
test edi, edi
jne 0x1013b3fa
mov edi, dword [esp + 0x2c]
mov edx, 0xc
mov eax, 1
nop
movzx ecx, byte [edx + edi - 1]
dec edx
add eax, ecx
mov byte [edx + edi], al
shr eax, 8
test edx, edx
jne 0x1013b3e0
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
shl eax, 4
sub esi, eax
add ebx, eax
add ebp, eax
cmp esi, 0x10
jae 0x1013b391
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x14]
test esi, esi
je 0x1013b472
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
push edx
push dword [esp + 0x2c]
push 1
push eax
push eax
movups xmmword [eax], xmm0
call dword [esp + 0x4c]
mov eax, dword [esp + 0x38]
add esp, 0x14
mov ecx, dword [esp + 0x2c]
add eax, 1
bswap eax
mov dword [ecx + 0xc], eax
jne 0x1013b44d
push ecx
call fcn.1013b540
add esp, 4
mov eax, dword [esp + 0x30]
sub ebp, eax
sub ebx, eax
lea ecx, [edi + eax]
add edi, esi
nop word [eax + eax]
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
sub esi, 1
jne 0x1013b460
mov eax, dword [esp + 0x34]
mov dword [eax], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x10001ac8
Capabilities:
Inspect section memory permissions

Disassembly:
jmp 0x101456c0
add dword [esp + 4], 4
jmp sym.libcrypto_1_1.dll_X509V3_add1_i2d
Function at 0x10001c5d
Capabilities:
Inspect section memory permissions

Disassembly:
jmp 0x101989d0
add dword [esp + 4], 0x38
jmp sym.libcrypto_1_1.dll_X509V3_add1_i2d

Function at 0x10001d34
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1013d650
mov eax, 0x14
call fcn.10001f96
push ebx
mov ebx, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edx, dword [esi + 0x160]
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esp + 0xc], edx
mov dword [esi + 0x16c], 0
mov dword [esi + 0x168], 0
cmp ebx, 0xc
jne 0x1013d6c5
mov eax, dword [esp + 0x28]
lea edi, [ebx - 0xb]
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x1000000
jmp 0x1013d7ce
mov edi, dword [esp + 0x28]
lea eax, [esi + 0x60]
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x4c], 0
mov dword [esp + 0x14], eax
push ebp
lea ebp, [esi + 0x40]
cmp ebx, 0x10
jb 0x1013d76f
mov eax, ebx
lea ecx, [esi + 0x41]
shr eax, 4
mov esi, ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], eax
nop dword [eax + eax]
lea edx, [edi + 2]
mov eax, ecx
mov ebp, 4
nop word [eax + eax]
movzx ecx, byte [edx - 2]
lea edx, [edx + 4]
xor byte [eax - 1], cl
lea eax, [eax + 4]
movzx ecx, byte [edx - 5]
xor byte [eax - 4], cl
movzx ecx, byte [edx - 4]
xor byte [eax - 3], cl
movzx ecx, byte [edx - 3]
xor byte [eax - 2], cl
sub ebp, 1
jne 0x1013d720
push dword [esp + 0x18]
push esi
call dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
add esp, 8
add edi, 0x10
sub ebx, 0x10
sub dword [esp + 0x30], 1
jne 0x1013d710
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
lea ebp, [esi + 0x40]
test ebx, ebx
je 0x1013d78e
mov ecx, ebp
mov al, byte [edi]
lea edi, [edi + 1]
xor byte [ecx], al
lea ecx, [ecx + 1]
sub ebx, 1
jne 0x1013d775
lea eax, [esi + 0x60]
push eax
push ebp
call edx
add esp, 8
mov eax, dword [esp + 0x20]
xor ecx, ecx
shld ecx, eax, 3
shl eax, 3
bswap eax
xor dword [esi + 0x4c], eax
lea eax, [esi + 0x60]
push eax
bswap ecx
xor dword [esi + 0x48], ecx
push ebp
call dword [esp + 0x18]
mov eax, dword [ebp]
add esp, 8
mov ecx, dword [ebp + 4]
mov edi, dword [esi + 0x4c]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
mov dword [esi + 8], eax
bswap edi
mov dword [esi + 0xc], ecx
pop ebp
mov dword [esi + 0x40], 0
lea eax, [esi + 0x20]
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
push dword [esi + 0x174]
push eax
mov eax, dword [esi + 0x170]
push esi
call eax
add esp, 0xc
inc edi
bswap edi
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x10001fc8
Capabilities:
Inspect section memory permissions

Disassembly:
jmp 0x101bac70
cmp dword [eax], ebx
je 0x101bac9c
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x101bac97
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x101bac81
and ecx, 0xfff
dec dword [edi]
add byte [eax], al
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x101bac89
cmp edx, ebx
jne 0x101badd7
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x101bac58
add eax, dword [eax + 4]
jmp 0x101bac45
mov dword [ebp + 0xc], ebx
jmp 0x101baca7
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x101bacbf
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x101bacdd
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x101bad3b
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x101bad22
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x101bad2b
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x101bad35
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x101bad17
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x101baca1
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x101bad88
dec eax
je 0x101bad7f
sub eax, 3
je 0x101bad76
mov dword [ebp - 4], 0x40
jmp 0x101bada5
mov dword [ebp - 4], 4
jmp 0x101bad8b
mov dword [ebp - 4], 0x20
jmp 0x101bad8b
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x101badd7
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x101bad57
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.101ba5e8
add al, 0xf3
ljmp 0x16a
Function at 0x10002121
Capabilities:
Hash data using sha224

Disassembly:
jmp 0x10174e10
mov eax, dword [esp + 4]
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0x30
mov eax, 1
ret
Function at 0x10002211
Capabilities:
Inspect section memory permissions

Disassembly:
jmp 0x10145590
add dword [esp + 4], 0x14
jmp sym.libcrypto_1_1.dll_X509V3_add1_i2d
Function at 0x1000235b
Capabilities:
Hash data with md5

Disassembly:
jmp 0x10137ba0
push esi
mov esi, dword [esp + 8]
push 0x4c
push 0
lea eax, [esi + 0x10]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov eax, 1
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
pop esi
ret

Function at 0x1000240a
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x10089550
push 0
push 0x1025e54c
call sym.libcrypto_1_1.dll_CRYPTO_THREAD_init_local
add esp, 8
test eax, eax
je 0x10089583
push 0
push 0x1025e550
call sym.libcrypto_1_1.dll_CRYPTO_THREAD_init_local
add esp, 8
test eax, eax
jne 0x10089586
push 0x1025e54c
call sym.libcrypto_1_1.dll_CRYPTO_THREAD_cleanup_local
add esp, 4
xor eax, eax
ret
mov eax, 1
ret

Function at 0x10002491
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1013b1c0
mov eax, 0x10
call fcn.10001f96
mov ecx, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x3c]
mov edi, dword [edi]
test edi, edi
je 0x1013b1fd
test esi, esi
je 0x1013b1fd
mov al, byte [edi + ecx]
dec esi
xor al, byte [ebp]
inc edi
mov byte [ebx], al
inc ebp
inc ebx
and edi, 0xf
jne 0x1013b1e8
mov edx, dword [esp + 0x34]
cmp esi, 0x10
jb 0x1013b296
mov eax, ebp
xor edi, edi
sub eax, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov edi, ebx
mov eax, esi
sub edi, ecx
shr eax, 4
mov dword [esp + 0x2c], eax
shl eax, 4
add ebx, eax
add ebp, eax
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x38]
nop dword [eax]
push dword [esp + 0x30]
push ebp
push edx
call dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
push eax
call fcn.1013b510
add esp, 0x10
mov eax, ebp
mov edx, 4
nop
mov ecx, dword [ebx + eax]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [edi + eax - 4], ecx
sub edx, 1
jne 0x1013b260
mov edx, dword [esp + 0x34]
sub esi, 0x10
add edi, 0x10
add ebx, 0x10
sub dword [esp + 0x2c], 1
jne 0x1013b240
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
test esi, esi
je 0x1013b2d2
push dword [esp + 0x30]
push ecx
push edx
call dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
push eax
call fcn.1013b510
mov eax, dword [esp + 0x48]
add esp, 0x10
sub ebp, eax
sub ebx, eax
lea ecx, [edi + eax]
add edi, esi
nop
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
sub esi, 1
jne 0x1013b2c0
mov eax, dword [esp + 0x3c]
mov dword [eax], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x100025a4
Capabilities:
Inspect section memory permissions

Disassembly:
jmp 0x101988a0
add dword [esp + 4], 0x14
jmp sym.libcrypto_1_1.dll_X509V3_add1_i2d
Function at 0x100028ce
Capabilities:
Encode data using xor

Disassembly:
jmp 0x100aa4f0
mov eax, 0xc
call fcn.10001f96
mov eax, dword [esp + 0x10]
push ebx
test byte [eax + 0x10], 4
mov ecx, dword [eax + 4]
lea ebx, [ecx - 1]
je 0x100aa597
mov ecx, dword [eax + 8]
xor edx, edx
push ebp
xor ebp, ebp
mov dword [esp + 8], 0
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ecx
test ecx, ecx
jle 0x100aa581
mov ecx, dword [eax]
push esi
mov dword [esp + 0x10], ecx
push edi
push dword [ecx]
mov eax, ebp
xor eax, ebx
lea edi, [eax - 1]
not eax
shr edi, 0x1f
shr eax, 0x1f
and edi, eax
neg edi
mov esi, edi
or esi, dword [esp + 0x14]
call sym.libcrypto_1_1.dll_BN_num_bits_word
mov ecx, dword [esp + 0x18]
mov edx, esi
not edx
mov dword [esp + 0x14], esi
and edx, 0x20
and eax, edi
add edx, dword [esp + 0x24]
inc ebp
add edx, eax
add ecx, 4
add esp, 4
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], ecx
cmp ebp, dword [esp + 0x18]
jl 0x100aa533
pop edi
pop esi
mov eax, ebx
shr ebx, 0x1f
not eax
dec eax
shr eax, 0x1f
and eax, ebx
dec eax
pop ebp
and eax, edx
pop ebx
add esp, 0xc
ret
test ecx, ecx
jne 0x100aa5a2
xor eax, eax
pop ebx
add esp, 0xc
ret
mov eax, dword [eax]
push dword [eax + ebx*4]
call sym.libcrypto_1_1.dll_BN_num_bits_word
add esp, 4
shl ebx, 5
add eax, ebx
pop ebx
add esp, 0xc
ret

Function at 0x10002aae
Capabilities:
Hash data using sha256

Disassembly:
jmp 0x10175970
mov eax, dword [esp + 4]
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0x40
mov eax, 1
ret

Function at 0x10002abd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x101bb550
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.101ba5f8
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.101ba5ad
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.101ba5e8
adc al, 0xbf
ljmp 0
Function at 0x10002cd9
Capabilities:
Generate random numbers via winapi

Disassembly:
jmp 0x10161480
push ebx
push edi
mov edi, dword [esp + 0xc]
push 1
push edi
call fcn.10006073
mov ebx, eax
push ebx
push edi
call fcn.100052f9
add esp, 0x10
test eax, eax
je 0x101614cd
push esi
push 2
push ebx
push eax
xor esi, esi
push esi
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
cmove esi, ebx
lea eax, [esi*8]
push eax
push esi
push edi
call fcn.100023bf
push edi
call fcn.100043e0
add esp, 0x10
pop esi
test eax, eax
jne 0x101614d6
push edi
call fcn.100043e0
add esp, 4
pop edi
pop ebx
ret
Function at 0x10003049
Capabilities:
Inspect section memory permissions

Disassembly:
jmp 0x10198770
add dword [esp + 4], 0x1c
jmp sym.libcrypto_1_1.dll_X509V3_add1_i2d