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

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x411112
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x411104
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x4110fc
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x4110c5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x411120
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x84]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], 1
je case.0x411161.2
mov ecx, dword [esp + 0x7c]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x411161.2
jmp dword [eax*4 + 0x4111ec]
mov word [esp + 0x48], di
jmp 0x41119a
mov word [esp + 0x48], 2
jmp 0x41119a
mov word [esp + 0x48], 3
jmp 0x41119a
mov word [esp + 0x48], 4
jmp 0x41119a
mov word [esp + 0x48], 7
jmp 0x41119a
mov word [esp + 0x48], 5
lea edx, [esp + 8]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
cmp esi, edi
je 0x4111e4
cmp dword [esp + 0x70], edi
je 0x4111d0
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret
Function at 0x411460
Capabilities:
Delete directory

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x41146d
xor eax, eax
pop esi
ret
push esi
call dword [0x780444]
add esp, 4
test eax, eax
jne 0x41147d
pop esi
ret
cmp eax, 1
jne 0x41148b
cmp byte [esi], 0x5c
jne 0x41148b
xor eax, eax
pop esi
ret
push esi
call fcn.00411210
add esp, 4
test eax, eax
je 0x41149f
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop esi
ret

Function at 0x4115a0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0x28]
sub esp, 0x18
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
cmp eax, 0x80000301
ja 0x411621
je 0x411612
cmp eax, 0x80000101
ja 0x41160b
je 0x411612
cmp eax, 0x80000004
je 0x4115ec
cmp eax, 0x80000005
jne 0x411636
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 3
test eax, eax
je 0x411683
mov ebx, dword [eax + 4]
lea ebp, [eax + 8]
jmp 0x411683
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 1
push eax
call dword [0x780444]
mov ebp, dword [esp + 0x44]
mov ebx, eax
add esp, 4
inc ebx
jmp 0x411683
cmp eax, 0x80000201
jne 0x411636
mov ebx, 4
lea ebp, [esp + 0x40]
mov dword [esp + 8], ebx
jmp 0x411683
cmp eax, 0x80000401
je 0x41166e
cmp eax, 0x80000501
je 0x411656
cmp eax, 0x80000601
je 0x41163e
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
fld qword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
call sub.MSVCRT.dll__ftol
mov dword [esp + 0xc], eax
jmp 0x41167f
fld dword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
call sub.MSVCRT.dll__ftol
mov dword [esp + 0xc], eax
jmp 0x41167f
mov ecx, dword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea ebp, [esp + 0xc]
mov edx, dword [esp + 0x28]
push esi
push edx
call fcn.00412750
mov esi, eax
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], 0
call dword [0x780444]
add esp, 8
test esi, esi
je 0x41175c
test eax, eax
je 0x41175c
inc eax
push edi
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, dword [esp + 0x40]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x2c], edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MSVCRT.dll_strrchr
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4116fe
mov byte [esi], 0
inc esi
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push 0
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x411752
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x411747
mov dword [esp + 0x1c], 1
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
mov eax, dword [esp + 0x18]
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x411770
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x140
push ebx
mov ebx, dword [esp + 0x154]
push ebp
push esi
mov esi, dword [ebx]
push edi
mov edi, dword [esp + 0x154]
xor ebp, ebp
test edi, edi
je 0x4117f0
push edi
call dword [0x780444]
add esp, 4
test eax, eax
jbe 0x4117f0
test esi, esi
je 0x4117ae
cmp esi, 0xffffffff
je 0x4117ae
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebx], esi
je 0x411832
mov eax, dword [esp + 0x15c]
test eax, eax
je 0x4117dc
mov ecx, dword [esp + 0x10]
and ecx, 0x10
cmp cl, 0x10
je 0x4117f0
jmp 0x4117eb
mov edx, dword [esp + 0x158]
mov eax, dword [esp + 0x10]
test edx, eax
je 0x4117f0
mov ebp, 1
test esi, esi
je 0x411832
cmp esi, 0xffffffff
je 0x411832
test ebp, ebp
jne 0x411869
mov eax, dword [esp + 0x15c]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
lea eax, [esp + 0x10]
push eax
push esi
je 0x41183f
call edi
test eax, eax
je 0x411832
mov ecx, dword [esp + 0x10]
and ecx, 0x10
cmp cl, 0x10
jne 0x411869
lea edx, [esp + 0x10]
push edx
push esi
call edi
test eax, eax
jne 0x41181a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x140
ret
call edi
test eax, eax
je 0x411832
mov ebx, dword [esp + 0x158]
test dword [esp + 0x10], ebx
jne 0x411869
lea ecx, [esp + 0x10]
push ecx
push esi
call edi
test eax, eax
jne 0x41184c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
lea edx, [esp + 0x3c]
push edx
call dword [0x780444]
inc eax
push eax
call fcn.0040fb50
mov edx, eax
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret

