joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1d0e960
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x1e94008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, edx
xorps xmm0, xmm0
mov eax, 2
push 0x7f
push ecx
movups xmmword [esi], xmm0
mov word [esi], ax
lea eax, [ebp - 0x84]
push eax
call fcn.01e0d270
lea eax, [ebp - 0x84]
mov byte [ebp - 5], 0
push 0x3a
push eax
call fcn.01e04d70
add esp, 0x14
test eax, eax
je 0x1d0e9c2
mov byte [eax], 0
inc eax
push eax
call fcn.01e0d24c
add esp, 4
push eax
call dword [sym.imp.WS2_32.dll_htons]
jmp 0x1d0e9c4
xor eax, eax
mov word [esi + 2], ax
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x1d0e9fc
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x1d0ea0d
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x1d0ea0d
mov eax, dword [eax]
mov dword [esi + 4], eax
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.01e029b1
mov esp, ebp
pop ebp
ret

Function at 0x1d0eb50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x400]
push 0x400
push eax
call dword [sym.imp.vstdlib_d.dll_V_vsnprintf]
add esp, 0x10
lea eax, [ebp - 0x400]
push 0x10
push 0x1e3e644
push eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
push 0xffffffffffffffff
mov dword [eax], eax
call fcn.01e13fac
int3

