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

Disassembly:
push 0xffffffffffffffff
push 0x50b290
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5467a4]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
xor ebp, ebp
mov dword [esp + 0x60], ebp
cmp dword [eax + 0x18], 8
jb 0x4ce7b0
mov eax, dword [eax + 4]
jmp 0x4ce7b3
add eax, 4
push ebp
push 0x80
push 3
push ebp
push 3
push Ordinal_4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x68], esi
je 0x4ce7ed
lea edi, [esp + 0x1c]
lea eax, [esp + 0x68]
call fcn.0043ebf0
test al, al
jne 0x4ce803
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov edi, dword [esp + 0x1c]
lea esi, [esp + 0x28]
mov dword [esp + 0x28], vtable.GameMgr::GMBuffer_unsigned_char_.0
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
call fcn.00401110
mov byte [esp + 0x60], 1
mov ebp, dword [esp + 0x30]
test ebp, ebp
je 0x4ce866
mov ecx, dword [esp + 0x68]
push 0
lea eax, [esp + 0x1c]
push eax
push edi
push ebp
push ecx
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4ce85d
cmp dword [esp + 0x18], 0
seta al
test al, al
jne 0x4ce887
push ebp
call fcn.004e7d6a
add esp, 4
mov edx, dword [esp + 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov esi, ebx
call fcn.00401110
mov eax, dword [ebx + 4]
cmp edi, eax
ja 0x4ce897
mov eax, edi
mov dword [ebx + 0xc], eax
lea eax, [esp + 0x38]
call fcn.00454f10
mov eax, dword [ebx + 8]
push 0
push eax
push ebp
lea eax, [esp + 0x44]
push eax
mov eax, edi
call fcn.00454f90
test al, al
lea ecx, [esp + 0x28]
jne 0x4ce8e2
call fcn.00401070
lea esi, [esp + 0x68]
call fcn.0043eaf0
xor al, al
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
call fcn.00401070
mov ecx, dword [esp + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
Function at 0x4ceae0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x50af08
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
mov eax, dword [0x5467a4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov eax, dword [edi + 0x20]
cmp eax, ebx
je 0x4ceb2f
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x4ceb23
push eax
call fcn.004e7d6a
add esp, 4
mov eax, dword [edi + 0x20]
push eax
call fcn.004e7d7e
add esp, 4
mov dword [edi + 0x20], ebx
mov byte [edi + 0x24], bl
cmp dword [edi + 0x1c], 8
jb 0x4ceb40
mov eax, dword [edi + 8]
jmp 0x4ceb43
lea eax, [edi + 8]
push ebx
push ebx
push 3
push ebx
push ebx
push Ordinal_4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x14], ebp
je 0x4cec95
mov esi, edi
call fcn.004cecb0
mov eax, dword [edi + 0x20]
cmp eax, ebx
je 0x4cec65
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea ecx, [esp + 0x14]
push ecx
push 2
push eax
push ebp
mov dword [esp + 0x24], ebx
call esi
test eax, eax
je 0x4cec65
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
seta al
cmp al, bl
je 0x4cec65
cmp ecx, 2
jne 0x4cec65
mov eax, dword [edi + 0x20]
add eax, ecx
je 0x4cec65
push ebx
lea edx, [esp + 0x14]
push edx
push ecx
push eax
push ebp
mov dword [esp + 0x24], ebx
call esi
test eax, eax
je 0x4cec65
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
seta al
cmp al, bl
je 0x4cec65
cmp ecx, 2
jne 0x4cec65
mov eax, dword [edi + 0x20]
push ecx
add eax, 4
lea esi, [esp + 0x14]
lea ecx, [esp + 0x18]
call fcn.0043eb60
test al, al
je 0x4cec65
cmp dword [esp + 0x10], 2
jne 0x4cec65
mov eax, dword [edi + 0x20]
movzx eax, word [eax + 4]
xor ecx, ecx
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e7330
mov ecx, dword [edi + 0x20]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x20]
movzx edx, word [eax + 4]
mov eax, dword [eax + 8]
add esp, 4
shl edx, 4
push edx
lea ecx, [esp + 0x18]
call fcn.0043eb60
test al, al
je 0x4cec5c
mov eax, dword [edi + 0x20]
movzx ecx, word [eax + 4]
shl ecx, 4
cmp dword [esp + 0x10], ecx
jne 0x4cec5c
mov byte [edi + 0x24], 1
jmp 0x4cec8e
mov esi, edi
call fcn.004ced00
jmp 0x4cec8e
mov eax, dword [edi + 0x20]
cmp eax, ebx
je 0x4cec88
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x4cec7c
push eax
call fcn.004e7d6a
add esp, 4
mov edx, dword [edi + 0x20]
push edx
call fcn.004e7d7e
add esp, 4
mov dword [edi + 0x20], ebx
mov byte [edi + 0x24], bl
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4e5cb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x4e5d74
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004ed533
add esp, 4
mov edx, dword [ebp - 0xc]
lea eax, [edx + eax + 1]
shl eax, 1
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4e5d02
xor eax, eax
jmp 0x4e5d77
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + eax*2 - 2]
cmp edx, 0x5c
je 0x4e5d38
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov word [ecx + eax*2], 0x5c
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], 0
jmp 0x4e5d4a
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004ed533
add esp, 4
cmp dword [ebp - 4], eax
jae 0x4e5d74
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov esi, dword [ebp + 8]
mov cx, word [esi + ecx*2]
mov word [eax + edx*2], cx
jmp 0x4e5d41
mov eax, dword [ebp - 8]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4e7d6f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5467a4]
jne 0x4e7d79
repz ret
jmp fcn.004f15a7
Function at 0x4ec268
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x4ec2a5
cmp dword [ebp + 0x14], edi
je 0x4ec2a5
cmp ecx, edi
jne 0x4ec2ac
call fcn.004ea80f
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.004e899b
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x4ec2c0
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x4ec2e1
cmp ebx, 0xffffffff
je 0x4ec2d0
push ebx
push edi
push ecx
call fcn.004f1960
add esp, 0xc
cmp esi, edi
je 0x4ec28d
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x4ec28d
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x4ec2fd
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x4ec304
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x4ec3f5
test word [esi + 0xc], 0x10c
je 0x4ec358
mov eax, dword [esi + 4]
test eax, eax
je 0x4ec358
jl 0x4ec456
cmp ebx, eax
mov edi, ebx
jb 0x4ec329
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x4ec3fd
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004e819a
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x4ec3ed
cmp ebx, dword [ebp - 0xc]
jb 0x4ec3c5
cmp dword [ebp - 0xc], 0
je 0x4ec382
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x4ec377
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x4ec37e
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x4ec38d
mov eax, SysReAllocString
cmp ebx, eax
ja 0x4ec38d
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x4ec429
push eax
push dword [ebp - 8]
push esi
call fcn.004f4617
pop ecx
push eax
call fcn.004fc6a1
add esp, 0xc
test eax, eax
je 0x4ec468
cmp eax, 0xffffffff
je 0x4ec456
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x4ec3ed
push esi
call fcn.004f5db1
cmp eax, 0xffffffff
pop ecx
je 0x4ec45a
cmp dword [ebp - 4], 0
je 0x4ec429
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x4ec30c
mov eax, dword [ebp + 0x14]
jmp 0x4ec2a7
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x4ec414
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.004f1960
add esp, 0xc
call fcn.004ea80f
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x4ec29d
cmp dword [ebp + 0xc], 0xffffffff
je 0x4ec43f
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004f1960
add esp, 0xc
call fcn.004ea80f
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x4ec29d
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x4ec2a7
or dword [esi + 0xc], 0x10
jmp 0x4ec45a
Function at 0x4f5bd8
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x547240]
je 0x4f5bf3
inc edi
cmp edi, 0x17
jb 0x4f5be4
cmp edi, 0x17
jae 0x4f5d73
push ebp
push 3
call fcn.0050283c
cmp eax, 1
pop ecx
je 0x4f5d3f
push 3
call fcn.0050283c
test eax, eax
pop ecx
jne 0x4f5c27
cmp dword [0x5465d0], 1
je 0x4f5d3f
cmp ebx, 0xfc
je 0x4f5d72
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x54c318
push ebp
call fcn.004f19da
add esp, 0xc
test eax, eax
je 0x4f5c5d
push esi
push esi
push esi
push esi
push esi
call fcn.004e889f
add esp, 0x14
push 0x104
mov esi, 0x54c331
push esi
push 0
mov byte [0x54c435], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4f5ca1
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004f19da
add esp, 0xc
test eax, eax
je 0x4f5ca1
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004e889f
add esp, 0x14
push esi
call fcn.004ed860
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4f5ce6
push esi
call fcn.004ed860
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x54c62c
push 0x518c94
sub ecx, eax
push ecx
push eax
call fcn.004feb74
add esp, 0x14
test eax, eax
je 0x4f5ce6
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004e889f
add esp, 0x14
jmp 0x4f5ce8
xor esi, esi
push 0x518c90
push ebx
push ebp
call fcn.004feb03
add esp, 0xc
test eax, eax
je 0x4f5d08
push esi
push esi
push esi
push esi
push esi
call fcn.004e889f
add esp, 0x14
push dword [edi*8 + 0x547244]
push ebx
push ebp
call fcn.004feb03
add esp, 0xc
test eax, eax
je 0x4f5d2a
push esi
push esi
push esi
push esi
push esi
call fcn.004e889f
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0050267f
add esp, 0xc
jmp 0x4f5d72
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4f5d72
cmp ebp, 0xffffffff
je 0x4f5d72
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x547244]
push dword [esi]
call fcn.004ed860
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x50267f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004f1d18
xor ebx, ebx
cmp dword [0x54c990], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x502755
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x502835
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x502835
push eax
call fcn.004f1caa
mov dword [esp], 0x51a068
push edi
mov dword [0x54c990], eax
call esi
push eax
call fcn.004f1caa
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x54c994], eax
call esi
push eax
call fcn.004f1caa
mov dword [0x54c998], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004ee137
test eax, eax
pop ecx
pop ecx
je 0x502723
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004e889f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x502755
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004f1caa
cmp eax, ebx
pop ecx
mov dword [0x54c9a0], eax
je 0x502755
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004f1caa
pop ecx
mov dword [0x54c99c], eax
mov eax, dword [0x54c99c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x5027da
cmp dword [0x54c9a0], ecx
je 0x5027da
push eax
call fcn.004f1d21
push dword [0x54c9a0]
mov esi, eax
call fcn.004f1d21
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x5027da
cmp edi, ebx
je 0x5027da
call esi
cmp eax, ebx
je 0x5027a7
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5027a7
test byte [ebp - 0x18], 1
jne 0x5027da
lea eax, [ebp - 0x10]
push eax
call fcn.004ee16e
test eax, eax
pop ecx
je 0x5027c2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004e889f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x5027d1
or dword [ebp + 0x10], 0x200000
jmp 0x502815
or dword [ebp + 0x10], 0x40000
jmp 0x502815
mov eax, dword [0x54c994]
cmp eax, dword [ebp - 8]
je 0x502815
push eax
call fcn.004f1d21
cmp eax, ebx
pop ecx
je 0x502815
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x502815
mov eax, dword [0x54c998]
cmp eax, dword [ebp - 8]
je 0x502815
push eax
call fcn.004f1d21
cmp eax, ebx
pop ecx
je 0x502815
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x54c990]
call fcn.004f1d21
cmp eax, ebx
pop ecx
je 0x502835
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x502837
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0xf57410
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0xf77020]
xor eax, esp
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0xf5754a
test eax, eax
je 0xf5754a
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0xf5754a
push ecx
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x74], 0
xorps xmm0, xmm0
mov dword [esp + 0x7d], 0
push eax
movq qword [esp + 0x79], xmm0
mov word [esp + 0x85], 0
mov byte [esp + 0x87], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 0x67452301
mov dword [esp + 0x20], 0xefcdab89
mov dword [esp + 0x24], 0x98badcfe
mov dword [esp + 0x28], 0x10325476
call fcn.00f56b30
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00f56c00
mov ebx, esi
xor edi, edi
movzx eax, byte [esp + edi + 0x6c]
xorps xmm0, xmm0
push eax
push str._02X
lea eax, [esp + 0x84]
mov byte [esp + 0x84], 0
push 0x20
push eax
movdqu xmmword [esp + 0x8d], xmm0
mov dword [esp + 0xa5], 0
movq qword [esp + 0x9d], xmm0
mov word [esp + 0xa9], 0
mov byte [esp + 0xab], 0
call fcn.00f5e419
mov ax, word [esp + 0x8c]
lea ebx, [ebx + 2]
inc edi
mov word [ebx - 2], ax
add esp, 0x10
cmp edi, 0x10
jl 0xf574c5
cmp byte [esi], 0
je 0xf5754a
mov al, byte [esi]
cmp al, 0x41
jb 0xf57544
cmp al, 0x5a
ja 0xf57544
add al, 0x20
mov byte [esi], al
inc esi
cmp byte [esi], 0
jne 0xf57536
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00f5d4b9
mov esp, ebp
pop ebp
ret 0xc

