joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401069
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x825030]
jne 0x401073
repz ret
jmp fcn.00401e41

Function at 0x408aeb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404d3a
and dword [ebp - 4], 0
cmp dword [0x827b68], 0
mov ebx, eax
jne 0x408b9c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408c4d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408c4d
push eax
call fcn.00404cc8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x827b68], eax
call esi
push eax
call fcn.00404cc8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x827b6c], eax
call esi
push eax
call fcn.00404cc8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x827b70], eax
call esi
push eax
call fcn.00404cc8
pop ecx
mov dword [0x827b78], eax
test eax, eax
je 0x408b9c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404cc8
pop ecx
mov dword [0x827b74], eax
mov eax, dword [0x827b74]
cmp eax, ebx
je 0x408bf4
cmp dword [0x827b78], ebx
je 0x408bf4
push eax
call fcn.00404d43
push dword [0x827b78]
mov esi, eax
call fcn.00404d43
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408bf4
test edi, edi
je 0x408bf4
call esi
test eax, eax
je 0x408beb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408beb
test byte [ebp - 0xc], 1
jne 0x408bf4
or dword [ebp + 0x10], 0x200000
jmp 0x408c2d
mov eax, dword [0x827b6c]
cmp eax, ebx
je 0x408c2d
push eax
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c2d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408c2d
mov eax, dword [0x827b70]
cmp eax, ebx
je 0x408c2d
push eax
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c2d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x827b68]
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c4d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408c4f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40af50
Capabilities:
Set console window title