Function at 0x1d0eba0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x3c
mov eax, dword [0x1e94008]
xor eax, esp
mov dword [esp + 0x38], eax
push esi
mov ecx, str._heapsize
call fcn.01d0c460
test eax, eax
je 0x1d0ebed
mov ecx, dword [0x1ea221c]
dec ecx
cmp eax, ecx
jge 0x1d0ebed
mov ecx, dword [0x1ea2218]
push dword [ecx + eax*4 + 4]
call fcn.01e0d24c
mov esi, eax
add esp, 4
shl esi, 0xa
mov dword [0x1ea22a8], esi
jmp 0x1d0ebf3
mov esi, dword [0x1ea22a8]
cmp esi, 0xe00000
jge 0x1d0ec24
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1d0ec1d
cmp eax, 0xf00000
jb 0x1d0ec6a
mov esi, 0x2800000
jmp 0x1d0ec2e
mov eax, 0x8000000
cmp esi, eax
cmovg esi, eax
mov ecx, str._minmemory
call fcn.01d0c460
test eax, eax
mov ecx, 0xe00000
cmovne esi, ecx
push esi
push 0
mov dword [0x1ea22a8], esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x1ea22a4], eax
test eax, eax
je 0x1d0ec7f
mov ecx, dword [esp + 0x3c]
pop esi
xor ecx, esp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
push dword [0x1ea22a8]
push 0x1e3e65c
push str._s:_Available_memory_less_than_15MB_____i
call fcn.01d0eb50
movd xmm0, dword [0x1ea22a8]
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1e7dd10]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.Sys_InitMemory
push str._s:_Unable_to_allocate__.2f_MB_n
call fcn.01d0eb50
int3
Function at 0x1d10920
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x1d109dc
push esi
push 1
push 1
push edi
call fcn.01e0de2f
push esi
push 1
lea eax, [edi + 1]
push 1
push eax
call fcn.01e0de2f
push esi
push 1
lea eax, [edi + 2]
push 1
push eax
call fcn.01e0de2f
push esi
push 1
lea eax, [edi + 3]
push 2
push eax
call fcn.01e0de2f
add esp, 0x40
lea eax, [edi + 5]
push esi
push 1
push 2
push eax
call fcn.01e0de2f
push esi
push 1
lea eax, [edi + 7]
push 1
push eax
call fcn.01e0de2f
push esi
push 1
lea eax, [edi + 8]
push 2
push eax
call fcn.01e0de2f
push esi
push 1
lea eax, [edi + 0xa]
push 2
push eax
call fcn.01e0de2f
add esp, 0x40
lea eax, [edi + 0xc]
push esi
push 1
push 2
push eax
call fcn.01e0de2f
push esi
push 1
lea eax, [edi + 0xe]
push 2
push eax
call fcn.01e0de2f
push esi
push 1
lea eax, [edi + 0x10]
push 1
push eax
call fcn.01e0de2f
push esi
push 1
lea eax, [edi + 0x11]
push 1
push eax
call fcn.01e0de2f
add esp, 0x40
pop edi
pop esi
ret
Function at 0x1d11480
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, ecx
push esi
mov dword [ebp - 0x18], eax
mov esi, dword [eax + 0x57c]
mov edx, dword [eax + 0x580]
mov dword [ebp - 0x14], edx
test esi, esi
jle 0x1d11699
test edx, edx
jle 0x1d11699
push ebx
lea eax, [esi - 1]
push edi
mov edi, esi
test esi, eax
je 0x1d114ca
mov ecx, 1
cmp esi, ecx
jle 0x1d114c8
nop
sar edi, 1
inc ecx
cmp edi, 1
jg 0x1d114c0
shl edi, cl
cmp edi, 0x40
jl 0x1d114d1
jle 0x1d114d6
mov edi, 0x40
lea eax, [edx - 1]
mov ebx, edx
test edx, eax
je 0x1d114f2
mov ecx, 1
cmp edx, ecx
jle 0x1d114f0
sar ebx, 1
inc ecx
cmp ebx, 1
jg 0x1d114e8
shl ebx, cl
cmp ebx, 0x40
jl 0x1d114f9
jle 0x1d114fe
mov ebx, 0x40
movd xmm1, esi
movd xmm2, edi
movd xmm0, edx
movd xmm3, ebx
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm3, xmm3
divss xmm2, xmm1
divss xmm3, xmm0
cmp esi, edx
jne 0x1d11568
comiss xmm3, xmm2
jbe 0x1d11542
mulss xmm0, xmm2
mov ecx, edi
mov dword [ebp - 8], ecx
addss xmm0, dword [0x1e7de6c]
cvttss2si eax, xmm0
jmp 0x1d1156f
comiss xmm2, xmm3
mov eax, ebx
mov dword [ebp - 4], eax
jbe 0x1d11561
mulss xmm1, xmm3
addss xmm1, dword [0x1e7de6c]
cvttss2si ecx, xmm1
mov dword [ebp - 8], ecx
jmp 0x1d11572
mov ecx, edi
mov dword [ebp - 8], ecx
jmp 0x1d11572
mov eax, ebx
mov dword [ebp - 8], edi
mov ecx, edi
mov dword [ebp - 4], eax
imul eax, ecx
shl eax, 2
push eax
call fcn.01e0626e
add esp, 4
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push dword [ebp - 8]
push eax
push dword [ebp - 0x14]
push esi
push dword [ebp + 8]
call fcn.01d11730
mov eax, ebx
imul eax, edi
shl eax, 2
push eax
mov dword [ebp - 0x14], eax
call fcn.01e0626e
add esp, 4
mov dword [ebp + 8], eax
push ebx
push edi
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.01d11a50
push 0x1fffc
call fcn.01e0626e
mov esi, eax
mov dword [ebp - 8], 0
push 0
push dword [ebp + 0xc]
mov edx, 0x1fffc
mov dword [ebp - 0xc], esi
mov ecx, esi
call fcn.01d1a510
push esi
call dword [sym.imp.vstdlib_d.dll_V_FixDoubleSlashes]
add esp, 0x10
lea ecx, [ebp - 0xc]
call fcn.01d171a0
push 0x1e3f6f0
push dword [ebp - 8]
call fcn.01e0d942
mov esi, eax
add esp, 8
test esi, esi
jne 0x1d11628
push dword [ebp - 0x10]
call fcn.01e06279
push dword [ebp + 8]
call fcn.01e06279
add esp, 8
mov esi, 5
jmp 0x1d1166e
mov edx, dword [ebp - 0x18]
mov ecx, esi
mov word [edx + 0x574], di
mov word [edx + 0x576], bx
add edx, 0x568
call fcn.01d10920
mov ebx, dword [ebp - 0x10]
push esi
push dword [ebp - 0x14]
push 1
push ebx
call fcn.01e0de2f
push esi
call fcn.01e0df09
push ebx
call fcn.01e06279
push dword [ebp + 8]
call fcn.01e06279
add esp, 0x1c
xor esi, esi
mov eax, dword [ebp - 8]
pop edi
pop ebx
test eax, eax
je 0x1d11680
push eax
call fcn.01e06279
add esp, 4
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x1d11690
push ecx
call fcn.01e06279
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, 3
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1d13ff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], esi
test esi, esi
jne 0x1d1400a
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov ebx, esi
mov edi, esi
mov esi, dword [ebp - 4]
xor edx, edx
mov eax, ebx
mov ecx, edx
xor ecx, edi
and al, 1
cmove ecx, edx
add edi, edi
mov eax, edi
mov edx, ecx
xor eax, esi
cmp edi, 0x100
cmovb eax, edi
shr ebx, 1
mov edi, eax
jne 0x1d14015
mov esi, dword [ebp - 8]
xor edi, edi
mov ebx, esi
test edx, edx
je 0x1d1406a
mov esi, dword [ebp - 4]
mov eax, edx
mov ecx, edi
xor ecx, ebx
and al, 1
cmove ecx, edi
add ebx, ebx
mov eax, ebx
mov edi, ecx
xor eax, esi
cmp ebx, 0x100
cmovb eax, ebx
shr edx, 1
mov ebx, eax
jne 0x1d14045
mov esi, dword [ebp - 8]
xor edx, edx
mov ebx, edi
test edi, edi
je 0x1d1409a
mov esi, dword [ebp - 4]
mov eax, edi
mov ecx, edx
xor ecx, ebx
and al, 1
cmove ecx, edx
add ebx, ebx
mov eax, ebx
mov edx, ecx
xor eax, esi
cmp ebx, 0x100
cmovb eax, ebx
shr edi, 1
mov ebx, eax
jne 0x1d14075
mov esi, dword [ebp - 8]
xor edi, edi
test edx, edx
je 0x1d140c3
mov ecx, edi
mov eax, edx
xor ecx, esi
and al, 1
cmove ecx, edi
add esi, esi
mov edi, ecx
mov ecx, esi
xor ecx, dword [ebp - 4]
cmp esi, 0x100
cmovb ecx, esi
shr edx, 1
mov esi, ecx
jne 0x1d140a0
mov eax, edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1d14290
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
movzx ebx, byte [edx]
movzx eax, byte [edx + 1]
movzx ecx, byte [edx + 5]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or eax, ecx
mov dword [ebp - 4], ebx
movzx ecx, byte [edx + 6]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 7]
mov edx, dword [esi + 4]
shl eax, 8
or eax, ecx
test edx, edx
jle 0x1d14411
push edi
mov edi, dword [esi + 8]
lea ecx, [edx - 1]
add edi, 0x10
shr ecx, 1
inc ecx
mov dword [ebp + 8], edi
mov dword [ebp - 8], ecx
nop dword [eax + eax]
mov ebx, eax
mov ecx, eax
shr ecx, 0x10
mov edx, eax
and ecx, 0x3ff
ror ebx, 0xe
and edx, 0x3ff00
and ebx, 0xffc00
or ebx, ecx
shl edx, 2
mov ecx, eax
and ecx, 0x3ff
or edx, ecx
mov ecx, edx
xor ecx, ebx
and ecx, dword [edi - 8]
mov edi, dword [edi - 0x10]
mov esi, ecx
xor esi, edx
xor edi, ecx
mov ecx, dword [ebp + 8]
xor edi, ebx
xor esi, dword [ecx - 0xc]
mov ecx, edi
mov edx, esi
shr ecx, 0xa
shr edx, 0xa
and esi, 0x3ff
and edi, 0x3ff
mov edx, dword [edx*4 + 0x205d790]
or edx, dword [ecx*4 + 0x205b790]
or edx, dword [esi*4 + 0x205e790]
or edx, dword [edi*4 + 0x205c790]
mov esi, dword [ebp - 4]
xor esi, edx
mov ebx, esi
mov dword [ebp - 4], esi
mov ecx, esi
ror ebx, 0xe
shr ecx, 0x10
mov edx, esi
and ecx, 0x3ff
and edx, 0x3ff00
shl edx, 2
and ebx, 0xffc00
or ebx, ecx
mov ecx, esi
mov esi, dword [ebp + 8]
and ecx, 0x3ff
or edx, ecx
mov ecx, edx
xor ecx, ebx
and ecx, dword [esi + 4]
mov esi, ecx
xor esi, edx
mov edx, dword [ebp + 8]
mov edi, dword [edx - 4]
xor esi, dword [edx]
xor edi, ecx
xor edi, ebx
mov edx, esi
shr edx, 0xa
mov ecx, edi
shr ecx, 0xa
and esi, 0x3ff
and edi, 0x3ff
mov edx, dword [edx*4 + 0x205d790]
or edx, dword [ecx*4 + 0x205b790]
or edx, dword [esi*4 + 0x205e790]
or edx, dword [edi*4 + 0x205c790]
mov edi, dword [ebp + 8]
xor eax, edx
add edi, 0x18
sub dword [ebp - 8], 1
mov dword [ebp + 8], edi
jne 0x1d14300
mov ebx, dword [ebp - 4]
pop edi
mov ecx, dword [ebp + 0xc]
pop esi
mov byte [ecx + 3], al
mov byte [ecx + 7], bl
shr eax, 8
mov byte [ecx + 2], al
shr ebx, 8
mov byte [ecx + 6], bl
shr eax, 8
shr ebx, 8
mov byte [ecx + 1], al
mov byte [ecx + 5], bl
shr eax, 8
shr ebx, 8
mov byte [ecx], al
mov byte [ecx + 4], bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1d14450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
movzx ebx, byte [edx]
mov edi, ecx
movzx eax, byte [edx + 1]
movzx ecx, byte [edx + 5]
shl ebx, 8
mov esi, dword [edi + 4]
or ebx, eax
movzx eax, byte [edx + 2]
dec esi
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or eax, ecx
mov dword [ebp - 4], ebx
movzx ecx, byte [edx + 6]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 7]
shl eax, 8
or eax, ecx
test esi, esi
jle 0x1d145d2
mov edx, dword [edi + 8]
lea ecx, [esi - 1]
lea ecx, [esi + ecx*2]
lea edi, [edx + ecx*4]
lea ecx, [esi - 1]
mov dword [ebp + 8], edi
shr ecx, 1
inc ecx
mov dword [ebp - 8], ecx
mov ebx, eax
mov ecx, eax
shr ecx, 0x10
mov edx, eax
and ecx, 0x3ff
ror ebx, 0xe
and edx, 0x3ff00
and ebx, 0xffc00
or ebx, ecx
shl edx, 2
mov ecx, eax
and ecx, 0x3ff
or edx, ecx
mov ecx, edx
xor ecx, ebx
and ecx, dword [edi + 0x10]
mov edi, dword [edi + 8]
mov esi, ecx
xor esi, edx
xor edi, ecx
mov ecx, dword [ebp + 8]
xor edi, ebx
xor esi, dword [ecx + 0xc]
mov ecx, edi
mov edx, esi
shr ecx, 0xa
shr edx, 0xa
and esi, 0x3ff
and edi, 0x3ff
mov edx, dword [edx*4 + 0x205d790]
or edx, dword [ecx*4 + 0x205b790]
or edx, dword [esi*4 + 0x205e790]
or edx, dword [edi*4 + 0x205c790]
mov esi, dword [ebp - 4]
xor esi, edx
mov ebx, esi
mov dword [ebp - 4], esi
mov ecx, esi
ror ebx, 0xe
shr ecx, 0x10
mov edx, esi
and ecx, 0x3ff
and edx, 0x3ff00
shl edx, 2
and ebx, 0xffc00
or ebx, ecx
mov ecx, esi
mov esi, dword [ebp + 8]
and ecx, 0x3ff
or edx, ecx
mov ecx, edx
xor ecx, ebx
and ecx, dword [esi + 4]
mov esi, ecx
xor esi, edx
mov edx, dword [ebp + 8]
mov edi, dword [edx - 4]
xor esi, dword [edx]
xor edi, ecx
xor edi, ebx
mov edx, esi
shr edx, 0xa
mov ecx, edi
shr ecx, 0xa
and esi, 0x3ff
and edi, 0x3ff
mov edx, dword [edx*4 + 0x205d790]
or edx, dword [ecx*4 + 0x205b790]
or edx, dword [esi*4 + 0x205e790]
or edx, dword [edi*4 + 0x205c790]
mov edi, dword [ebp + 8]
xor eax, edx
sub edi, 0x18
sub dword [ebp - 8], 1
mov dword [ebp + 8], edi
jne 0x1d144c2
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
pop edi
pop esi
mov byte [ecx + 3], al
mov byte [ecx + 7], bl
shr eax, 8
mov byte [ecx + 2], al
shr ebx, 8
mov byte [ecx + 6], bl
shr eax, 8
shr ebx, 8
mov byte [ecx + 1], al
mov byte [ecx + 5], bl
shr eax, 8
shr ebx, 8
mov byte [ecx], al
mov byte [ecx + 4], bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1d14950
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x2061028], 0
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], ecx
jne 0x1d1497c
push 0
call fcn.01e1478a
push eax
call fcn.01e146f5
add esp, 8
mov byte [0x2061028], 1
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.01e0626e
add esp, 4
xor esi, esi
mov ebx, eax
test edi, edi
je 0x1d149d4
nop
call fcn.01e146d4
xor edx, edx
mov ecx, 0x57
div ecx
movsx ecx, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_._:____________]
mov eax, ecx
shl eax, 5
add eax, 0x11
add eax, ecx
imul eax, eax, 0x273a2392
add eax, ecx
xor eax, 0x273a2392
mov dword [ebx + esi*4], eax
inc esi
cmp esi, edi
jb 0x1d149a0
push edi
push ebx
push dword [ebp - 4]
call fcn.01e27b10
push ebx
call fcn.01e06279
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1d14ea0
Capabilities:
Encode data using xor
Hash data with crc32
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x1e94008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1fffc
mov edi, edx
mov dword [ebp - 0x414], ecx
call fcn.01e0626e
mov esi, eax
mov dword [ebp - 0x40c], 0
push 0
push edi
mov edx, 0x1fffc
mov dword [ebp - 0x410], esi
mov ecx, esi
call fcn.01d1a510
push esi
call dword [sym.imp.vstdlib_d.dll_V_FixDoubleSlashes]
add esp, 0x10
lea ecx, [ebp - 0x410]
call fcn.01d171a0
mov edi, dword [ebp - 0x40c]
push 0x1e4020c
push edi
call fcn.01e0d942
mov esi, eax
add esp, 8
mov dword [ebp - 0x418], esi
test esi, esi
je 0x1d14ffe
push 2
push 0
push esi
call fcn.01e14a86
push esi
call fcn.01e150a2
push 0
push 0
push esi
mov ebx, eax
call fcn.01e14a86
add esp, 0x1c
cmp ebx, 0xffffffff
je 0x1d14ffe
test ebx, ebx
jle 0x1d14fe2
lea eax, [ebp - 0x408]
push esi
cmp ebx, 0x400
jbe 0x1d14f68
push 0x400
jmp 0x1d14f69
push ebx
push 1
push eax
call fcn.01e0db56
mov edi, eax
add esp, 0x10
test edi, edi
jle 0x1d14fba
mov eax, dword [ebp - 0x414]
sub ebx, edi
xor esi, esi
mov eax, dword [eax]
test edi, edi
jle 0x1d14fac
nop word [eax + eax]
movzx edx, byte [ebp + esi - 0x408]
inc esi
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1e40238]
cmp esi, edi
jl 0x1d14f90
mov ecx, dword [ebp - 0x414]
mov esi, dword [ebp - 0x418]
mov dword [ecx], eax
push esi
call fcn.01e150ad
add esp, 4
test eax, eax
jne 0x1d14fdc
push esi
call fcn.01e150d9
add esp, 4
test eax, eax
jne 0x1d14fef
test ebx, ebx
jg 0x1d14f52
mov edi, dword [ebp - 0x40c]
push esi
call fcn.01e0df09
add esp, 4
mov bl, 1
jmp 0x1d15000
push esi
call fcn.01e0df09
mov edi, dword [ebp - 0x40c]
add esp, 4
xor bl, bl
test edi, edi
je 0x1d1500d
push edi
call fcn.01e06279
add esp, 4
mov eax, dword [ebp - 0x410]
test eax, eax
je 0x1d15020
push eax
call fcn.01e06279
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01e029b1
mov esp, ebp
pop ebp
ret
Function at 0x1d15ef0
Capabilities:
Hash data using sha256
Hash data using sha384
Hash data using sha512

