joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430407
Capabilities:
Enumerate network shares

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
or dword [ebp - 0xc], 0xffffffff
or dword [ebp - 8], 0xffffffff
push ebx
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 1
push 3
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0x4000
mov dword [ebp - 0x14], ebx
call sub.MPR.dll_WNetOpenEnumW
test eax, eax
jne 0x4304e1
push edi
push dword [ebp - 0x10]
call fcn.0043565b
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x1c], edi
call sub.MPR.dll_WNetEnumResourceW
test eax, eax
jne 0x4304d8
cmp dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
jbe 0x4304d8
push esi
add edi, 0x14
mov esi, 0x4018f8
cmp dword [ebp - 0x14], ebx
jne 0x4304d7
mov ecx, dword [ebp + 8]
mov eax, dword [edi - 4]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4304a3
cmp dx, bx
je 0x43049f
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4304a3
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x43047d
xor eax, eax
jmp 0x4304a8
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4304c9
push dword [ebp + 0xc]
xor eax, eax
push dword [ebp + 8]
inc eax
push eax
push eax
push ebx
push ebx
push esi
push esi
push dword [edi]
mov dword [ebp - 0x14], eax
push eax
call fcn.0042ffec
mov dword [ebp - 0x18], eax
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add edi, 0x20
cmp eax, dword [ebp - 8]
jb 0x430472
pop esi
push dword [ebp - 0x1c]
call fcn.0043567b
pop edi
push dword [ebp - 0xc]
call sub.MPR.dll_WNetCloseEnum
mov eax, dword [ebp - 0x18]
pop ebx
leave
ret 8
Function at 0x4347dd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x485118]
jne 0x4347ee
test ecx, 0xffff0000
jne 0x4347ee
ret
jmp fcn.004347f8

Function at 0x434fb0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x434fc3
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x434fbf
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x434ff0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x43502f
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x435025
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x435031
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x435015
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x437699
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
call fcn.0043565b
push dword [ebp + 0x10]
mov edi, eax
push esi
push 1
push edi
call sub.msvcrt.dll_fread
add esp, 0x10
push esi
push dword [ebp + 8]
mov ebx, eax
push edi
call fcn.0043a5b0
push edi
call fcn.0043567b
push esi
push dword [ebp + 8]
mov esi, dword [ebp + 0x14]
push dword [esi]
call fcn.0043a6a9
pop edi
mov dword [esi], eax
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0x10

Function at 0x4376eb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push 0x4018fc
push dword [ebp + 0xc]
xor ebx, ebx
inc ebx
call sub.msvcrt.dll__wfopen
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x437763
lea eax, [ebp - 4]
push eax
push esi
push ebx
lea eax, [ebp + 0xf]
push eax
call fcn.00437699
cmp byte [ebp + 0xf], 7
ja 0x437739
lea eax, [ebp - 4]
push eax
push esi
push 0x1d78
push dword [ebp + 8]
call fcn.00437699
jmp 0x43773b
xor ebx, ebx
push esi
push 1
lea eax, [ebp - 8]
push 4
push eax
call sub.msvcrt.dll_fread
push esi
call sub.msvcrt.dll_fclose
add esp, 0x14
test ebx, ebx
je 0x437763
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jne 0x437763
xor eax, eax
inc eax
jmp 0x437765
xor eax, eax
pop esi
pop ebx
leave
ret 8
Function at 0x43847e
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x485118]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x28]
push eax
xor edi, edi
push 0x403520
inc edi
push 0x80000001
mov esi, edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x43851d
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x403558
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], 0x20
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4384ed
push 0xa
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
call sub.msvcrt.dll_wcstoul
add esp, 0xc
mov esi, eax
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
je 0x43851d
cmp esi, 2
je 0x43851d
cmp esi, 0x32
jl 0x438509
cmp esi, 0x3c
jl 0x43851d
cmp esi, 0x1f4
jl 0x438519
cmp esi, 0x258
jl 0x43851d
mov eax, edi
jmp 0x43851f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004347dd
leave
ret

