joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435360
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov eax, dword [0x4af480]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x470], edx
mov dword [ebp - 0x468], ecx
push edi
lea edi, [ebp - 0x214]
test edx, edx
je 0x4353db
mov esi, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x435393
sub esi, ecx
sar esi, 1
je 0x4353db
lea eax, [edx - 2]
lea eax, [eax + esi*2]
nop word [eax + eax]
cmp word [eax], 0x5c
jne 0x4353c0
sub eax, 2
sub esi, 1
jne 0x4353b0
jmp 0x4353db
add esi, esi
lea eax, [ebp - 0x214]
push esi
push edx
push eax
call fcn.0047ef80
lea edi, [ebp - 0x214]
add esp, 0xc
add edi, esi
mov eax, 0x5c
lea esi, [edi + 2]
mov word [edi], ax
mov ax, word [0x4a4e84]
mov word [edi + 2], ax
xor eax, eax
mov word [edi + 4], ax
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x46c], esi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x435510
nop dword [eax + eax]
call fcn.00416120
test al, al
jne 0x435504
mov ecx, esi
mov edx, 0x104
lea esi, [ebp - 0x438]
sub esi, dword [ebp - 0x46c]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x43545e
movzx eax, word [esi + ecx]
test ax, ax
je 0x43545e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x435440
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test byte [ebp - 0x464], 0x10
je 0x4354cc
cmp word [ebp - 0x438], 0x2e
jne 0x43549e
mov ax, word [ebp - 0x436]
cmp ax, 0x2e
jne 0x435494
cmp word [ebp - 0x434], cx
jmp 0x435497
test ax, ax
sete al
test al, al
jne 0x4354dd
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x214]
mov ecx, dword [ebp - 0x468]
inc eax
push eax
call fcn.00435360
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x435509
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x4354d9
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4354fa
lea eax, [ebp - 0x464]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x435509
mov esi, dword [ebp - 0x46c]
jmp 0x435420
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x435509
mov ebx, 0x4c7
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
jne 0x435575
test ebx, ebx
je 0x435575
cmp ebx, 0x4c7
jne 0x435552
push 0x126
push 3
push dword [ebp - 0x468]
call fcn.00416020
xor ecx, ecx
add esp, 0xc
cmp eax, 6
cmovne ecx, ebx
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047d2db
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x470]
push 0x8f
push 3
push dword [ebp - 0x468]
call fcn.00416020
xor ecx, ecx
add esp, 0x10
cmp eax, 6
cmove ebx, ecx
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047d2db
mov esp, ebp
pop ebp
ret
Function at 0x43ec40
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
sub esp, 8
mov eax, ecx
and ecx, 0x100
and eax, 0x200
or eax, 0x100
push esi
push 0
push 0
shr eax, 8
neg ecx
push 3
sbb ecx, ecx
push 0
and ecx, 0xfffffefa
push eax
add ecx, 0x187
push ecx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, dword [ebp + 8]
mov dword [esi + 0x58], eax
cmp eax, 0xffffffff
jne 0x43ec94
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x44], eax
lea eax, [esi + 0x50]
push eax
push 0
push 0
push dword [esi + 0x58]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov dword [esi + 0x48], 0
mov al, 1
mov dword [esi + 0x4c], 0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x441440
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x7c]
test al, al
je 0x44145b
push 0x32
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
pop esi
pop ebp
ret
test eax, 0x100
je 0x44146f
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
pop esi
pop ebp
ret
push edi
mov edi, dword [ebp + 0xc]
push edi
mov eax, dword [edi + 0x3c]
call eax
mov eax, dword [esi + 0x3c]
push esi
call eax
add esp, 8
push dword [esi + 0x64]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [esi + 0x64]
push dword [edi + 0x64]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4414bd
push dword [esi + 0x7c]
push dword [esi + 0x64]
push esi
call fcn.0043ec40
add esp, 0xc
test al, al
je 0x4414bd
push edi
call fcn.00440da0
add esp, 4
mov al, 1
pop edi
pop esi
pop ebp
ret
pop edi
xor al, al
pop esi
pop ebp
ret

