joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43bd40
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x43bd56
mov eax, 1
pop esi
add esp, 0xc
ret
push esi
call fcn.004415b0
add esp, 4
test eax, eax
jne 0x43bd6d
mov eax, 1
pop esi
add esp, 0xc
ret
mov eax, dword [esi]
push ebx
push ebp
cmp eax, 1
push edi
mov dword [esp + 0x10], 1
jne 0x43be1d
mov esi, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
push 0
push 0
push esi
mov ebx, eax
call ebp
mov edi, eax
cmp edi, 0xffffffff
je 0x43be85
cmp edi, ebx
jae 0x43be85
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], 0
test eax, eax
je 0x43be85
mov eax, dword [esp + 0x30]
test eax, eax
je 0x43be85
lea ecx, [esp + 0x18]
push 0
push ecx
lea edx, [esp + 0x2c]
push 1
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0
push edi
push esi
mov ebx, eax
call ebp
test ebx, ebx
je 0x43be85
mov al, byte [esp + 0x24]
test al, al
je 0x43be7d
cmp al, 0x1a
jne 0x43be85
pop edi
mov dword [esp + 0xc], 1
mov eax, dword [esp + 0xc]
pop ebp
pop ebx
pop esi
add esp, 0xc
ret
cmp eax, 2
jne 0x43be85
mov esi, dword [esi + 4]
mov ecx, esi
call fcn.00441400
mov ebx, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov edi, eax
cmp edi, ebx
jae 0x43be85
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], 0
test eax, eax
je 0x43be85
mov eax, dword [esp + 0x30]
test eax, eax
je 0x43be85
mov edx, dword [esi]
lea eax, [esp + 0x24]
push 1
push eax
mov ecx, esi
call dword [edx + 0x20]
mov edx, dword [esi]
push 0
push edi
mov ecx, esi
mov ebp, eax
call dword [edx + 0x18]
test ebp, ebp
je 0x43be85
mov al, byte [esp + 0x24]
test al, al
je 0x43be7d
cmp al, 0x1a
jne 0x43be85
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0xc
ret
Function at 0x43bef0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x14
push esi
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x43bf03
xor eax, eax
pop esi
add esp, 0x14
ret
push esi
call fcn.004415b0
add esp, 4
test eax, eax
jne 0x43bf15
pop esi
add esp, 0x14
ret
mov eax, dword [esi]
mov ecx, 1
push ebx
push ebp
cmp eax, ecx
push edi
mov dword [esp + 0x10], 0
jne 0x43c016
mov eax, dword [esp + 0x28]
mov ebx, dword [esi + 4]
cmp eax, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], ecx
jle 0x43c0a9
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edi, [esp + 0x38]
mov dword [esp + 0x20], edi
mov eax, dword [edi + 8]
mov dword [esp + 0x18], 0
cmp eax, reloc.WS2_32.dll_connect
jne 0x43bf6a
mov esi, dword [edi]
jmp 0x43bf93
push edi
call fcn.00441410
mov esi, eax
add esp, 4
test esi, esi
jne 0x43bf8b
push eax
lea eax, [esp + 0x18]
push eax
push 2
push 0x49fca0
push ebx
call ebp
jmp 0x43bfee
mov dword [esp + 0x18], 1
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x43bfcd
lea edx, [esp + 0x14]
push eax
push edx
push ecx
push esi
push ebx
call ebp
test eax, eax
je 0x43bfc5
lea eax, [esp + 0x14]
push 0
push eax
push 2
push 0x49fca0
push ebx
call ebp
jmp 0x43bfcd
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43bfde
push esi
call fcn.00453327
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43c0a9
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
inc eax
add edi, 0xc
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
jl 0x43bf54
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x14
ret
cmp eax, 2
jne 0x43c0a9
mov eax, dword [esp + 0x28]
mov ebx, dword [esi + 4]
cmp eax, ecx
mov dword [esp + 0x10], ecx
jle 0x43c0a9
lea edi, [esp + 0x38]
dec eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], eax
mov eax, dword [edi + 8]
xor ebp, ebp
cmp eax, reloc.WS2_32.dll_connect
jne 0x43c04b
mov esi, dword [edi]
jmp 0x43c05f
push edi
call fcn.00441410
mov esi, eax
add esp, 4
test esi, esi
je 0x43c097
mov ebp, 1
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x43c078
mov edx, dword [ebx]
push ecx
push esi
mov ecx, ebx
call dword [edx + 0x24]
mov eax, dword [ebx]
push 2
push 0x49fca0
mov ecx, ebx
call dword [eax + 0x24]
test ebp, ebp
je 0x43c093
push esi
call fcn.00453327
add esp, 4
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
add edi, 0xc
dec eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], eax
jne 0x43c03b
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x14
ret
Function at 0x43c6f0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
push edi
jne 0x43c709
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push esi
call fcn.004415b0
add esp, 4
test eax, eax
jne 0x43c71e
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ebp, dword [esp + 0x2c]
test ebp, ebp
jg 0x43c730
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esi]
mov dword [esp + 0x20], 0
cmp eax, 1
jne 0x43c80e
mov edi, dword [esi + 4]
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x10], ebx
jne 0x43c767
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push 0
push edi
mov dword [esp + 0x28], 1
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
sub esi, ebp
sub esi, ebx
test esi, esi
jle 0x43c7fb
push esi
call fcn.00453212
add esp, 4
mov ebx, eax
push 1
push 0
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
call ebp
lea eax, [esp + 0x14]
push 0
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43c7c2
push ebx
call fcn.00452fbe
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x10]
push 0
push 0
push ecx
push edi
call ebp
lea edx, [esp + 0x14]
push 0
push edx
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x43c7e6
mov dword [esp + 0x20], eax
push ebx
call fcn.00452fbe
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
je 0x43c883
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp eax, 2
jne 0x43c883
mov esi, dword [esi + 4]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x14]
mov ecx, esi
mov ebx, eax
call fcn.00441400
mov edi, eax
mov dword [esp + 0x20], 1
sub edi, ebp
sub edi, ebx
test edi, edi
jle 0x43c87b
mov edx, dword [esi]
push 1
push ebp
mov ecx, esi
call dword [edx + 0x18]
push edi
call fcn.00453212
add esp, 4
mov ebp, eax
mov eax, dword [esi]
mov ecx, esi
push edi
push ebp
call dword [eax + 0x20]
mov edx, dword [esi]
push 0
push ebx
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esi]
push edi
push ebp
mov ecx, esi
call dword [eax + 0x24]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
push ebp
mov ebx, eax
call fcn.00452fbe
add esp, 4
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x1c]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x43d6e0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x43d6fe
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x43d6f3
pop esi
ret