Function at 0x438d29
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x11c
push edi
push 0
push esi
call sub.msvcrt.dll_memset
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
push esi
mov dword [esi], 0x114
call ebx
test eax, eax
je 0x438d75
cmp dword [esi + 0x10], 2
jne 0x438d75
cmp dword [esi + 4], 5
jb 0x438d75
push edi
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
mov dword [esi], edi
call ebx
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x439c48
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
call fcn.0043565b
push esi
mov edi, eax
push edi
push dword [ebp + 8]
call fcn.0043a5b0
push dword [ebp + 0x10]
push esi
push 1
push edi
call sub.msvcrt.dll_fwrite
add esp, 0x10
push edi
mov ebx, eax
call fcn.0043567b
push esi
push dword [ebp + 8]
mov esi, dword [ebp + 0x14]
push dword [esi]
call fcn.0043a6a9
pop edi
mov dword [esi], eax
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0x10

Function at 0x439c9a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
call fcn.0043565b
push dword [ebp + 0x10]
mov edi, eax
push esi
push 1
push edi
call sub.msvcrt.dll_fread
mov ebx, eax
add esp, 0x10
test ebx, ebx
jbe 0x439cdc
push esi
push dword [ebp + 8]
push edi
call fcn.0043a5b0
push esi
push dword [ebp + 8]
mov esi, dword [ebp + 0x14]
push dword [esi]
call fcn.0043a6a9
mov dword [esi], eax
push edi
call fcn.0043567b
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0x10
Function at 0x43a505
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x14]
test ecx, ecx
jbe 0x43a5a7
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
sub ebx, edi
mov dword [ebp + 0x14], ecx
movzx ecx, byte [eax]
inc ecx
and ecx, 0x800000ff
jns 0x43a53a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [eax], cl
movzx ecx, cl
lea esi, [ecx + eax + 2]
movzx ecx, byte [eax + 1]
movzx edx, byte [esi]
add ecx, edx
and ecx, 0x800000ff
jns 0x43a55c
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [eax + 1], cl
mov dl, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + eax + 2]
mov byte [esi], cl
movzx ecx, byte [eax + 1]
mov byte [ecx + eax + 2], dl
movzx ecx, byte [eax + 1]
movzx edx, byte [eax]
movzx ecx, byte [ecx + eax + 2]
movzx edx, byte [edx + eax + 2]
add ecx, edx
and ecx, 0x800000ff
jns 0x43a595
dec ecx
or ecx, 0xffffff00
inc ecx
mov cl, byte [ecx + eax + 2]
xor cl, byte [ebx + edi]
mov byte [edi], cl
inc edi
dec dword [ebp + 0x14]
jne 0x43a526
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x43a5b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x485118]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x118]
push eax
mov byte [ebp - 0x14], 0xb
mov byte [ebp - 0x13], 0x38
mov byte [ebp - 0x12], 0x79
mov byte [ebp - 0x11], 0x2b
mov byte [ebp - 0x10], 0xa5
mov byte [ebp - 0xf], 0x20
mov byte [ebp - 0xe], 0x4c
mov byte [ebp - 0xd], 0x70
mov byte [ebp - 0xc], 0x57
mov byte [ebp - 0xb], 0x29
mov byte [ebp - 0xa], 3
mov byte [ebp - 9], 0x38
mov byte [ebp - 8], 0x4e
mov byte [ebp - 7], 0x1d
mov byte [ebp - 6], 0x5f
mov byte [ebp - 5], 0x65
call fcn.0043a48c
push dword [ebp + 0x10]
lea eax, [ebp - 0x118]
push esi
push dword [ebp + 8]
push eax
call fcn.0043a505
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004347dd
leave
ret 0xc
Function at 0x43a701
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x485118]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x20c], 0
push ebx
mov ebx, dword [ebp + 8]
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
mov dword [ebp - 0x210], eax
jbe 0x43a7c9
push esi
push edi
lea edi, [ebp - 0x20c]
dec edi
push 2
dec edi
pop eax
mov cx, word [edi + 2]
add edi, eax
test cx, cx
jne 0x43a761
push 8
pop ecx
mov esi, 0x403ea8
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x20c]
dec edi
dec edi
mov cx, word [edi + 2]
add edi, eax
test cx, cx
jne 0x43a77e
mov esi, 0x403e98
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x20c]
dec edi
dec edi
mov cx, word [edi + 2]
add edi, eax
test cx, cx
jne 0x43a79a
mov esi, 0x403e90
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea ecx, [ebp - 0x20c]
mov esi, ebx
mov edx, ecx
sub esi, edx
movzx edx, word [ecx]
mov word [esi + ecx], dx
add ecx, eax
test dx, dx
jne 0x43a7b9
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor eax, eax
cmp eax, dword [ebp - 0x210]
pop ebx
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.004347dd
leave
ret 4
Function at 0x43b2b4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [esi + 0x24]
push edi
mov edi, dword [esi + 0x34]
sub edi, dword [esi + 0x6c]
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x24]
sub edi, eax
lea ecx, [ebx + ecx - 0x106]
cmp eax, ecx
mov dword [ebp - 8], edi
jb 0x43b343
mov eax, dword [esi + 0x30]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x3c]
sub dword [esi + 0x68], ebx
sub dword [esi + 0x64], ebx
add esp, 0xc
sub dword [esi + 0x54], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x43b303
mov eax, dword [esi + 0x38]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x43b325
add edi, ebx
mov dword [ebp - 8], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x43b3fe
mov eax, dword [esi + 0x6c]
add eax, dword [esi + 0x64]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x30]
mov edx, dword [ebp - 8]
cmp ecx, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
jbe 0x43b36b
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
test edx, edx
jne 0x43b376
xor eax, eax
jmp 0x43b3bf
sub ecx, edx
mov dword [edi + 4], ecx
mov ecx, dword [edi + 0x1c]
mov ecx, dword [ecx + 0x18]
cmp ecx, 1
jne 0x43b393
push edx
push dword [edi]
push dword [edi + 0x30]
call fcn.0043be62
jmp 0x43b3a3
cmp ecx, 2
jne 0x43b3a9
push edx
push dword [edi]
push dword [edi + 0x30]
call fcn.0043a6a9
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0xc]
push dword [ebp - 4]
push dword [edi]
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 4]
add dword [edi], eax
add esp, 0xc
add dword [edi + 8], eax
add dword [esi + 0x6c], eax
mov edi, dword [esi + 0x6c]
cmp edi, 3
jb 0x43b3ea
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x30]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [esi + 0x50]
mov dword [esi + 0x40], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x4c]
mov dword [esi + 0x40], eax
cmp edi, 0x106
jae 0x43b3fe
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x43b2c1
pop edi
pop ebx
leave
ret

