joyce8/EMBER2024-capa huggingface dataset:
Function at 0x632de30d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0xc], 0xffffffc1
mov dword [esp + 4], 0x633e6000
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.msvcr100.dll_fopen
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x632de33d
mov eax, 0xffffffc1
jmp 0x632de3a8
mov dword [esp + 8], 0x40
lea eax, [ebp - 0x50]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.632de151
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x632de399
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x40
mov dword [esp + 4], 1
lea eax, [ebp - 0x50]
mov dword [esp], eax
call sub.msvcr100.dll_fwrite
cmp eax, 0x40
je 0x632de390
mov dword [ebp - 0xc], 0xffffffc1
jmp 0x632de39a
mov dword [ebp - 0xc], 0
jmp 0x632de39a
nop
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.msvcr100.dll_fclose
mov eax, dword [ebp - 0xc]
leave
ret

Function at 0x632e0343
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
cmp dword [ebp + 0xc], 0
jne 0x632e03fe
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0xf3bcc908
mov dword [eax + 0x14], 0x6a09e667
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0x84caa73b
mov dword [eax + 0x1c], 0xbb67ae85
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], 0xfe94f82b
mov dword [eax + 0x24], 0x3c6ef372
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], 0x5f1d36f1
mov dword [eax + 0x2c], 0xa54ff53a
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], 0xade682d1
mov dword [eax + 0x34], 0x510e527f
mov eax, dword [ebp + 8]
mov dword [eax + 0x38], 0x2b3e6c1f
mov dword [eax + 0x3c], 0x9b05688c
mov eax, dword [ebp + 8]
mov dword [eax + 0x40], 0xfb41bd6b
mov dword [eax + 0x44], 0x1f83d9ab
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], 0x137e2179
mov dword [eax + 0x4c], 0x5be0cd19
jmp 0x632e0486
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0xc1059ed8
mov dword [eax + 0x14], 0xcbbb9d5d
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0x367cd507
mov dword [eax + 0x1c], 0x629a292a
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], 0x3070dd17
mov dword [eax + 0x24], 0x9159015a
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], 0xf70e5939
mov dword [eax + 0x2c], 0x152fecd8
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], 0xffc00b31
mov dword [eax + 0x34], 0x67332667
mov eax, dword [ebp + 8]
mov dword [eax + 0x38], 0x68581511
mov dword [eax + 0x3c], 0x8eb44a87
mov eax, dword [ebp + 8]
mov dword [eax + 0x40], 0x64f98fa7
mov dword [eax + 0x44], 0xdb0c2e0d
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], 0xbefa4fa4
mov dword [eax + 0x4c], 0x47b5481d
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0xd0], edx
nop
pop ebp
ret
Function at 0x632e281b
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call eax
sub esp, 4
lea eax, [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
call eax
sub esp, 4
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 4]
mov eax, dword [eax]
sub ecx, eax
sbb ebx, edx
mov eax, ecx
mov edx, ebx
imul ebx, edx, 0x3e8
imul ecx, eax, 0
add ecx, ebx
mov ebx, 0x3e8
mul ebx
add ecx, edx
mov edx, ecx
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.6337fa80
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0xc], 0
je 0x632e28a7
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call eax
sub esp, 4
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x632e28da
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [0x67582fa4], 0
mov eax, dword [ebp + 8]
imul eax, eax, 0x3e8
mov dword [0x67582fa8], eax
lea eax, [ebp - 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x632e28af
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateThread]
call eax
sub esp, 0x18
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
nop
leave
ret
Function at 0x632f340c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
jmp 0x632f3499
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, edx
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, edx
movzx eax, byte [eax]
xor eax, ecx
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x632f3491
cmp byte [ebp - 0xd], 0x20
jne 0x632f348a
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x60
jbe 0x632f346c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x7a
jbe 0x632f3494
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x40
jbe 0x632f348a
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x5a
jbe 0x632f3494
mov eax, 0xffffffff
jmp 0x632f34a6
nop
jmp 0x632f3495
nop
add dword [ebp - 4], 1
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jb 0x632f3427
mov eax, 0
leave
ret
Function at 0x632f65e4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
jmp 0x632f668b
cmp dword [ebp - 0x10], 0
jne 0x632f664e
mov eax, dword [ebp + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.632f61de
mov dword [ebp - 0xc], 0x10
jmp 0x632f6645
mov eax, dword [ebp - 0xc]
lea edx, [eax - 1]
mov eax, dword [ebp + 0x14]
add eax, edx
movzx edx, byte [eax]
add edx, 1
mov byte [eax], dl
movzx eax, byte [eax]
test al, al
jne 0x632f664d
sub dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
jg 0x632f6627
jmp 0x632f664e
nop
mov eax, dword [ebp + 0x1c]
lea edx, [eax + 1]
mov dword [ebp + 0x1c], edx
movzx eax, byte [eax]
movzx eax, al
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x10]
add eax, edx
movzx eax, byte [eax]
xor ecx, eax
mov eax, dword [ebp + 0x20]
lea edx, [eax + 1]
mov dword [ebp + 0x20], edx
mov edx, ecx
mov byte [eax], dl
mov eax, dword [ebp - 0x10]
add eax, 1
and eax, 0xf
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
lea edx, [eax - 1]
mov dword [ebp + 0xc], edx
test eax, eax
jne 0x632f65f7
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, 0
leave
ret
Function at 0x633010b5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [esp + 4], 0x633ed51a
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcr100.dll_fopen
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x633010e1
mov eax, 0xffffcb80
jmp 0x63301223
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.msvcr100.dll_fseek
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.msvcr100.dll_ftell
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x63301125
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.msvcr100.dll_fclose
mov eax, 0xffffcb80
jmp 0x63301223
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.msvcr100.dll_fseek
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x6330117a
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, 1
mov dword [esp + 4], eax
mov dword [esp], 1
call sub.msvcr100.dll_calloc
mov edx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x6330118f
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.msvcr100.dll_fclose
mov eax, 0xffffcc00
jmp 0x63301223
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msvcr100.dll_fread
mov edx, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp edx, eax
je 0x633011de
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.msvcr100.dll_fclose
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcr100.dll_free
mov eax, 0xffffcb80
jmp 0x63301223
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.msvcr100.dll_fclose
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, edx
mov byte [eax], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esp + 4], 0x633ed51d
mov dword [esp], eax
call sub.msvcr100.dll_strstr
test eax, eax
je 0x6330121e
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
lea edx, [eax + 1]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov eax, 0
leave
ret
Function at 0x6330bc4f
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x64
cmp dword [ebp + 8], 0
je 0x6330bc6f
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x6330bc6f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
test eax, eax
jne 0x6330bc79
mov eax, 0xffffaf00
jmp 0x6330bdef
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0x10], eax
jbe 0x6330bce5
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 4]
mov dword [esp], edx
call eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 4]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], ecx
mov dword [esp], edx
call eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x54]
mov dword [esp + 4], eax
mov dword [esp], ecx
call edx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x54]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x36
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.msvcr100.dll_memset
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5c
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.msvcr100.dll_memset
mov dword [ebp - 0xc], 0
jmp 0x6330bd94
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx ebx, byte [eax]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, edx
xor ebx, ecx
mov edx, ebx
mov byte [eax], dl
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx ebx, byte [eax]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
add eax, edx
xor ebx, ecx
mov edx, ebx
mov byte [eax], dl
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x10]
jb 0x6330bd48
mov dword [esp + 4], 0x40
lea eax, [ebp - 0x54]
mov dword [esp], eax
call fcn.6330b6d8
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 4]
mov dword [esp], edx
call eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp + 8]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
mov ecx, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 4]
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x10]
mov dword [esp + 4], ecx
mov dword [esp], edx
call eax
mov eax, 0
add esp, 0x64
pop ebx
pop ebp
ret
Function at 0x6330dca7
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], 0x633f0080
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0
je 0x6330dcc6
cmp dword [ebp + 8], 0
jne 0x6330dd11
mov eax, 0
jmp 0x6330dd1f
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp edx, eax
jne 0x6330dd07
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcr100.dll_memcmp
test eax, eax
jne 0x6330dd07
mov eax, dword [ebp - 0xc]
jmp 0x6330dd1f
add dword [ebp - 0xc], 0x18
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
jne 0x6330dccd
mov eax, 0
leave
ret