Function at 0x411b30
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x411b99
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.0040fb50
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret
Function at 0x413640
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
xor ecx, ecx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x18]
mov byte [eax + ebp], al
inc eax
cmp eax, 0x100
jl 0x41364c
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x100], cl
cmp eax, ecx
mov byte [ebp + 0x101], cl
jle 0x4136df
push ebx
push esi
push edi
mov byte [esp + 0x24], cl
xor esi, esi
mov ebx, ebp
mov dword [esp + 0x10], 0x100
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
and edi, 0xff
xor eax, eax
xor edx, edx
mov al, byte [edi + ecx]
mov dl, byte [ebx]
add esi, eax
add edx, esi
and edx, 0x800000ff
jns 0x4136a9
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x14], dl
mov esi, dword [esp + 0x14]
and esi, 0xff
lea eax, [esi + ebp]
push eax
push ebx
call fcn.004136f0
lea eax, [edi + 1]
add esp, 8
cdq
idiv dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ebx
dec eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], dl
jne 0x41367e
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret

Function at 0x413710
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov al, byte [esi + 0x100]
mov cl, byte [esi + 0x101]
test edx, edx
mov byte [esp + 0x20], al
mov byte [esp + 8], cl
jle 0x41380d
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
and edi, 0xff
and ebp, 0xff
lea eax, [edi + 1]
and eax, 0x800000ff
jns 0x413762
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x28], al
xor ecx, ecx
mov edi, dword [esp + 0x28]
and edi, 0xff
mov cl, byte [edi + esi]
lea eax, [edi + esi]
add ecx, ebp
mov dword [esp + 0x18], eax
and ecx, 0x800000ff
jns 0x41378e
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ebp, dword [esp + 0x10]
and ebp, 0xff
lea ecx, [esi + ebp]
push ecx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004136f0
mov eax, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
add esp, 8
mov dl, byte [eax]
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x4137cf
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [esp + 0x20]
and edx, 0xff
mov cl, byte [edx + esi]
mov dl, byte [ebx + eax]
xor dl, cl
mov byte [ebx + eax], dl
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x413751
mov dl, byte [esp + 0x28]
mov al, byte [esp + 0x10]
pop edi
mov byte [esi + 0x100], dl
mov byte [esi + 0x101], al
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
mov byte [esi + 0x100], al
mov byte [esi + 0x101], cl
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x4147d0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x7805b4]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4147e3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x414824
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x78065c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x414856
mov bl, byte [esp + ecx + 0x4c]
jmp 0x41485a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x41484b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x414878
mov bl, byte [esp + ecx + 0x4c]
jmp 0x41487c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x41486d
xor ecx, ecx
mov eax, 0x7805c4
xor ebx, ebx
mov bl, byte [ecx + 0x78066c]
cmp byte [esp + ebx + 0x14], 0
je 0x4148a7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x780684]
cmp byte [esp + ebx + 0x14], 0
je 0x4148be
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x41488e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x414817
lea edx, [esp + 0x84]
push edx
call fcn.00414900
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x409660
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x40967a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x409681
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x409670
mov eax, 1
add ebx, ebx
jne 0x409693
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x409688
jne 0x4096a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409688
xor ecx, ecx
sub eax, 3
jb 0x4096b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40972a
mov ebp, eax
add ebx, ebx
jne 0x4096c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4096d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4096f4
inc ecx
add ebx, ebx
jne 0x4096e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4096d5
jne 0x4096f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4096d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x409714
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x409705
jmp 0x409676
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x409714
add edi, ecx
jmp 0x409676
pop esi
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x40977c
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbb24]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbb90]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x409731
mov ecx, edi
jns 0x409760
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xbb98]
or eax, eax
je 0x409776
mov dword [ebx], eax
add ebx, 4
jmp 0x40974e
call dword [esi + 0xbb94]
mov ebp, dword [esi + 0xbb9c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4097b0
sub esp, 0xffffff80
jmp 0x4017e0
Function at 0x6ebd7be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
movzx ebx, byte [edx]
movzx ebp, byte [edi + 1]
mov edi, 2
add ebx, 0x111
add ebp, 0x211
shl ebx, 4
shl ebp, 4
add ebx, eax
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov esi, dword [ebx + 8]
xor ecx, dword [eax + ebp]
mov ebx, dword [ebx + 0xc]
xor edx, dword [eax + ebp + 4]
xor esi, dword [eax + ebp + 8]
mov eax, dword [eax + ebp + 0xc]
xor eax, ebx
mov ebx, dword [esp + 0x18]
movzx ebp, byte [ebx + edi]
mov ebx, edi
shl ebx, 8
lea ebx, [ebp + ebx + 0x111]
mov ebp, dword [esp + 0x14]
shl ebx, 4
xor ecx, dword [ebp + ebx]
xor edx, dword [ebp + ebx + 4]
xor esi, dword [ebp + ebx + 8]
mov ebp, eax
mov eax, dword [esp + 0x14]
xor ebp, dword [eax + ebx + 0xc]
mov eax, dword [esp + 0x18]
lea ebx, [edi + 1]
shl ebx, 8
movzx eax, byte [eax + edi + 1]
lea ebx, [eax + ebx + 0x111]
mov eax, dword [esp + 0x14]
shl ebx, 4
xor ecx, dword [eax + ebx]
xor edx, dword [eax + ebx + 4]
xor esi, dword [eax + ebx + 8]
xor ebp, dword [eax + ebx + 0xc]
lea ebx, [edi + 2]
mov eax, dword [esp + 0x18]
shl ebx, 8
movzx eax, byte [eax + edi + 2]
lea ebx, [eax + ebx + 0x111]
mov eax, dword [esp + 0x14]
shl ebx, 4
xor ecx, dword [eax + ebx]
xor edx, dword [eax + ebx + 4]
xor esi, dword [eax + ebx + 8]
xor ebp, dword [eax + ebx + 0xc]
lea ebx, [edi + 3]
mov eax, dword [esp + 0x18]
shl ebx, 8
movzx eax, byte [eax + edi + 3]
lea ebx, [eax + ebx + 0x111]
mov eax, dword [esp + 0x14]
shl ebx, 4
xor edx, dword [eax + ebx + 4]
xor esi, dword [eax + ebx + 8]
xor ebp, dword [eax + ebx + 0xc]
xor ecx, dword [eax + ebx]
lea ebx, [edi + 4]
mov eax, dword [esp + 0x18]
shl ebx, 8
movzx eax, byte [eax + edi + 4]
lea ebx, [eax + ebx + 0x111]
mov eax, dword [esp + 0x14]
shl ebx, 4
xor ecx, dword [eax + ebx]
xor edx, dword [eax + ebx + 4]
xor esi, dword [eax + ebx + 8]
xor ebp, dword [eax + ebx + 0xc]
lea ebx, [edi + 5]
mov eax, dword [esp + 0x18]
shl ebx, 8
movzx eax, byte [eax + edi + 5]
lea ebx, [eax + ebx + 0x111]
mov eax, dword [esp + 0x14]
shl ebx, 4
xor ecx, dword [eax + ebx]
xor edx, dword [eax + ebx + 4]
xor esi, dword [eax + ebx + 8]
xor ebp, dword [eax + ebx + 0xc]
lea ebx, [edi + 6]
mov eax, dword [esp + 0x18]
shl ebx, 8
movzx eax, byte [eax + edi + 6]
add edi, 7
lea ebx, [eax + ebx + 0x111]
mov eax, dword [esp + 0x14]
shl ebx, 4
xor ebp, dword [eax + ebx + 0xc]
xor ecx, dword [eax + ebx]
xor edx, dword [eax + ebx + 4]
xor esi, dword [eax + ebx + 8]
cmp edi, 0x10
mov eax, ebp
jne 0x6ebd7c2c
mov ebp, dword [esp + 0x18]
mov dword [ebp], ecx
mov dword [ebp + 4], edx
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], eax
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x6ebd8ca0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x20]
test eax, eax
je 0x6ebd8ce1
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0
mov dword [eax], 0
mov dword [eax + 4], 0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp + 8], 0xe9
mov dword [esp + 4], str.src_hashes_md5.c
mov dword [esp], 0x6ec721d1
call fcn.6ebddf90
lea esi, [esi]
Function at 0x6ec461f0
Capabilities:
Check for software breakpoints