Disassembly:
sub esp, 0x820
mov eax, dword [0x825030]
xor eax, esp
mov dword [esp + 0x81c], eax
mov eax, dword [0x300555c]
push ebx
mov ebx, dword [0x3005280]
push esi
mov esi, dword [0x825f60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40af91
push str.Kapoza_yodiralozor
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov eax, dword [0x300555c]
mov dword [0x827d0c], esi
cmp eax, 0x114e
jne 0x40afbb
lea eax, [esp + 0xc]
push eax
push str.Gijetuhe_batawuwafadis_fomikayemes_zeruru
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [0x300555c]
cmp eax, 0x2f
jne 0x40afdb
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
call fcn.0040ae50
mov ecx, dword [esp + 0x828]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401069
add esp, 0x820
ret
Function at 0x401060
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push edi
mov dword [ebp - 0x14], 0
mov ecx, 0x11
xor eax, eax
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x58], 0x44
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 0x100
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x58]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
push 0x406030
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4010e0
Capabilities:
Create process on windows
Self delete
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
lea ecx, [ebp - 0x208]
push ecx
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov edi, str._c_del
lea edx, [ebp - 0x104]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x208]
lea edx, [ebp - 0x104]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
add edi, 0xffffffff
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.____NUL
lea edx, [ebp - 0x104]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
add edi, 0xffffffff
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
push 0
lea eax, [ebp - 0x104]
push eax
push str.cmd.exe
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call fcn.004016cc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4011e0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
push edi
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 1
mov byte [ebp - 0x108], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call fcn.00401228
Function at 0x401300
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
mov dword [ebp - 8], ecx
push eax
rdtsc
push eax
call fcn.0040132b
Function at 0x4014d8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3ea8
call fcn.004414e0
sub esp, eax
lea eax, [ebp - 0x3e98]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov dword [esp + 8], 0x3e80
mov dword [esp + 4], 0
lea eax, [ebp - 0x3e98]
mov dword [esp], eax
call sym._memset
mov dword [esp + 8], 0x3e80
lea eax, [ebp - 0x3e98]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dbg.mbedtls_pk_write_key_pem
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x401540
mov eax, dword [ebp - 0x14]
jmp 0x4015bc
lea eax, [ebp - 0x3e98]
mov dword [esp], eax
call sym._strlen
mov dword [ebp - 0x10], eax
mov dword [esp + 4], 0x444079
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x401574
mov eax, 0xffffffff
jmp 0x4015bc
mov eax, dword [ebp - 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._fwrite
cmp dword [ebp - 0x10], eax
je 0x4015ac
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._fclose
mov eax, 0xffffffff
jmp 0x4015bc
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._fclose
mov eax, 0
leave
ret

Function at 0x4015be
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3ea8
call fcn.004414e0
sub esp, eax
lea eax, [ebp - 0x3e98]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov dword [esp + 8], 0x3e80
mov dword [esp + 4], 0
lea eax, [ebp - 0x3e98]
mov dword [esp], eax
call sym._memset
mov dword [esp + 8], 0x3e80
lea eax, [ebp - 0x3e98]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dbg.mbedtls_pk_write_pubkey_pem
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x401626
mov eax, dword [ebp - 0x14]
jmp 0x4016a2
lea eax, [ebp - 0x3e98]
mov dword [esp], eax
call sym._strlen
mov dword [ebp - 0x10], eax
mov dword [esp + 4], 0x444079
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40165a
mov eax, 0xffffffff
jmp 0x4016a2
mov eax, dword [ebp - 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._fwrite
cmp dword [ebp - 0x10], eax
je 0x401692
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._fclose
mov eax, 0xffffffff
jmp 0x4016a2
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._fclose
mov eax, 0
leave
ret
Function at 0x403e48
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
jmp 0x403eef
mov dword [esp + 8], 0x10
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
lea eax, [ebp - 0x1a]
mov dword [esp], eax
call sym._memcpy
mov eax, dword [ebp + 0x14]
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 dbg.mbedtls_aes_crypt_ecb
cmp dword [ebp + 0xc], 0
jne 0x403e9e
mov eax, dword [ebp + 0x18]
movzx eax, byte [eax]
mov byte [ebp - 0xa], al
mov eax, dword [ebp + 0x14]
movzx ebx, byte [eax]
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp + 0x18], edx
movzx ecx, byte [eax]
mov eax, dword [ebp + 0x1c]
lea edx, [eax + 1]
mov dword [ebp + 0x1c], edx
xor ebx, ecx
mov edx, ebx
mov byte [eax], dl
movzx eax, byte [eax]
mov byte [ebp - 9], al
cmp dword [ebp + 0xc], 1
jne 0x403ed2
movzx eax, byte [ebp - 9]
mov byte [ebp - 0xa], al
lea eax, [ebp - 0x1a]
add eax, 1
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call sym._memcpy
mov eax, dword [ebp + 0x10]
lea edx, [eax - 1]
mov dword [ebp + 0x10], edx
test eax, eax
jne 0x403e54
mov eax, 0
add esp, 0x34
pop ebx
pop ebp
ret

Function at 0x403f0b
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 0x403fb2
cmp dword [ebp - 0x10], 0
jne 0x403f75
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 dbg.mbedtls_aes_crypt_ecb
mov dword [ebp - 0xc], 0x10
jmp 0x403f6c
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 0x403f74
sub dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
jg 0x403f4e
jmp 0x403f75
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 0x403f1e
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, 0
leave
ret
Function at 0x406bd4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9f8
mov dword [esp + 8], 0x9b4
mov dword [esp + 4], 0
lea eax, [ebp - 0x9cc]
mov dword [esp], eax
call sym._memset
lea eax, [ebp - 0x18]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x9b2
lea eax, [ebp - 0x9cc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dbg.mbedtls_mpi_write_string
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x406cfc
cmp dword [ebp + 8], 0
jne 0x406c40
mov dword [ebp + 8], 0x444871
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x9cc]
mov dword [esp], eax
call sym._strlen
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
lea edx, [eax + 1]
mov dword [ebp - 0x14], edx
mov byte [ebp + eax - 0x9cc], 0xd
mov eax, dword [ebp - 0x14]
lea edx, [eax + 1]
mov dword [ebp - 0x14], edx
mov byte [ebp + eax - 0x9cc], 0xa
cmp dword [ebp + 0x14], 0
je 0x406cdd
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fwrite
cmp dword [ebp - 0x10], eax
jne 0x406cd6
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
lea eax, [ebp - 0x9cc]
mov dword [esp], eax
call sym._fwrite
cmp dword [ebp - 0x14], eax
je 0x406cfd
mov eax, 0xfffffffe
jmp 0x406d00
lea eax, [ebp - 0x9cc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], 0x444872
call sym._printf
jmp 0x406cfd
nop
mov eax, dword [ebp - 0xc]
leave
ret
Function at 0x4147e4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
cmp dword [ebp + 8], 0
jne 0x4147fd
mov eax, 0xffffaf00
jmp 0x4148f9
mov dword [esp + 4], 0x447b70
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x414823
mov eax, 0xffffae00
jmp 0x4148f9
lea eax, [ebp - 0x20]
mov dword [esp], eax
call dbg.mbedtls_md_init
mov dword [esp + 8], 0
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x20]
mov dword [esp], eax
call dbg.mbedtls_md_setup
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4148df
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x1c]
mov dword [esp], edx
call eax
jmp 0x414884
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov dword [esp + 8], ecx
lea ecx, [ebp - 0x420]
mov dword [esp + 4], ecx
mov dword [esp], edx
call eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x400
mov dword [esp + 4], 1
lea eax, [ebp - 0x420]
mov dword [esp], eax
call sym._fread
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x414865
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
and eax, 0x20
test eax, eax
je 0x4148c8
mov dword [ebp - 0xc], 0xffffae00
jmp 0x4148e0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 4], ecx
mov dword [esp], edx
call eax
jmp 0x4148e0
nop
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._fclose
lea eax, [ebp - 0x20]
mov dword [esp], eax
call dbg.mbedtls_md_free
mov eax, dword [ebp - 0xc]
leave
ret
Function at 0x4148fb
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x64
cmp dword [ebp + 8], 0
je 0x41491b
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x41491b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
test eax, eax
jne 0x414925
mov eax, 0xffffaf00
jmp 0x414a9b
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0x10], eax
jbe 0x414991
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 eax, dword [eax + 0x18]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 4]
lea ecx, [ebp - 0x54]
mov dword [esp + 4], ecx
mov dword [esp], edx
call eax
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 sym._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 sym._memset
mov dword [ebp - 0xc], 0
jmp 0x414a40
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 0x4149f4
mov dword [esp + 4], 0x40
lea eax, [ebp - 0x54]
mov dword [esp], eax
call sym._mbedtls_zeroize_3
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 0x414df4
Capabilities:
Hash data with md5

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
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x10325476
nop
pop ebp
ret