Function at 0x43db60
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1010
call fcn.00453c00
mov eax, dword [esp + 0x1014]
push ebx
push ebp
mov ebp, dword [esp + 0x1020]
push esi
push edi
xor edi, edi
push 1
push edi
push edi
push eax
mov dword [ebp], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x43dc62
jmp 0x43db9f
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x1024]
xor esi, esi
lea ecx, [esp + 0x18]
push esi
push ecx
lea edx, [esp + 0x28]
push 0x1000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43dc7f
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], esi
cmp eax, esi
jbe 0x43dbeb
mov cl, byte [esp + esi + 0x20]
test cl, cl
je 0x43dbe2
inc esi
cmp esi, eax
jb 0x43dbd3
jmp 0x43dbeb
inc esi
mov dword [esp + 0x14], 1
mov eax, dword [ebp]
mov ebx, edi
add edi, esi
test eax, eax
mov dword [esp + 0x1c], edi
je 0x43dc07
inc edi
push edi
push eax
call fcn.00439780
add esp, 8
jmp 0x43dc11
inc edi
push edi
call fcn.00439730
add esp, 4
mov edi, eax
lea ecx, [esp + 0x20]
add edi, ebx
push esi
push ecx
push edi
mov dword [ebp], eax
call fcn.00452fd0
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
mov byte [edi + esi], 0
jne 0x43dc98
cmp dword [esp + 0x18], 0x1000
jb 0x43dccb
mov edx, dword [esp + 0x1024]
push 1
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x43db9b
mov eax, dword [esp + 0x102c]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
add esp, 0x1010
ret
mov ecx, dword [esp + 0x102c]
pop edi
mov eax, 1
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
add esp, 0x1010
ret
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1024]
push 0
add esi, edx
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esp + 0x102c]
pop edi
pop esi
pop ebp
mov dword [ecx], 1
xor eax, eax
pop ebx
add esp, 0x1010
ret
mov edx, dword [esp + 0x102c]
pop edi
pop esi
pop ebp
mov dword [edx], 1
mov eax, 1
pop ebx
add esp, 0x1010
ret
Function at 0x43dcf0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x18]
push 4
push ecx
push edi
mov dword [esi], 0
call ebx
test eax, eax
je 0x43dd7c
cmp dword [esp + 0x14], 4
jb 0x43dd7c
mov edx, dword [esp + 0x10]
add edx, 8
push edx
call fcn.00439730
mov edx, dword [esp + 0x14]
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esi], eax
push 0
push ecx
add eax, 8
push edx
push eax
push edi
call ebx
test eax, eax
je 0x43dd6b
mov esi, dword [esi]
mov dword [esi], 1
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x10]
jne 0x43dd7c
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov edx, dword [esi]
push edx
call fcn.004397c0
add esp, 4
mov dword [esi], 0
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x43e8e0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x144
push ebx
mov ebx, dword [esp + 0x14c]
push ebp
mov ebp, dword [esp + 0x15c]
push esi
push edi
mov esi, dword [ebp]
mov dword [esp + 0x10], 0
test ebx, ebx
je 0x43e96b
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43e96b
test esi, esi
je 0x43e925
cmp esi, 0xffffffff
je 0x43e925
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp], esi
je 0x43e9b1
mov eax, dword [esp + 0x160]
test eax, eax
je 0x43e954
mov ecx, dword [esp + 0x14]
and ecx, 0x10
cmp cl, 0x10
je 0x43e96b
jmp 0x43e963
mov edx, dword [esp + 0x15c]
mov eax, dword [esp + 0x14]
test edx, eax
je 0x43e96b
mov dword [esp + 0x10], 1
test esi, esi
je 0x43e9b1
cmp esi, 0xffffffff
je 0x43e9b1
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x43e9e8
mov eax, dword [esp + 0x160]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
lea eax, [esp + 0x14]
push eax
push esi
je 0x43e9be
call edi
test eax, eax
je 0x43e9b1
mov ecx, dword [esp + 0x14]
and ecx, 0x10
cmp cl, 0x10
jne 0x43e9e8
lea edx, [esp + 0x14]
push edx
push esi
call edi
test eax, eax
jne 0x43e999
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x144
ret
call edi
test eax, eax
je 0x43e9b1
mov ebx, dword [esp + 0x15c]
test dword [esp + 0x14], ebx
jne 0x43e9e8
lea ecx, [esp + 0x14]
push ecx
push esi
call edi
test eax, eax
jne 0x43e9cb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00439730
mov edx, eax
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
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, 0x144
ret