Function at 0xf5786c
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0xf77020]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x3f
lea eax, [ebp - 0x7b]
mov byte [ebp - 0x7c], 0
push 0
push eax
mov edi, ecx
call fcn.00f5ef30
mov esi, dword [ebp + 8]
add esp, 0xc
xor edx, edx
lea ecx, [ecx]
mov eax, edx
mov ecx, edx
shr eax, 3
and ecx, 7
movsx eax, byte [eax + esi]
shl eax, cl
sar eax, 7
and al, 1
mov byte [ebp + edx - 0x7c], al
inc edx
cmp edx, 0x40
jb 0xf57840
push 0x37
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x3c], 0
push 0
push eax
call fcn.00f5ef30
add esp, 0xc
xor eax, eax
jmp 0xf57880
movsx ecx, byte [eax + 0xf741a0]
movzx ecx, byte [ebp + ecx - 0x7d]
mov byte [ebp + eax - 0x3c], cl
movsx ecx, byte [eax + 0xf741a1]
movzx ecx, byte [ebp + ecx - 0x7d]
mov byte [ebp + eax - 0x3b], cl
movsx ecx, byte [eax + 0xf741a2]
movzx ecx, byte [ebp + ecx - 0x7d]
mov byte [ebp + eax - 0x3a], cl
movsx ecx, byte [eax + 0xf741a3]
mov dl, byte [ebp + ecx - 0x7d]
mov byte [ebp + eax - 0x39], dl
add eax, 4
cmp eax, 0x38
jl 0xf57880
push ecx
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
call fcn.00f58110
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00f5d4b9
mov esp, ebp
pop ebp
ret 8
Function at 0xf578f0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0xf77020]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3f
lea eax, [ebp - 0x63]
mov byte [ebp - 0x64], 0
push 0
push eax
mov edi, ecx
call fcn.00f5ef30
push 0x3f
lea eax, [ebp - 0xe3]
mov byte [ebp - 0xe4], 0
push 0
push eax
call fcn.00f5ef30
push 0x3f
lea eax, [ebp - 0xa3]
push 0
push eax
call fcn.00f5ef30
mov esi, dword [ebp + 8]
add esp, 0x24
xor edx, edx
mov eax, edx
mov ecx, edx
shr eax, 3
and ecx, 7
movsx eax, byte [eax + esi]
shl eax, cl
sar eax, 7
and al, 1
mov byte [ebp + edx - 0x64], al
inc edx
cmp edx, 0x40
jb 0xf57948
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00f584a0
movdqu xmm0, xmmword [ebp - 0xe4]
xor esi, esi
movdqu xmmword [ebp - 0x44], xmm0
movdqu xmm0, xmmword [ebp - 0xd4]
movdqu xmmword [ebp - 0x34], xmm0
movdqu xmm0, xmmword [ebp - 0xc4]
movdqu xmmword [ebp - 0x24], xmm0
movdqu xmm0, xmmword [ebp - 0xb4]
movdqu xmmword [ebp - 0x14], xmm0
lea ecx, [ecx]
push ecx
push esi
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00f58320
inc esi
cmp esi, 0x10
jl 0xf579b0
movdqu xmm0, xmmword [ebp - 0x24]
xor eax, eax
movdqu xmmword [ebp - 0xa4], xmm0
movdqu xmm0, xmmword [ebp - 0x14]
movdqu xmmword [ebp - 0x94], xmm0
movdqu xmm0, xmmword [ebp - 0x44]
movdqu xmmword [ebp - 0x84], xmm0
movdqu xmm0, xmmword [ebp - 0x34]
movdqu xmmword [ebp - 0x74], xmm0
lea ebx, [ebx]
movsx ecx, byte [eax + 0xf73e90]
movzx ecx, byte [ebp + ecx - 0xa5]
mov byte [edi + eax + 0x600], cl
movsx ecx, byte [eax + 0xf73e91]
movzx ecx, byte [ebp + ecx - 0xa5]
mov byte [edi + eax + 0x601], cl
movsx ecx, byte [eax + 0xf73e92]
movzx ecx, byte [ebp + ecx - 0xa5]
mov byte [edi + eax + 0x602], cl
movsx ecx, byte [eax + 0xf73e93]
movzx ecx, byte [ebp + ecx - 0xa5]
mov byte [edi + eax + 0x603], cl
add eax, 4
cmp eax, 0x40
jl 0xf57a00
xorps xmm0, xmm0
mov ebx, 1
movq qword [edi + 0x680], xmm0
lea eax, [ebx - 1]
mov ecx, 7
and eax, 7
lea edx, [ebx - 1]
sub ecx, eax
shr edx, 3
movzx eax, byte [ebx + edi + 0x5ff]
shl al, cl
mov ecx, 7
or byte [edx + edi + 0x680], al
mov eax, ebx
and eax, 7
mov edx, ebx
sub ecx, eax
shr edx, 3
movzx eax, byte [ebx + edi + 0x600]
shl al, cl
mov ecx, 7
or byte [edx + edi + 0x680], al
lea edx, [ebx + 1]
movzx eax, byte [ebx + edi + 0x601]
mov esi, edx
and edx, 7
shr esi, 3
sub ecx, edx
lea edx, [ebx + 2]
shl al, cl
mov ecx, 7
or byte [esi + edi + 0x680], al
mov esi, edx
movzx eax, byte [ebx + edi + 0x602]
and edx, 7
shr esi, 3
sub ecx, edx
add ebx, 4
shl al, cl
or byte [esi + edi + 0x680], al
lea eax, [ebx - 1]
cmp eax, 0x40
jb 0xf57a70
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00f5d4b9
mov esp, ebp
pop ebp
ret 8
Function at 0xf57c1f
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0xf77020]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3f
lea eax, [ebp - 0x63]
mov byte [ebp - 0x64], 0
push 0
push eax
mov edi, ecx
call fcn.00f5ef30
push 0x3f
lea eax, [ebp - 0xe3]
mov byte [ebp - 0xe4], 0
push 0
push eax
call fcn.00f5ef30
push 0x3f
lea eax, [ebp - 0xa3]
push 0
push eax
call fcn.00f5ef30
mov esi, dword [ebp + 8]
add esp, 0x24
xor edx, edx
mov eax, edx
mov ecx, edx
shr eax, 3
and ecx, 7
movsx eax, byte [eax + esi]
shl eax, cl
sar eax, 7
and al, 1
mov byte [ebp + edx - 0x64], al
inc edx
cmp edx, 0x40
jb 0xf57b78
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00f584a0
movdqu xmm0, xmmword [ebp - 0xe4]
xor esi, esi
movdqu xmmword [ebp - 0x44], xmm0
movdqu xmm0, xmmword [ebp - 0xd4]
movdqu xmmword [ebp - 0x34], xmm0
movdqu xmm0, xmmword [ebp - 0xc4]
movdqu xmmword [ebp - 0x24], xmm0
movdqu xmm0, xmmword [ebp - 0xb4]
movdqu xmmword [ebp - 0x14], xmm0
lea ecx, [ecx]
push ecx
mov eax, 0xf
mov ecx, edi
sub eax, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00f58320
inc esi
cmp esi, 0x10
jl 0xf57be0
movdqu xmm0, xmmword [ebp - 0x24]
xor eax, eax
movdqu xmmword [ebp - 0xa4], xmm0
movdqu xmm0, xmmword [ebp - 0x14]
movdqu xmmword [ebp - 0x94], xmm0
movdqu xmm0, xmmword [ebp - 0x44]
movdqu xmmword [ebp - 0x84], xmm0
movdqu xmm0, xmmword [ebp - 0x34]
movdqu xmmword [ebp - 0x74], xmm0
movsx ecx, byte [eax + 0xf73e90]
movzx ecx, byte [ebp + ecx - 0xa5]
mov byte [edi + eax + 0x640], cl
movsx ecx, byte [eax + 0xf73e91]
movzx ecx, byte [ebp + ecx - 0xa5]
mov byte [edi + eax + 0x641], cl
movsx ecx, byte [eax + 0xf73e92]
movzx ecx, byte [ebp + ecx - 0xa5]
mov byte [edi + eax + 0x642], cl
movsx ecx, byte [eax + 0xf73e93]
movzx ecx, byte [ebp + ecx - 0xa5]
mov byte [edi + eax + 0x643], cl
add eax, 4
cmp eax, 0x40
jl 0xf57c31
xorps xmm0, xmm0
mov ebx, 1
movq qword [edi + 0x688], xmm0
lea eax, [ebx - 1]
mov ecx, 7
and eax, 7
lea edx, [ebx - 1]
sub ecx, eax
shr edx, 3
movzx eax, byte [ebx + edi + 0x63f]
shl al, cl
mov ecx, 7
or byte [edx + edi + 0x688], al
mov eax, ebx
and eax, 7
mov edx, ebx
sub ecx, eax
shr edx, 3
movzx eax, byte [ebx + edi + 0x640]
shl al, cl
mov ecx, 7
or byte [edx + edi + 0x688], al
lea edx, [ebx + 1]
movzx eax, byte [ebx + edi + 0x641]
mov esi, edx
and edx, 7
shr esi, 3
sub ecx, edx
lea edx, [ebx + 2]
shl al, cl
mov ecx, 7
or byte [esi + edi + 0x688], al
mov esi, edx
movzx eax, byte [ebx + edi + 0x642]
and edx, 7
shr esi, 3
sub ecx, edx
add ebx, 4
shl al, cl
or byte [esi + edi + 0x688], al
lea eax, [ebx - 1]
cmp eax, 0x40
jb 0xf57ca1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00f5d4b9
mov esp, ebp
pop ebp
ret 8