Disassembly:
push esi
mov esi, ecx
push edi
push 0xd0
push 0
lea edi, [esi + 0xd0]
mov dword [esi + 8], 3
push edi
mov byte [esi + 0xc], 0
call fcn.01e05050
mov eax, dword [esi + 8]
add esp, 0xc
dec eax
cmp eax, 4
ja case.default.0x1d15f1e
jmp dword [eax*4 + 0x1d15f90]
movups xmm0, xmmword [0x1e40b28]
movups xmmword [edi], xmm0
mov eax, dword [0x1e40b38]
mov dword [edi + 0x10], eax
pop edi
pop esi
ret 4
push 0x20
push 0x1e40a08
push edi
call fcn.01e27b10
add esp, 0xc
pop edi
pop esi
ret 4
push 0x20
push 0x1e409e8
push edi
call fcn.01e27b10
add esp, 0xc
pop edi
pop esi
ret 4
push 0x40
push 0x1e40728
push edi
call fcn.01e27b10
add esp, 0xc
pop edi
pop esi
ret 4
push 0x40
push 0x1e406e8
push edi
call fcn.01e27b10
add esp, 0xc
pop edi
pop esi
ret 4

Function at 0x1d15f51
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, ecx
push edi
push 0xd0
push 0
lea edi, [esi + 0xd0]
mov dword [esi + 8], 3
push edi
mov byte [esi + 0xc], 0
call fcn.01e05050
mov eax, dword [esi + 8]
add esp, 0xc
dec eax
cmp eax, 4
ja case.default.0x1d15f1e
jmp dword [eax*4 + 0x1d15f90]
movups xmm0, xmmword [0x1e40b28]
movups xmmword [edi], xmm0
mov eax, dword [0x1e40b38]
mov dword [edi + 0x10], eax
pop edi
pop esi
ret 4
push 0x20
push 0x1e40a08
push edi
call fcn.01e27b10
add esp, 0xc
pop edi
pop esi
ret 4
push 0x20
push 0x1e409e8
push edi
call fcn.01e27b10
add esp, 0xc
pop edi
pop esi
ret 4
push 0x40
push 0x1e40728
push edi
call fcn.01e27b10
add esp, 0xc
pop edi
pop esi
ret 4
push 0x40
push 0x1e406e8
push edi
call fcn.01e27b10
add esp, 0xc
pop edi
pop esi
ret 4