Function at 0x43e056
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
xor eax, eax
sub edx, ecx
je 0x43e07c
push dword [esi]
push edx
push 1
push ecx
call dword [sym.imp.msvcrt.dll_fwrite]
mov ecx, dword [esi + 4]
add esp, 0x10
mov dword [esi + 8], ecx
pop esi
ret
Function at 0x43e0a9
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
sub edx, ecx
mov eax, 0x804
push edi
mov edi, dword [ebp + 0xc]
add edx, eax
cmp edi, edx
jg 0x43e0cf
push edi
push dword [ebp + 8]
push ecx
jmp 0x43e0e1
cmp edi, eax
mov ecx, esi
ja 0x43e0ee
call fcn.0043e056
push edi
push dword [ebp + 8]
push dword [esi + 8]
call sub.msvcrt.dll_memcpy
add esp, 0xc
add dword [esi + 8], edi
jmp 0x43e106
call fcn.0043e056
push dword [esi]
push edi
push 1
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebp
ret 8

Function at 0x441844
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x441857
call fcn.004417d4
cmp byte [ebp + 0xc], 0
je 0x44188e
push 0x4059e4
push dword [ebp + 8]
mov word [ebp + 0xc], 0x20
call dword [sym.imp.msvcrt.dll__wfopen]
test eax, eax
pop ecx
pop ecx
mov dword [esi + 0x10], eax
je 0x4418a1
push eax
push 1
lea eax, [ebp + 0xc]
push 1
push eax
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
jmp 0x4418a1
push 0x401904
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll__wfopen]
pop ecx
pop ecx
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
xor eax, eax
cmp dword [esi + 0x10], eax
pop esi
setne al
pop ebp
ret 8
Function at 0x4420e4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 4
mov eax, 0x479e1b
call fcn.00434bdd
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x405a08
mov ecx, dword [esi + 4]
test ecx, ecx
mov dword [ebp - 4], 6
je 0x44210f
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esi + 0x10], 0
je 0x442139
lea ebx, [esi + 8]
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov edi, dword [eax + 8]
mov ecx, ebx
call fcn.00441c26
test edi, edi
je 0x442133
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
cmp dword [esi + 0x10], 0
jne 0x442118
cmp dword [esi + 0x1c], 0
je 0x442163
lea ebx, [esi + 0x14]
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
mov edi, dword [eax + 8]
mov ecx, ebx
call fcn.00441c26
test edi, edi
je 0x44215d
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
cmp dword [esi + 0x1c], 0
jne 0x442142
cmp dword [esi + 0x28], 0
je 0x44218d
lea ebx, [esi + 0x20]
mov eax, dword [esi + 0x24]
mov eax, dword [eax]
mov edi, dword [eax + 8]
mov ecx, ebx
call fcn.00441c26
test edi, edi
je 0x442187
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
cmp dword [esi + 0x28], 0
jne 0x44216c
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x44219a
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x4421a7
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esi + 0x94]
mov byte [ebp - 4], 5
call dword [sym.imp.msvcp60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea ecx, [esi + 0x78]
call fcn.00441c41
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 3
call fcn.0045072c
lea ecx, [esi + 0x20]
call fcn.00441bf2
lea ecx, [esi + 0x14]
call fcn.00441bf2
lea ecx, [esi + 8]
call fcn.00441bf2
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0044eaa5
call fcn.00434cc9
ret
Function at 0x44e894
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2e0
mov eax, dword [0x485118]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
cmp eax, 1
push 8
pop ecx
mov esi, 0x40cb8c
lea edi, [ebp - 0x78]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
jne 0x44e92d
push 0x20
call fcn.0043565b
lea ecx, [ebp - 0x2e0]
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebx + 0x10]
push ecx
push eax
lea ecx, [ebx + 8]
call dword [sym.imp.msvcp60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::data_void_const]
push eax
mov ecx, ebx
call fcn.0044e296
push 5
lea eax, [ebx + 0x8e]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.0045a2b9
push 0x20
lea eax, [ebx + 0x6d]
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.0045a331
push dword [ebp - 0x2e0]
mov byte [ebx + 0x8d], 0
call fcn.0043567b
jmp 0x44ea1e
cmp eax, 2
jne 0x44ea1e
lea ecx, [ebp - 0xd0]
call fcn.0045a102
push 0x20
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0xd0]
call fcn.0045a12b
push 0x10
lea eax, [ebx + 0x2c]
push eax
lea ecx, [ebp - 0xd0]
call fcn.0045a12b
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0xd0]
call fcn.0045a1cb
lea eax, [ebx + 0x8e]
push 0x10
push eax
lea ecx, [ebp - 0x1d4]
call fcn.0045a2b9
push 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.0045a331
mov byte [ebp - 0x2d9], 1
lea eax, [ebx + 0x8e]
push 0x10
mov edi, eax
lea esi, [ebp - 0x2c]
pop eax
mov cl, byte [edi]
xor cl, byte [ebp - 0x2d9]
inc edi
mov byte [esi], cl
inc esi
dec eax
jne 0x44e9b0
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x10
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x2d8]
movsd dword es:[edi], dword [esi]
call fcn.0045a2b9
push 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.0045a331
inc byte [ebp - 0x2d9]
cmp byte [ebp - 0x2d9], 0x13
jbe 0x44e9a2
lea edi, [ebx + 0x6d]
lea esi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov cl, 0x10
lea eax, [ebx + 0x7d]
mov byte [eax], cl
inc cl
inc eax
cmp cl, 0x20
jb 0x44ea0d
mov byte [ebx + 0x8d], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004347dd
leave
ret
Function at 0x45a102
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x45a331
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
test eax, eax
jbe 0x45a3ca
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
sub ebx, edi
mov dword [ebp + 0x10], eax
movzx eax, byte [ecx]
inc eax
and eax, 0x800000ff
jns 0x45a361
dec eax
or eax, 0xffffff00
inc eax
mov byte [ecx], al
movzx eax, al
lea esi, [eax + ecx + 2]
movzx eax, byte [ecx + 1]
movzx edx, byte [esi]
add eax, edx
and eax, 0x800000ff
jns 0x45a381
dec eax
or eax, 0xffffff00
inc eax
mov byte [ecx + 1], al
mov dl, byte [esi]
movzx eax, al
mov al, byte [eax + ecx + 2]
mov byte [esi], al
movzx eax, byte [ecx + 1]
mov byte [eax + ecx + 2], dl
movzx eax, byte [ecx + 1]
movzx edx, byte [ecx]
movzx eax, byte [eax + ecx + 2]
movzx edx, byte [edx + ecx + 2]
add eax, edx
and eax, 0x800000ff
jns 0x45a3b8
dec eax
or eax, 0xffffff00
inc eax
mov al, byte [eax + ecx + 2]
xor al, byte [ebx + edi]
mov byte [edi], al
inc edi
dec dword [ebp + 0x10]
jne 0x45a34f
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x45ddc4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov eax, dword [esi + 0x134]
sub eax, esi
sub eax, 0x30
add dword [esi + 0x138], eax
lea eax, [esi + 0x30]
mov dword [esi + 0x134], eax
mov dword [esi + 0x130], eax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x45de29
mov ecx, dword [esi + 0x2c]
add ecx, dword [esi + 0x24]
cmp dword [esi + 0x138], ecx
jb 0x45de02
xor eax, eax
pop esi
ret
test eax, eax
je 0x45de29
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 0x138]
push ebx
push edi
lea edi, [eax + ecx]
lea ebx, [edx + 0x100]
cmp ebx, edi
pop edi
pop ebx
jbe 0x45de29
sub eax, edx
add eax, ecx
jmp 0x45de2e
mov eax, 0x100
push dword [esi + 0x20]
push eax
lea eax, [esi + 0x30]
push 1
push eax
call dword [sym.imp.msvcrt.dll_fread]
lea eax, [eax + esi + 0x30]
add esp, 0x10
cmp dword [esi + 0x130], eax
mov dword [esi + 0x134], eax
sbb eax, eax
neg eax
pop esi
ret
Function at 0x464092
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
xor edx, edx
xor eax, eax
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x46409c
push ebx
mov dword [ebp - 4], edx
xor ecx, ecx
push edi
mov edi, dword [ebp + 8]
movzx eax, dl
mov edx, dword [ebp - 4]
mov dl, byte [edx + esi]
movzx edi, byte [eax + edi]
movzx ebx, dl
add edi, ecx
add ebx, edi
mov ecx, ebx
and ecx, 0x800000ff
jns 0x4640d7
dec ecx
or ecx, 0xffffff00
inc ecx
mov edi, dword [ebp - 4]
movzx ecx, cl
mov bl, byte [ecx + esi]
inc eax
mov byte [edi + esi], bl
mov byte [ecx + esi], dl
cdq
idiv dword [ebp + 0xc]
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x100
jl 0x4640ae
pop edi
pop ebx
leave
ret 8