Function at 0x43eb40
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 0x43ebd2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x43ebc4
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 0x43ebbc
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x43eb85
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 0x43ebe0
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0
push 0x20
push 3
push 0
push 3
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43ec08
pop edi
or eax, eax
pop esi
ret
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], 0xffffffff
jne 0x43ec2a
pop edi
or eax, 0xffffffff
pop esi
ret
mov eax, edi
pop edi
pop esi
ret
Function at 0x442040
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 0x44204c
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x100], cl
cmp eax, ecx
mov byte [ebp + 0x101], cl
jle 0x4420df
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 0x4420a9
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.004420f0
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 0x44207e
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret

Function at 0x442110
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 0x44220d
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 0x442162
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 0x44218e
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.004420f0
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 0x4421cf
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 0x442151
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 0x444d60
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 + 0x49ff34]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x444d73
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x444db4
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 + 0x49ffdc]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x444de6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x444dea
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x444ddb
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x444e08
mov bl, byte [esp + ecx + 0x4c]
jmp 0x444e0c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x444dfd
xor ecx, ecx
mov eax, 0x49ff44
xor ebx, ebx
mov bl, byte [ecx + 0x49ffec]
cmp byte [esp + ebx + 0x14], 0
je 0x444e37
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x4a0004]
cmp byte [esp + ebx + 0x14], 0
je 0x444e4e
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 0x444e1e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x444da7
lea edx, [esp + 0x84]
push edx
call fcn.00444e90
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x44cd5f
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 0x10]
push esi
mov esi, ecx
push 1
mov ecx, dword [eax]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 8], ecx
mov ecx, dword [eax]
mov dword [esi + 0xc], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x10], eax
mov dword [esi], 0x462398
and dword [0x4b62fc], 0
pop eax
cmp dword [ebp + 0xc], eax
jae 0x44cda0
mov dword [0x4b62fc], eax
jmp 0x44cea7
push 0x38
pop eax
cmp dword [ebp + 0xc], eax
jbe 0x44cdab
mov dword [ebp + 0xc], eax
push ebx
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x48]
push dword [ebp + 8]
push eax
call fcn.00454c10
lea edi, [esi + 0x14]
push 0x48
push 0x461350
push edi
call fcn.00454c10
lea eax, [esi + 0x5c]
push 0x1000
push 0x461398
push eax
call fcn.00454c10
add esp, 0x24
and dword [ebp + 0x10], 0
lea eax, [ebp - 0x48]
mov ecx, edi
push 4
mov dword [ebp - 8], 0x12
pop ebx
and dword [ebp + 8], 0
mov dword [ebp - 4], ebx
mov edx, dword [ebp + 8]
movzx ebx, byte [eax]
shl edx, 8
or edx, ebx
inc eax
inc dword [ebp + 0x10]
mov dword [ebp + 8], edx
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp + 0xc]
jne 0x44ce1d
and dword [ebp + 0x10], 0
lea eax, [ebp - 0x48]
dec dword [ebp - 4]
jne 0x44cdfc
mov edx, dword [ebp + 8]
push 4
xor dword [ecx], edx
pop ebx
add ecx, ebx
dec dword [ebp - 8]
jne 0x44cdf5
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0044ceca
mov eax, dword [ebp - 0x10]
inc dword [ebp + 0xc]
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
add edi, ebx
inc dword [ebp + 0xc]
mov dword [edi], eax
add edi, ebx
cmp dword [ebp + 0xc], 0x12
jb 0x44ce3c
lea eax, [esi + 0x5c]
mov dword [ebp + 8], ebx
mov dword [ebp + 0x10], eax
and dword [ebp + 0xc], 0
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0044ceca
mov eax, dword [ebp - 0x10]
inc dword [ebp + 0xc]
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
add edi, ebx
inc dword [ebp + 0xc]
mov dword [edi], eax
add edi, ebx
cmp dword [ebp + 0xc], 0x100
jl 0x44ce71
add dword [ebp + 0x10], 0x400
dec dword [ebp + 8]
jne 0x44ce6a
pop edi
pop ebx
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x44d154
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
xor ecx, ecx
push edi
cmp eax, ecx
mov dword [0x4b62fc], ecx
je 0x44d289
test al, 7
jne 0x44d289
cmp dword [ebp + 0x14], 1
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
jne 0x44d1e0
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 0x10]
cmp eax, 8
jb 0x44d293
shr eax, 3
mov dword [ebp + 0x14], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.0044d0b0
xor dword [ebp - 8], edi
xor dword [ebp - 4], ebx
pop ecx
lea eax, [ebp - 8]
pop ecx
push eax
mov ecx, esi
call fcn.0044ceca
add dword [ebp + 0xc], 8
mov edi, dword [ebp - 8]
push dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.0044d10d
add dword [ebp + 8], 8
dec dword [ebp + 0x14]
pop ecx
pop ecx
jne 0x44d19b
jmp 0x44d293
cmp dword [ebp + 0x14], 2
jne 0x44d24b
mov ecx, dword [esi + 0xc]
cmp eax, 8
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0xc], ecx
jb 0x44d293
shr eax, 3
mov edi, eax
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0044ceca
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.0044d0b0
mov eax, dword [ebp - 8]
add dword [ebp + 0xc], 8
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
push dword [ebp + 0xc]
xor ecx, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 0xc], ecx
call fcn.0044d10d
add dword [ebp + 8], 8
add esp, 0x10
dec edi
jne 0x44d200
jmp 0x44d293
cmp eax, 8
jb 0x44d293
shr eax, 3
mov edi, eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.0044d0b0
pop ecx
lea eax, [ebp - 8]
pop ecx
push eax
mov ecx, esi
call fcn.0044ceca
add dword [ebp + 0xc], 8
lea eax, [ebp - 8]
push dword [ebp + 0xc]
push eax
call fcn.0044d10d
add dword [ebp + 8], 8
pop ecx
dec edi
pop ecx
jne 0x44d255
jmp 0x44d293
mov dword [0x4b62fc], 1
pop edi
pop esi
pop ebx
leave
ret 0x10