Function at 0x41690f
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], 0x448780
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0
je 0x41692e
cmp dword [ebp + 8], 0
jne 0x416979
mov eax, 0
jmp 0x416987
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp edx, eax
jne 0x41696f
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 sym._memcmp
test eax, eax
jne 0x41696f
mov eax, dword [ebp - 0xc]
jmp 0x416987
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 0x416935
mov eax, 0
leave
ret

Function at 0x4169fa
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0x448780
jmp 0x416a3f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
cmp dword [ebp + 8], eax
jne 0x416a3b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
cmp dword [ebp + 0xc], eax
jne 0x416a3b
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
mov eax, 0
jmp 0x416a4d
add dword [ebp - 4], 0x18
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
jne 0x416a09
mov eax, 0xffffffd2
leave
ret

Function at 0x416a4f
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], 0x448940
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0
je 0x416a6e
cmp dword [ebp + 8], 0
jne 0x416ab9
mov eax, 0
jmp 0x416ac7
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp edx, eax
jne 0x416aaf
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 sym._memcmp
test eax, eax
jne 0x416aaf
mov eax, dword [ebp - 0xc]
jmp 0x416ac7
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 0x416a75
mov eax, 0
leave
ret
Function at 0x416afc
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0x448940
jmp 0x416b36
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
cmp dword [ebp + 8], eax
jne 0x416b32
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov eax, 0
jmp 0x416b44
add dword [ebp - 4], 0x14
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
jne 0x416b0b
mov eax, 0xffffffd2
leave
ret

Function at 0x418aa3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [esp + 4], 0x448f40
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x418acf
mov eax, 0xffffc200
jmp 0x418c16
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._fseek
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._ftell
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x418b13
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._fclose
mov eax, 0xffffc200
jmp 0x418c16
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._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 0x418b68
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, 1
mov dword [esp + 4], eax
mov dword [esp], 1
call sym._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 0x418b7d
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._fclose
mov eax, 0xffffc080
jmp 0x418c16
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 sym._fread
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
cmp eax, edx
je 0x418bd1
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym.___mingw_aligned_free
nop
mov eax, 0xffffc200
jmp 0x418c16
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._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], 0x448f43
mov dword [esp], eax
call sym._strstr
test eax, eax
je 0x418c11
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