Function at 0x441d30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov al, byte [ecx]
test al, al
je 0x441d58
cmp al, 0x5c
je 0x441d4b
cmp al, 0x2f
jne 0x441d4e
lea edx, [ecx + 1]
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x441d43
mov al, byte [edx]
mov esi, 0x7fed7fed
push edi
mov edi, 0xeeeeeeee
test al, al
je 0x441d91
movzx eax, al
lea edx, [edx + 1]
add esi, edi
movzx ecx, byte [eax + 0x4ad488]
mov eax, edi
shl eax, 5
add eax, ecx
add eax, edi
xor esi, dword [ecx*4 + 0x4b1f60]
lea edi, [esi + 3]
add edi, eax
mov al, byte [edx]
test al, al
jne 0x441d67
test dword [ebp + 0x18], 0x20000
pop edi
je 0x441da5
lea eax, [esi + ebx]
xor eax, dword [ebp + 0x14]
pop esi
pop ebx
pop ebp
ret
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x441db0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0xeeeeeeee
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
shr edi, 2
test dl, 3
jne 0x441e1f
xor esi, esi
test edi, edi
je 0x441ea6
mov ebx, dword [ebp + 0x10]
nop word [eax + eax]
movzx ecx, bl
add eax, dword [ecx*4 + 0x4b2360]
lea ecx, [edx + esi*4]
inc esi
lea edx, [eax + ebx]
xor edx, dword [ecx]
mov dword [ecx], edx
mov ecx, ebx
not ecx
shr ebx, 0xb
shl ecx, 0x15
add ecx, 0x11111111
or ebx, ecx
mov ecx, eax
shl ecx, 5
add eax, 3
add ecx, edx
mov edx, dword [ebp + 8]
add eax, ecx
cmp esi, edi
jb 0x441de0
pop edi
pop esi
pop ebx
pop ebp
ret
test edi, edi
je 0x441ea6
lea esi, [edx + 2]
mov edx, dword [ebp + 0x10]
mov dword [ebp + 0xc], edx
movzx ecx, dl
lea esi, [esi + 4]
add eax, dword [ecx*4 + 0x4b2360]
add edx, eax
xor byte [esi - 6], dl
mov cl, byte [esi - 6]
mov byte [ebp + 0xb], cl
mov ecx, edx
shr ecx, 8
xor byte [esi - 5], cl
mov ecx, edx
shr ecx, 0x10
xor byte [esi - 4], cl
mov ecx, dword [ebp + 0xc]
shr dword [ebp + 0xc], 0xb
not ecx
shr edx, 0x18
xor byte [esi - 3], dl
movzx edx, byte [esi - 3]
shl ecx, 0x15
add ecx, 0x11111111
shl edx, 8
or dword [ebp + 0xc], ecx
movzx ecx, byte [esi - 4]
or edx, ecx
movzx ecx, byte [esi - 5]
shl edx, 8
or edx, ecx
movzx ecx, byte [ebp + 0xb]
shl edx, 8
or edx, ecx
mov ecx, eax
shl ecx, 5
add edx, 3
add eax, ecx
add eax, edx
mov edx, dword [ebp + 0xc]
sub edi, 1
jne 0x441e30
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x441fc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, 0xeeeeeeee
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
shr edi, 2
mov dword [ebp + 0xc], edi
test dl, 3
jne 0x442035
xor esi, esi
test edi, edi
je 0x4420d6
mov ebx, dword [ebp + 0x10]
nop word [eax + eax]
mov edx, dword [edx + esi*4]
mov edi, dword [ebp + 8]
movzx ecx, bl
add eax, dword [ecx*4 + 0x4b2360]
lea ecx, [eax + ebx]
xor ecx, edx
mov dword [edi + esi*4], ecx
mov ecx, ebx
not ecx
shr ebx, 0xb
shl ecx, 0x15
inc esi
add ecx, 0x11111111
or ebx, ecx
mov ecx, eax
shl ecx, 5
add eax, 3
add ecx, edx
mov edx, edi
add eax, ecx
cmp esi, dword [ebp + 0xc]
jb 0x441ff0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x4420d6
lea esi, [edx + 2]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
movzx ecx, dl
lea esi, [esi + 4]
mov bl, byte [esi - 3]
mov bh, byte [esi - 4]
add eax, dword [ecx*4 + 0x4b2360]
mov cl, byte [esi - 5]
add edx, eax
mov byte [ebp + 0xf], cl
mov cl, byte [esi - 6]
mov byte [ebp + 0xb], cl
xor cl, dl
mov byte [esi - 6], cl
mov ecx, edx
shr ecx, 8
xor cl, byte [ebp + 0xf]
mov byte [esi - 5], cl
mov ecx, edx
shr edx, 0x18
xor dl, bl
shr ecx, 0x10
mov byte [esi - 3], dl
xor cl, bh
mov edx, dword [ebp - 4]
mov byte [esi - 4], cl
mov ecx, edx
not ecx
shr edx, 0xb
shl ecx, 0x15
add ecx, 0x11111111
or edx, ecx
movzx ecx, bh
mov dword [ebp - 4], edx
movzx edx, bl
shl edx, 8
or edx, ecx
movzx ecx, byte [ebp + 0xf]
shl edx, 8
or edx, ecx
movzx ecx, byte [ebp + 0xb]
shl edx, 8
or edx, ecx
mov ecx, eax
shl ecx, 5
add edx, 3
add eax, ecx
add eax, edx
mov edx, dword [ebp - 4]
sub edi, 1
jne 0x442046
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x442520
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, 0x7fed7fed
push edi
mov edi, 0xeeeeeeee
mov cl, byte [esi]
test cl, cl
je 0x44256e
push ebx
mov ebx, dword [ebp + 0xc]
nop dword [eax]
movzx ecx, cl
lea esi, [esi + 1]
add eax, edi
movzx edx, byte [ecx + 0x4ad488]
lea ecx, [edx + ebx]
xor eax, dword [ecx*4 + 0x4b1360]
mov ecx, edi
shl ecx, 5
add ecx, edx
add ecx, edi
lea edi, [eax + 3]
add edi, ecx
mov cl, byte [esi]
test cl, cl
jne 0x442540
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x443390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, dword [ebp + 8]
push ebx
push esi
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x38]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0xc]
mov ebx, dword [edx]
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], edx
test dword [eax + 0x20], 0x10000
mov dword [ebp - 0x14], ebx
je 0x4434e2
mov eax, dword [ecx + 0x24]
mov esi, 0xeeeeeeee
push edi
mov edi, ebx
dec eax
shr edi, 2
mov dword [ebp - 0xc], edi
test dl, 3
jne 0x443433
xor edi, edi
cmp dword [ebp - 0xc], edi
je 0x4434de
nop word [eax + eax]
mov edx, dword [edx + edi*4]
mov ebx, dword [ebp - 8]
movzx ecx, al
add esi, dword [ecx*4 + 0x4b2360]
lea ecx, [esi + eax]
xor ecx, edx
mov dword [ebx + edi*4], ecx
mov ecx, eax
not ecx
shr eax, 0xb
shl ecx, 0x15
inc edi
add ecx, 0x11111111
or eax, ecx
mov ecx, esi
shl ecx, 5
add esi, 3
add ecx, edx
mov edx, ebx
add esi, ecx
cmp edi, dword [ebp - 0xc]
jb 0x4433f0
jmp 0x4434d8
test edi, edi
je 0x4434de
lea ebx, [edx + 2]
mov dword [ebp - 8], ebx
mov bl, byte [ebx + 1]
mov edi, dword [ebp - 8]
movzx ecx, al
add esi, dword [ecx*4 + 0x4b2360]
mov ecx, dword [ebp - 8]
lea edx, [esi + eax]
mov bh, byte [ecx]
mov cl, byte [ecx - 1]
mov byte [ebp - 1], cl
mov ecx, dword [ebp - 8]
mov cl, byte [ecx - 2]
mov byte [ebp - 2], cl
xor cl, dl
mov byte [edi - 2], cl
mov ecx, edx
shr ecx, 8
xor cl, byte [ebp - 1]
mov byte [edi - 1], cl
mov ecx, edx
shr ecx, 0x10
xor cl, bh
shr edx, 0x18
mov byte [edi], cl
xor dl, bl
mov ecx, edi
mov byte [ecx + 1], dl
mov ecx, eax
not ecx
shr eax, 0xb
shl ecx, 0x15
add ecx, 0x11111111
movzx edx, bl
or eax, ecx
shl edx, 8
movzx ecx, bh
mov ebx, edi
or edx, ecx
add ebx, 4
movzx ecx, byte [ebp - 1]
shl edx, 8
or edx, ecx
mov dword [ebp - 8], ebx
movzx ecx, byte [ebp - 2]
shl edx, 8
or edx, ecx
mov ecx, esi
shl ecx, 5
add edx, 3
add esi, ecx
add esi, edx
sub dword [ebp - 0xc], 1
jne 0x443441
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 0x10]
pop edi
mov eax, dword [ecx + 0x34]
test eax, eax
je 0x4434f2
mov eax, dword [eax]
add dword [ebp - 0x1c], eax
adc dword [ebp - 0x18], 0
push ebx
push dword [ecx + 0x38]
lea eax, [ebp - 0x1c]
push eax
push dword [esi]
call fcn.00441500
add esp, 0x10
pop esi
pop ebx
test al, al
jne 0x443514
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x448f10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x4af480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push esi
mov esi, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push esi
push eax
call fcn.004483b0
add esp, 0x14
test al, al
jne 0x448f58
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d2db
mov esp, ebp
pop ebp
ret
push edi
add esi, 0x2c
lea edi, [ebp - 0x240]
mov ecx, 0x40
lea edx, [ebp - 0x141]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x240]
pop edi
mov al, byte [edx]
xor byte [ecx], al
mov al, byte [ecx]
xor byte [edx], al
mov al, byte [edx]
dec edx
xor byte [ecx], al
inc ecx
cmp ecx, edx
jb 0x448f76
push 0xeb
lea eax, [ebp - 0x13f]
push 0xbb
push eax
call fcn.0047ee20
movups xmm0, xmmword [ebp - 0x18]
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x54]
lea esi, [ebp - 0x41]
mov byte [ebp - 0x140], 0xb
mov edx, esi
add esp, 0xc
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
cmp ecx, edx
jae 0x448fd3
mov al, byte [edx]
xor byte [ecx], al
mov al, byte [ecx]
xor byte [edx], al
mov al, byte [edx]
dec edx
xor byte [ecx], al
inc ecx
cmp ecx, edx
jb 0x448fc1
push dword [0x4ad798]
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.00449120
add esp, 0xc
cmp eax, 4
je 0x4490fd
movups xmm0, xmmword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x54]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
cmp ecx, esi
jae 0x449022
nop dword [eax]
mov al, byte [esi]
xor byte [ecx], al
mov al, byte [ecx]
xor byte [esi], al
mov al, byte [esi]
dec esi
xor byte [ecx], al
inc ecx
cmp ecx, esi
jb 0x449010
push dword [0x4ad79c]
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.00449120
add esp, 0xc
cmp eax, 4
je 0x4490fd
movups xmm0, xmmword [ebp - 0x40]
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x54]
push 0x14
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov eax, ecx
push eax
call fcn.00449230
push dword [0x4ad7a0]
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.00449120
add esp, 0x14
cmp eax, 4
je 0x4490fd
movups xmm0, xmmword [ebp - 0x18]
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x54]
push 0x14
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov eax, ecx
push eax
call fcn.00449230
push dword [0x4ad7a4]
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.00449120
add esp, 0x14
cmp eax, 4
je 0x4490fd
movups xmm0, xmmword [ebp - 0x18]
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x54]
push 0x14
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov eax, ecx
push eax
call fcn.00449230
push dword [0x4ad7a8]
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.00449120
add esp, 0x14
cmp eax, 4
mov eax, 5
jne 0x449102
mov eax, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0047d2db
mov esp, ebp
pop ebp
ret
Function at 0x449230
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
dec edx
add edx, eax
cmp eax, edx
jae 0x449255
movzx ecx, byte [edx]
xor byte [eax], cl
movzx ecx, byte [eax]
xor byte [edx], cl
movzx ecx, byte [edx]
dec edx
xor byte [eax], cl
inc eax
cmp eax, edx
jb 0x449240
pop ebp
ret
Function at 0x44ac60
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x44ac99
push str.e:ladik_appdir_stormlib_srclibtomcrypt_srchashes_sha1.c
push 0xa7
push str.md___NULL
push str.LTC_ARGCHK__s_failure_on_line__d_of_file__s_n
push 2
call fcn.00486bab
add esp, 4
push eax
call fcn.00405070
push 0x16
call fcn.00487303
add esp, 0x18
mov dword [esi + 8], 0x67452301
xor eax, eax
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
mov dword [esi + 0x18], 0xc3d2e1f0
mov dword [esi + 0x1c], 0
mov dword [esi], 0
mov dword [esi + 4], 0
pop esi
pop ebp
ret
Function at 0x44ae10
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
jne 0x44ae4a
push str.e:ladik_appdir_stormlib_srclibtomcrypt_srchashes_sha1.c
push 0xc5
push str.md___NULL
push str.LTC_ARGCHK__s_failure_on_line__d_of_file__s_n
push 2
call fcn.00486bab
add esp, 4
push eax
call fcn.00405070
push 0x16
call fcn.00487303
add esp, 0x18
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x44ae7f
push str.e:ladik_appdir_stormlib_srclibtomcrypt_srchashes_sha1.c
push 0xc6
push str.out___NULL
push str.LTC_ARGCHK__s_failure_on_line__d_of_file__s_n
push 2
call fcn.00486bab
add esp, 4
push eax
call fcn.00405070
push 0x16
call fcn.00487303
add esp, 0x18
mov ecx, dword [esi + 0x1c]
cmp ecx, 0x40
jb 0x44ae90
pop edi
mov eax, 0x10
pop esi
pop ebp
ret
lea eax, [ecx*8]
add dword [esi], eax
adc dword [esi + 4], 0
mov byte [ecx + esi + 0x20], 0x80
inc dword [esi + 0x1c]
mov eax, dword [esi + 0x1c]
cmp eax, 0x38
jbe 0x44aed8
cmp eax, 0x40
jae 0x44aec2
mov byte [eax + esi + 0x20], 0
inc dword [esi + 0x1c]
mov eax, dword [esi + 0x1c]
cmp eax, 0x40
jb 0x44aeb2
lea eax, [esi + 0x20]
push eax
push esi
call fcn.004541e0
add esp, 8
mov dword [esi + 0x1c], 0
jmp 0x44aee0
jae 0x44aef1
nop word [eax + eax]
mov eax, dword [esi + 0x1c]
mov byte [eax + esi + 0x20], 0
inc dword [esi + 0x1c]
cmp dword [esi + 0x1c], 0x38
jb 0x44aee0
movzx eax, byte [esi + 7]
mov byte [esi + 0x58], al
movzx eax, byte [esi + 6]
mov byte [esi + 0x59], al
movzx eax, byte [esi + 5]
mov byte [esi + 0x5a], al
movzx eax, byte [esi + 4]
mov byte [esi + 0x5b], al
movzx eax, byte [esi + 3]
mov byte [esi + 0x5c], al
movzx eax, byte [esi + 2]
mov byte [esi + 0x5d], al
movzx eax, byte [esi + 1]
mov byte [esi + 0x5e], al
movzx eax, byte [esi]
mov byte [esi + 0x5f], al
lea eax, [esi + 0x20]
push eax
push esi
call fcn.004541e0
movzx eax, byte [esi + 0xb]
add esp, 8
mov byte [edi], al
movzx eax, byte [esi + 0xa]
mov byte [edi + 1], al
movzx eax, byte [esi + 9]
mov byte [edi + 2], al
movzx eax, byte [esi + 8]
mov byte [edi + 3], al
movzx eax, byte [esi + 0xf]
mov byte [edi + 4], al
movzx eax, byte [esi + 0xe]
mov byte [edi + 5], al
movzx eax, byte [esi + 0xd]
mov byte [edi + 6], al
movzx eax, byte [esi + 0xc]
mov byte [edi + 7], al
movzx eax, byte [esi + 0x13]
mov byte [edi + 8], al
movzx eax, byte [esi + 0x12]
mov byte [edi + 9], al
movzx eax, byte [esi + 0x11]
mov byte [edi + 0xa], al
movzx eax, byte [esi + 0x10]
mov byte [edi + 0xb], al
movzx eax, byte [esi + 0x17]
mov byte [edi + 0xc], al
movzx eax, byte [esi + 0x16]
mov byte [edi + 0xd], al
movzx eax, byte [esi + 0x15]
mov byte [edi + 0xe], al
movzx eax, byte [esi + 0x14]
mov byte [edi + 0xf], al
movzx eax, byte [esi + 0x1b]
mov byte [edi + 0x10], al
movzx eax, byte [esi + 0x1a]
mov byte [edi + 0x11], al
movzx eax, byte [esi + 0x19]
mov byte [edi + 0x12], al
movzx eax, byte [esi + 0x18]
mov byte [edi + 0x13], al
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x44b310
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x44b349
push str.e:ladik_appdir_stormlib_srclibtomcrypt_srchashesmd5.c
push 0xeb
push str.md___NULL
push str.LTC_ARGCHK__s_failure_on_line__d_of_file__s_n
push 2
call fcn.00486bab
add esp, 4
push eax
call fcn.00405070
push 0x16
call fcn.00487303
add esp, 0x18
mov dword [esi + 8], 0x67452301
xor eax, eax
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
mov dword [esi + 0x18], 0
mov dword [esi], 0
mov dword [esi + 4], 0
pop esi
pop ebp
ret
Function at 0x456ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [edx - 0x21524111]
mov eax, dword [eax]
add ecx, eax
mov eax, dword [ebp + 0x14]
push esi
push edi
mov esi, ecx
mov edi, ecx
add ecx, dword [eax]
mov dword [ebp - 4], esi
cmp edx, 0xc
jbe switch.0x00456bd0
add edx, 0xfffffff3
mov eax, 0xaaaaaaab
mul edx
mov eax, edx
shr eax, 3
inc eax
mov dword [ebp - 8], eax
movzx esi, byte [ebx + 7]
movzx eax, byte [ebx + 6]
movzx edx, byte [ebx + 0xb]
shl esi, 8
add esi, eax
shl edx, 8
movzx eax, byte [ebx + 5]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 4]
add edi, eax
shl esi, 8
movzx eax, byte [ebx + 0xa]
add edi, esi
movzx esi, byte [ebx + 8]
add edx, eax
movzx eax, byte [ebx + 9]
add esi, ecx
shl edx, 8
add edx, eax
shl edx, 8
add esi, edx
mov edx, dword [ebp + 8]
mov ebx, esi
rol ebx, 4
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 2]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx]
shl ecx, 8
add ecx, eax
sub ecx, esi
add esi, edi
add ecx, dword [ebp - 4]
xor ebx, ecx
sub edi, ebx
mov eax, ebx
add ebx, esi
rol eax, 6
xor eax, edi
sub esi, eax
mov edx, eax
rol edx, 8
add eax, ebx
xor edx, esi
sub ebx, edx
mov esi, edx
rol esi, 0x10
add edx, eax
xor esi, ebx
mov ebx, dword [ebp + 8]
mov edi, esi
sub eax, esi
ror edi, 0xd
add esi, edx
xor edi, eax
mov dword [ebp - 4], esi
sub edx, edi
mov ecx, edi
rol ecx, 4
add ebx, 0xc
xor ecx, edx
mov dword [ebp + 8], ebx
mov edx, dword [ebp + 0xc]
add edi, esi
sub edx, 0xc
sub dword [ebp - 8], 1
mov dword [ebp + 0xc], edx
jne 0x456b04
cmp edx, 0xc
ja 0x456c3c
jmp dword [edx*4 + 0x456c94]
movzx eax, byte [ebx + 0xb]
shl eax, 0x18
add ecx, eax
movzx eax, byte [ebx + 0xa]
shl eax, 0x10
add ecx, eax
movzx eax, byte [ebx + 9]
shl eax, 8
add ecx, eax
movzx eax, byte [ebx + 8]
add ecx, eax
movzx eax, byte [ebx + 7]
shl eax, 0x18
add edi, eax
movzx eax, byte [ebx + 6]
shl eax, 0x10
add edi, eax
movzx eax, byte [ebx + 5]
shl eax, 8
add edi, eax
movzx eax, byte [ebx + 4]
add edi, eax
movzx eax, byte [ebx + 3]
shl eax, 0x18
add esi, eax
movzx eax, byte [ebx + 2]
shl eax, 0x10
add esi, eax
movzx eax, byte [ebx + 1]
shl eax, 8
add esi, eax
movzx eax, byte [ebx]
add esi, eax
mov dword [ebp - 4], esi
xor ecx, edi
mov eax, edi
rol eax, 0xe
sub ecx, eax
mov eax, ecx
mov esi, ecx
xor esi, dword [ebp - 4]
rol eax, 0xb
sub esi, eax
xor edi, esi
mov eax, esi
ror eax, 7
sub edi, eax
mov eax, edi
xor ecx, edi
rol eax, 0x10
sub ecx, eax
mov eax, ecx
mov edx, ecx
rol eax, 4
xor edx, esi
sub edx, eax
mov eax, edx
xor edi, edx
rol eax, 0xe
sub edi, eax
mov eax, edi
xor ecx, edi
ror eax, 8
sub ecx, eax
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45a7e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
xor eax, eax
push ebx
push esi
mov dword [ebp - 8], eax
lea edx, [ecx + 0x32550]
mov dword [ebp - 0xc], edx
push edi
nop word [eax + eax]
xor ebx, ebx
mov dword [ebp - 4], 4
mov edi, eax
lea eax, [ebx + 1]
nop
movzx edx, word [ecx + eax*2 + 0x32bf4]
mov esi, edi
and esi, 1
shr edx, 4
mov ecx, esi
shr edi, 1
neg ecx
add eax, eax
sar ecx, 4
or eax, esi
and ecx, 0x7f
xor edx, ecx
mov ecx, dword [ebp + 8]
add ebx, dword [ecx + edx*4 + 0x30ea0]
sub dword [ebp - 4], 1
jne 0x45a810
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov dword [edx], ebx
add edx, 4
mov dword [ebp - 0xc], edx
cmp eax, 0x10
jb 0x45a800
pop edi
pop esi
mov dword [ecx + 0x32590], 0
pop ebx
mov esp, ebp
pop ebp
ret