Function at 0x6330dde7
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], 0x633f0260
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0
je 0x6330de06
cmp dword [ebp + 8], 0
jne 0x6330de51
mov eax, 0
jmp 0x6330de5f
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp edx, eax
jne 0x6330de47
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcr100.dll_memcmp
test eax, eax
jne 0x6330de47
mov eax, dword [ebp - 0xc]
jmp 0x6330de5f
add dword [ebp - 0xc], 0x14
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
jne 0x6330de0d
mov eax, 0
leave
ret
Function at 0x633100da
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [esp + 4], 0x633f09e0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcr100.dll_fopen
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x63310106
mov eax, 0xffffc200
jmp 0x63310248
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.msvcr100.dll_fseek
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.msvcr100.dll_ftell
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x6331014a
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.msvcr100.dll_fclose
mov eax, 0xffffc200
jmp 0x63310248
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.msvcr100.dll_fseek
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x6331019f
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, 1
mov dword [esp + 4], eax
mov dword [esp], 1
call sub.msvcr100.dll_calloc
mov edx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x633101b4
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.msvcr100.dll_fclose
mov eax, 0xffffc080
jmp 0x63310248
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msvcr100.dll_fread
mov edx, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp edx, eax
je 0x63310203
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.msvcr100.dll_fclose
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcr100.dll_free
mov eax, 0xffffc200
jmp 0x63310248
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.msvcr100.dll_fclose
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, edx
mov byte [eax], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esp + 4], str._____BEGIN
mov dword [esp], eax
call sub.msvcr100.dll_strstr
test eax, eax
je 0x63310243
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
lea edx, [eax + 1]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov eax, 0
leave
ret
Function at 0x63319b2b
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
cmp dword [ebp + 0xc], 0
jne 0x63319b99
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x6a09e667
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xbb67ae85
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0x3c6ef372
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0xa54ff53a
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0x510e527f
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x9b05688c
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], 0x1f83d9ab
mov eax, dword [ebp + 8]
mov dword [eax + 0x24], 0x5be0cd19
jmp 0x63319be9
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0xc1059ed8
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x367cd507
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0x3070dd17
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0xf70e5939
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0xffc00b31
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x68581511
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], 0x64f98fa7
mov eax, dword [ebp + 8]
mov dword [eax + 0x24], 0xbefa4fa4
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x68], edx
nop
pop ebp
ret
Function at 0x6331f85e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0xc], 0xffff8f80
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, 0xc
mov edx, dword [ebp + 0x10]
mov dword [esp + 8], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.6330041c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x6331f8cd
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], str.mbedtls_dhm_read_params
mov dword [esp + 0xc], 0x74c
mov dword [esp + 8], str.ssl_cli.c
mov dword [esp + 4], 2
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.6331b645
mov eax, dword [ebp - 0xc]
jmp 0x6331f9eb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0xc]
lea edx, [eax*8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc4]
cmp edx, eax
jae 0x6331f940
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [eax + 0xc4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0xc]
shl eax, 3
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], str.DHM_prime_too_short:__d____d
mov dword [esp + 0xc], 0x754
mov dword [esp + 8], str.ssl_cli.c
mov dword [esp + 4], 1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.6331b580
mov eax, 0xffff8500
jmp 0x6331f9eb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x633f4fdf
mov dword [esp + 0xc], 0x758
mov dword [esp + 8], str.ssl_cli.c
mov dword [esp + 4], 3
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.6331bac1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, 0x1c
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x633f4fe7
mov dword [esp + 0xc], 0x759
mov dword [esp + 8], str.ssl_cli.c
mov dword [esp + 4], 3
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.6331bac1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, 0x40
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x633f4fef
mov dword [esp + 0xc], 0x75a
mov dword [esp + 8], str.ssl_cli.c
mov dword [esp + 4], 3
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.6331bac1
mov eax, dword [ebp - 0xc]
leave
ret
Function at 0x6332ae38
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x20
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
add eax, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
jmp 0x6332aef1
mov eax, dword [ebp - 8]
add eax, 1
and eax, 0xff
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
add eax, edx
and eax, 0xff
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
add eax, edx
mov edx, dword [ebp - 0x1c]
mov byte [eax], dl
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
add eax, edx
mov edx, dword [ebp - 0x18]
mov byte [eax], dl
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
add eax, edx
movzx ebx, byte [eax]
mov eax, dword [ebp - 0x18]
mov edx, eax
mov eax, dword [ebp - 0x1c]
add eax, edx
movzx eax, al
mov edx, dword [ebp - 0x14]
add eax, edx
movzx ecx, byte [eax]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
add eax, edx
xor ebx, ecx
mov edx, ebx
mov byte [eax], dl
add dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
jb 0x6332ae65
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [eax], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edx
mov eax, 0
add esp, 0x20
pop ebx
pop ebp
ret