Function at 0x1d15f66
Capabilities:
Hash data using sha384

Disassembly:
push esi
mov esi, ecx
push edi
push 0xd0
push 0
lea edi, [esi + 0xd0]
mov dword [esi + 8], 3
push edi
mov byte [esi + 0xc], 0
call fcn.01e05050
mov eax, dword [esi + 8]
add esp, 0xc
dec eax
cmp eax, 4
ja case.default.0x1d15f1e
jmp dword [eax*4 + 0x1d15f90]
movups xmm0, xmmword [0x1e40b28]
movups xmmword [edi], xmm0
mov eax, dword [0x1e40b38]
mov dword [edi + 0x10], eax
pop edi
pop esi
ret 4
push 0x20
push 0x1e40a08
push edi
call fcn.01e27b10
add esp, 0xc
pop edi
pop esi
ret 4
push 0x20
push 0x1e409e8
push edi
call fcn.01e27b10
add esp, 0xc
pop edi
pop esi
ret 4
push 0x40
push 0x1e40728
push edi
call fcn.01e27b10
add esp, 0xc
pop edi
pop esi
ret 4
push 0x40
push 0x1e406e8
push edi
call fcn.01e27b10
add esp, 0xc
pop edi
pop esi
ret 4
Function at 0x1d15f7b
Capabilities:
Hash data using sha512