Function at 0x464175
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor ecx, ecx
mov eax, dword [ebp + 8]
add eax, ecx
movzx edx, byte [eax]
mov dl, byte [edx + 0x4959c8]
inc ecx
cmp ecx, 0x10
mov byte [eax], dl
jl 0x46417c
pop ebp
ret 4

Function at 0x4642dd
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, eax
push 4
add esi, 4
pop edi
mov al, byte [esi - 4]
mov byte [ebp - 0x10], al
mov al, byte [esi]
mov byte [ebp - 0xc], al
mov al, byte [esi + 4]
mov byte [ebp - 8], al
mov al, byte [esi + 8]
mov byte [ebp - 4], al
push dword [ebp - 4]
call fcn.004641e9
push dword [ebp - 8]
mov bl, al
call fcn.00464260
push dword [ebp - 0xc]
xor bl, al
call fcn.00464221
xor bl, al
mov al, byte [ebp - 0x10]
call fcn.004642a2
push dword [ebp - 4]
xor bl, al
mov byte [esi - 4], bl
call fcn.00464260
push dword [ebp - 8]
mov bl, al
call fcn.00464221
xor bl, al
mov al, byte [ebp - 0xc]
call fcn.004642a2
push dword [ebp - 0x10]
xor bl, al
call fcn.004641e9
push dword [ebp - 4]
xor bl, al
mov byte [esi], bl
call fcn.00464221
mov bl, al
mov al, byte [ebp - 8]
call fcn.004642a2
push dword [ebp - 0xc]
xor bl, al
call fcn.004641e9
push dword [ebp - 0x10]
xor bl, al
call fcn.00464260
xor bl, al
mov al, byte [ebp - 4]
mov byte [esi + 4], bl
call fcn.004642a2
push dword [ebp - 8]
mov bl, al
call fcn.004641e9
push dword [ebp - 0xc]
xor bl, al
call fcn.00464260
push dword [ebp - 0x10]
xor bl, al
call fcn.00464221
xor bl, al
mov byte [esi + 8], bl
inc esi
dec edi
jne 0x4642f0
pop edi
pop esi
pop ebx
leave
ret