Disassembly:
sub esp, 0x3c
test ecx, ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x18], eax
je 0x6ec46240
mov esi, dword [edx + 0x10]
cmp dword [esi + 4], 0xcd
je 0x6ec46228
test byte [esi + 9], 0x10
jne 0x6ec46228
mov ecx, dword [edx + 0x28]
test ecx, ecx
je 0x6ec46362
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
add esp, 0x3c
ret
mov esi, edx
mov ebp, dword [edx + 0x18]
mov ebx, dword [esi]
mov eax, dword [edx + 0x20]
and ebp, 0x7fff
test ebx, ebx
mov dword [esp + 0x1c], eax
je 0x6ec46228
mov eax, dword [ebx + 4]
cmp eax, 0x5c
je 0x6ec462ca
ja 0x6ec46352
lea edx, [eax - 7]
cmp edx, 1
jbe 0x6ec46228
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.6ec45e50
test al, 4
jne 0x6ec46228
mov edx, eax
and edx, 3
cmp edx, 3
je 0x6ec46375
mov edx, eax
and edx, 0x300
cmp edx, 0x300
je 0x6ec463a0
and eax, 0x30000
mov edx, ebx
cmp eax, 0x30000
je 0x6ec463c3
mov ebx, dword [edx]
mov esi, edx
test ebx, ebx
je 0x6ec46228
mov eax, dword [ebx + 4]
cmp eax, 0x5c
jne 0x6ec46260
mov eax, dword [ebx + 0x10]
mov edx, ebx
and eax, 0x7fff
cmp eax, ebp
jne 0x6ec462b6
cmp word [ebx + 8], 0
jne 0x6ec46228
mov edx, dword [esp + 0x1c]
cmp dword [ebx + 0x18], edx
jne 0x6ec46228
cmp ebx, esi
je 0x6ec463e5
mov eax, dword [ebx]
mov dword [esi], eax
test bl, 1
mov edi, ebx
mov edx, 0x30
jne 0x6ec46405
test edi, 2
jne 0x6ec463f5
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
je 0x6ec4632e
mov word [edi], 0
add edi, 2
and edx, 1
je 0x6ec46336
mov byte [edi], 0
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x1c]
mov edx, dword [eax + 0x84]
mov dword [ebx], edx
mov edx, esi
mov dword [eax + 0x84], ebx
jmp 0x6ec462b6
cmp eax, 0xcd
jne 0x6ec4626e
jmp 0x6ec46228
cmp dword [esi + 0x28], edx
jne 0x6ec46228
nop
lea esi, [esi]
jmp 0x6ec46242
mov edx, dword [ebx + 0x10]
and edx, 0x7fff
test al, 8
je 0x6ec463d8
cmp edx, ebp
je 0x6ec46228
mov edx, dword [ebx + 0x14]
and edx, 0x7fff
cmp edx, ebp
jne 0x6ec46290
jmp 0x6ec46228
mov edx, dword [ebx + 0x18]
and edx, 0x7fff
cmp edx, ebp
je 0x6ec46228
and eax, 0x30000
mov edx, ebx
cmp eax, 0x30000
jne 0x6ec462b6
mov eax, dword [ebx + 0x20]
and eax, 0x7fff
cmp eax, ebp
jne 0x6ec462b6
jmp 0x6ec46228
cmp edx, ebp
jne 0x6ec46290
jmp 0x6ec46228
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x1c]
mov edx, dword [ebx]
mov dword [eax], edx
jmp 0x6ec462fc
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x6ec46318
mov byte [ebx], 0
lea edi, [ebx + 1]
mov dl, 0x2f
jmp 0x6ec4630c
Function at 0x6ec604e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
mov ebp, 0x10
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov eax, dword [ebx + 0x23c]
test eax, eax
jne 0x6ec60650
cmp dword [ebx + 0x240], 0xf
ja 0x6ec60650
mov eax, dword [ebx + 0x234]
mov dword [esp], eax
call fcn.6ebddfd0
test eax, eax
mov ebp, eax
jne 0x6ec60650
mov eax, dword [ebx + 0x240]
mov edx, dword [esp + 0x48]
add edx, eax
cmp edx, 0xc
jbe 0x6ec6053f
or dword [ebx + 0x238], 1
xor edx, edx
test eax, eax
jne 0x6ec605b9
mov ecx, dword [esp + 0x48]
and ecx, 0xfffffff0
mov dword [esp + 0x18], ecx
je 0x6ec6065a
lea eax, [ebx + 0x1f4]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x44], esi
mov ebp, edx
mov edi, eax
nop
lea esi, [esi]
xor eax, eax
mov edx, dword [esi + eax]
xor dword [ebx + eax + 0x1f4], edx
add eax, 4
cmp eax, 0x10
jne 0x6ec60572
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.6ebd7be0
add dword [ebx + 0x248], 0x80
adc dword [ebx + 0x24c], 0
add ebp, 0x10
add esi, 0x10
cmp ebp, dword [esp + 0x18]
jb 0x6ec60570
mov esi, dword [esp + 0x44]
mov edx, ebp
mov ebp, dword [esp + 0x1c]
add esi, edx
mov eax, dword [esp + 0x48]
lea ecx, [ebx + 0x1f4]
lea edi, [ebx + 0x204]
mov dword [esp + 0x18], ecx
sub eax, edx
add eax, esi
cmp dword [esp + 0x48], edx
jbe 0x6ec60650
mov dword [esp + 0x1c], ebp
mov ebp, eax
jmp 0x6ec605e4
cmp ebp, esi
je 0x6ec6064c
mov ecx, dword [ebx + 0x240]
add esi, 1
lea edx, [ecx + 1]
mov dword [ebx + 0x240], edx
movzx eax, byte [esi - 1]
cmp edx, 0x10
mov byte [ebx + ecx + 0x224], al
jne 0x6ec605e0
mov edx, dword [esp + 0x18]
lea esi, [esi]
movzx eax, byte [edx + 0x30]
xor byte [edx], al
add edx, 1
cmp edi, edx
jne 0x6ec60610
mov eax, dword [esp + 0x18]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.6ebd7be0
add dword [ebx + 0x248], 0x80
mov dword [ebx + 0x240], 0
adc dword [ebx + 0x24c], 0
cmp ebp, esi
jne 0x6ec605e4
mov ebp, dword [esp + 0x1c]
add esp, 0x2c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, eax
jmp 0x6ec605b9