Disassembly:
push esi
mov esi, ecx
push edi
push 0xd0
push 0
lea edi, [esi + 0xd0]
mov dword [esi + 8], 3
push edi
mov byte [esi + 0xc], 0
call fcn.01e05050
mov eax, dword [esi + 8]
add esp, 0xc
dec eax
cmp eax, 4
ja case.default.0x1d15f1e
jmp dword [eax*4 + 0x1d15f90]
movups xmm0, xmmword [0x1e40b28]
movups xmmword [edi], xmm0
mov eax, dword [0x1e40b38]
mov dword [edi + 0x10], eax
pop edi
pop esi
ret 4
push 0x20
push 0x1e40a08
push edi
call fcn.01e27b10
add esp, 0xc
pop edi
pop esi
ret 4
push 0x20
push 0x1e409e8
push edi
call fcn.01e27b10
add esp, 0xc
pop edi
pop esi
ret 4
push 0x40
push 0x1e40728
push edi
call fcn.01e27b10
add esp, 0xc
pop edi
pop esi
ret 4
push 0x40
push 0x1e406e8
push edi
call fcn.01e27b10
add esp, 0xc
pop edi
pop esi
ret 4

Function at 0x1d17240
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 4], ecx
mov esi, dword [edi]
test esi, esi
je 0x1d172b1
mov dword [edi], 0
push 0
mov edx, 0x40000000
mov dword [ebp + 8], 0
lea eax, [ebp + 8]
cmp esi, edx
push eax
mov eax, esi
cmova eax, edx
push eax
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
jne 0x1d17297
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1d172a4
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1d172b1
test esi, esi
je 0x1d172b1
mov ecx, dword [ebp - 4]
jmp 0x1d1725b
mov dword [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1d174c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1e2fe68
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1e94008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x18], ebx
push 0x1fffc
call fcn.01e0626e
mov esi, eax
mov dword [ebp - 0x1c], 0
push 0
push ebx
mov edx, 0x1fffc
mov dword [ebp - 0x20], esi
mov ecx, esi
call fcn.01d1a510
push esi
call dword [sym.imp.vstdlib_d.dll_V_FixDoubleSlashes]
add esp, 0x10
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.01d171a0
push 0x1e40c84
push dword [ebp - 0x1c]
call fcn.01e0d942
mov esi, eax
add esp, 8
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x1d17561
cmp byte [ebp + 8], al
je 0x1d175b6
push ebx
push str.Cant_open_file__s_n
call dword [sym.imp.tier0_d.dll_Error]
add esp, 8
xor bl, bl
jmp 0x1d1761d
push 2
push 0
push esi
call fcn.01e14a86
push esi
call fcn.01e150a2
push 0
push 0
push esi
mov ebx, eax
call fcn.01e14a86
add esp, 0x1c
mov ecx, edi
push ebx
call fcn.01d1d6f0
push esi
push ebx
push 1
push dword [edi + 4]
call fcn.01e0db56
push dword [ebp - 0x14]
mov esi, eax
call fcn.01e0df09
add esp, 0x14
cmp esi, ebx
je 0x1d175ba
push dword [ebp - 0x18]
push str.Error_reading_from_file__s_n
call dword [sym.imp.tier0_d.dll_Error]
add esp, 8
xor bl, bl
jmp 0x1d1761d
mov dword [edi + 0x14], ebx
cmp ebx, dword [edi + 0x18]
jle 0x1d17604
mov al, byte [edi + 0x1f]
test al, 8
jne 0x1d175fe
test byte [edi + 0x1e], 1
jne 0x1d175fe
test al, 1
je 0x1d175fe
mov eax, dword [edi + 8]
sub eax, ebx
cmp eax, 1
jge 0x1d175f4
mov eax, dword [edi + 0x24]
mov ecx, edi
push 1
call eax
test al, al
jne 0x1d175f4
or byte [edi + 0x1e], 1
and byte [edi + 0x1e], 0xfe
jmp 0x1d175fe
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 4]
mov byte [ecx + eax], 0
mov eax, dword [edi + 0x14]
mov dword [edi + 0x18], eax
cmp dword [edi + 0x18], 0
mov dword [edi + 0x10], 0
jge 0x1d17617
or byte [edi + 0x1e], 2
jmp 0x1d1761b
and byte [edi + 0x1e], 0xfd
mov bl, 1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1d1762d
push eax
call fcn.01e06279
add esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1d1763d
push eax
call fcn.01e06279
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret