joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e1970
Capabilities:
Create directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x81ded8
push eax
mov al, byte [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x28
test al, al
push ebx
push esi
mov ebx, ecx
jne 0x5e19e3
mov eax, dword [esp + 0x44]
lea ecx, [esp + 8]
push eax
push ecx
call fcn.005de4d0
add esp, 8
mov edx, dword [esp + 0x48]
mov ecx, eax
push edx
mov edx, dword [eax]
mov dword [esp + 0x3c], 0
call dword [edx + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 1
lea ecx, [esp + 0x24]
mov esi, eax
mov dword [esp + 0x3c], 0xffffffff
call fcn.00404c40
push 1
lea ecx, [esp + 0x10]
call fcn.00404c40
jmp 0x5e19fa
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
push eax
mov edx, dword [ecx]
call dword [edx + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test esi, esi
jne 0x5e1a59
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x18], eax
lea eax, [ebx + 4]
test eax, eax
je 0x5e1a14
lea edi, [eax + 4]
jmp 0x5e1a16
xor edi, edi
push str.CreateDirectoryW__
call fcn.007ac4d2
add esp, 4
mov esi, eax
mov ecx, edi
push 1
push esi
call fcn.00404d30
test al, al
je 0x5e1a51
mov eax, dword [edi + 4]
push esi
push str.CreateDirectoryW__
push eax
call fcn.004069b0
mov ecx, dword [edi + 4]
mov dword [edi + 8], esi
add esp, 0xc
mov word [ecx + esi*2], 0
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
pop edi
mov ecx, dword [esp + 0x30]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 0xc

Function at 0x5e4114
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x81e1c0
call fcn.007ae8fc
push ecx
push ecx
push esi
mov esi, ecx
push dword [ebp + 8]
mov eax, dword [esi]
call dword [eax + 0x24]
test eax, eax
setne cl
mov byte [ebp - 0x14], cl
mov dword [ebp - 0x10], eax
push dword [ebp + 0x10]
mov edx, dword [eax]
and dword [ebp - 4], 0
mov ecx, eax
push dword [ebp + 0xc]
call dword [edx + 0xc]
mov eax, dword [esi]
push 0
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [eax + 0x30]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.0060dd86
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x5e422f
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x81e1fc
call fcn.007ae8fc
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x24]
test eax, eax
setne cl
mov byte [ebp - 0x14], cl
mov dword [ebp - 0x10], eax
push dword [ebp + 0x14]
mov edx, dword [esi]
and dword [ebp - 4], 0
mov ecx, esi
push dword [ebp + 0x10]
push eax
call dword [edx + 0x28]
mov ecx, dword [ebp - 0x10]
push dword [ebp + 0xc]
mov eax, dword [ecx]
push dword [ebp + 8]
call dword [eax + 0xc]
mov eax, dword [esi]
push dword [ebp - 0x10]
mov ecx, esi
call dword [eax + 0x30]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
mov bl, al
call fcn.0060dd86
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x5e4518
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [esp + 4]
push 4
pop edx
push ebx
mov bl, al
mov cl, dl
shr bl, cl
xor al, bl
shr edx, 1
jne 0x5e4520
and eax, 1
pop ebx
ret

Function at 0x5e6402
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x81e600
call fcn.007ae8fc
sub esp, 0x44
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0x10
lea eax, [ebp - 0x50]
mov esi, ecx
push edi
push eax
mov dword [ebp - 0x10], esi
call fcn.005e6864
mov dword [ebp + 0x10], eax
push dword [ebp + 0xc]
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push str.WindowsPipe:
push eax
call fcn.0044e080
push str._operation_failed_with_error_0x
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
call fcn.0044de30
push dword [ebp + 0x10]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0044df50
add esp, 0x30
mov dword [ebp + 0x10], eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.007ac4ef
push dword [ebp + 0x10]
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 4
mov dword [esi + 0xc], 5
call fcn.0042b6c0
mov dword [esi], vtable.CryptoPP::Exception.0
push dword [ebp + 0xc]
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 5
call fcn.0042b6c0
mov dword [esi + 0x30], edi
mov dword [esi], 0x86a810
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.00404c40
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.00404c40
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.00404c40
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
call fcn.00404c40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x34], eax
mov dword [esi], 0x86a818
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x5e6a04
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x81e698
call fcn.007ae8fc
sub esp, 0x44
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0xa
lea eax, [ebp - 0x50]
mov esi, ecx
push edi
push eax
mov dword [ebp - 0x10], esi
call fcn.005e6864
mov dword [ebp + 0x10], eax
push dword [ebp + 0xc]
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push str.Socket:
push eax
call fcn.0044e080
push str._operation_failed_with_error
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
call fcn.0044de30
push dword [ebp + 0x10]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0044df50
add esp, 0x30
mov dword [ebp + 0x10], eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.007ac4ef
push dword [ebp + 0x10]
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 4
mov dword [esi + 0xc], 5
call fcn.0042b6c0
mov dword [esi], vtable.CryptoPP::Exception.0
push dword [ebp + 0xc]
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 5
call fcn.0042b6c0
mov dword [esi + 0x30], edi
mov dword [esi], 0x86a810
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.00404c40
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.00404c40
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.00404c40
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
call fcn.00404c40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x34], eax
mov dword [esi], 0x86a870
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x5e742e
Capabilities:
Connect socket

Disassembly:
push esi
mov esi, ecx
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x5e7464
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x5e7458
xor al, al
jmp 0x5e7466
mov eax, dword [esi]
push str.connect
mov ecx, esi
call dword [eax + 4]
mov al, 1
pop esi
ret 8

Function at 0x5e74c9
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push esi
mov esi, ecx
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x5e74ee
mov eax, dword [esi]
push str.getsockname
mov ecx, esi
call dword [eax + 4]
pop esi
ret 8

Function at 0x5f1e34
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x81f6b2
call fcn.007ae8fc
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi], eax
mov al, byte [ebp + 0xb]
lea ecx, [esi + 4]
mov dword [ebp - 0x10], esi
mov byte [ecx], al
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov al, byte [ebp + 0xb]
mov dword [ebp - 4], ebx
mov byte [esi + 0x14], al
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
xor edx, edx
lea edi, [esi + 0x40]
inc edx
mov eax, vtable.CryptoPP::Timer.0
mov dword [edi + 8], edx
mov byte [edi + 0xc], bl
mov byte [edi + 0xd], bl
mov dword [edi], eax
mov dword [esi + 0x64], ebx
mov byte [ebp - 4], dl
mov dword [esi + 0x70], edx
mov byte [esi + 0x74], bl
mov byte [esi + 0x75], bl
mov dword [esi + 0x68], eax
call fcn.005f2b69
fldz
mov ecx, edi
mov byte [esi + 0x30], bl
fstp qword [esi + 0x38]
call fcn.005f1c5b
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x5f2371
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov ecx, dword [edi + 0x18]
cmp ecx, ebx
jne 0x5f2388
mov dword [ebp - 4], ebx
jmp 0x5f2395
mov eax, dword [edi + 0x1c]
sub eax, ecx
sar eax, 2
mov dword [ebp - 4], eax
jne 0x5f23ba
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push 1
push 1
push ebx
call esi
push ebx
push ebx
push 1
push ebx
mov dword [edi + 0x24], eax
call esi
push ebx
push ebx
push 1
push ebx
mov dword [edi + 0x28], eax
call esi
mov dword [edi + 0x2c], eax
mov esi, dword [ebp - 4]
cmp esi, dword [ebp + 8]
jae 0x5f2429
lea eax, [ebp - 4]
lea ecx, [edi + 0x14]
push eax
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call fcn.005f2b75
mov dword [ebp - 4], esi
push 0x24
call fcn.007d7320
mov edx, dword [edi + 0x18]
pop ecx
mov ecx, dword [ebp - 4]
shl ecx, 2
mov dword [ecx + edx], eax
mov eax, dword [edi + 0x18]
mov esi, dword [ecx + eax]
mov byte [esi + 1], bl
mov eax, dword [edi + 0x24]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x1c]
push eax
push ebx
push esi
push 0x5f2256
push ebx
push ebx
mov byte [esi], bl
call dword [sym.imp.KERNEL32.dll_CreateThread]
inc dword [ebp - 4]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jb 0x5f23d7
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x5f4fca
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x81fa54
call fcn.007ae8fc
sub esp, 0x64
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x3c]
lea ecx, [esi + 8]
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
push 1
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.005ecd57
and dword [ebp - 4], 0
push 1
lea ecx, [ebp - 0x20]
call fcn.005ecd57
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
mov eax, dword [esi]
mov byte [ebp - 4], 1
call dword [eax + 0x20]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00594340
add esp, 0xc
mov edi, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
lea ebx, [edi + 0x34]
push dword [ebp + 8]
mov ecx, ebx
call fcn.005ed855
push dword [ebp - 0x40]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
push dword [ebp - 0x3c]
call fcn.005f0ad8
push dword [ebp - 0x18]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x14]
call fcn.005f0ad8
push dword [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
push dword [ebp - 0x28]
call fcn.005f0ad8
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x30]
push eax
lea ecx, [edi + 0x1c]
call fcn.004a7d20
mov eax, dword [edi + 0x20]
mov edi, dword [edi + 0x24]
lea ecx, [ebp - 0x70]
mov dword [ebp + 0xc], eax
mov eax, dword [esi]
push ebx
push ecx
mov ecx, esi
call dword [eax + 0xc]
mov edx, dword [esi]
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 3
push eax
mov ecx, esi
call dword [edx + 0x3c]
push 0
mov ecx, eax
push dword [ebp + 0xc]
mov byte [ebp - 4], 4
push edi
call fcn.005ed5a8
push dword [ebp - 0x54]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
push dword [ebp - 0x50]
call fcn.005f0ad8
push dword [ebp - 0x68]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
push dword [ebp - 0x64]
call fcn.005f0ad8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x5f9478
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret
Function at 0x5fd89b
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, 0x820661
call fcn.007ae8fc
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
mov esi, ecx
cmp dword [ebp + 8], ebx
push edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], ebx
je 0x5fd8f5
mov dword [esi + 4], 0x866cb4
mov dword [esi + 0x38], 0x866ca4
mov dword [esi + 0xe8], 0x866c98
mov dword [ebp - 0x10], 3
push ebx
lea ecx, [esi + 0xe4]
mov dword [ebp - 4], ebx
call fcn.0058e250
mov dword [ebp - 0x10], 7
mov dword [ebp - 4], 1
push ebx
mov ecx, esi
call fcn.0058e2f0
lea edi, [esi + 0x34]
push ebx
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.0058e460
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 3
call fcn.005ecc50
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 4
call fcn.005ecc50
lea ecx, [esi + 0x8c]
mov byte [ebp - 4], 5
call fcn.005ecc50
lea ecx, [esi + 0xa0]
mov byte [ebp - 4], 6
call fcn.005ecc50
lea ecx, [esi + 0xb4]
mov byte [ebp - 4], 7
call fcn.005ecc50
lea ecx, [esi + 0xc8]
mov byte [ebp - 4], 8
call fcn.005ecc50
mov eax, dword [esi + 4]
mov dword [esi], 0x866c78
mov dword [esi + 0x30], 0x866c68
mov dword [edi], 0x866c5c
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax + esi + 4], 0x866c4c
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov dword [eax + esi + 4], 0x866c20
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
mov dword [eax + esi + 4], 0x866c08
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x5ffea0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x820b9b
call fcn.007ae8fc
push ecx
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
cmp dword [ebp + 8], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edi
je 0x5ffeda
push edi
lea ecx, [esi + 0xb0]
mov dword [esi + 4], 0x86b850
mov dword [esi + 0xb4], 0x86b844
call fcn.0058e250
push edi
mov ecx, esi
call fcn.0058e460
push 1
lea ecx, [esi + 0x30]
mov dword [ebp - 4], edi
call fcn.005bab20
mov eax, dword [esi + 4]
mov dword [esi], 0x86b838
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, dword [eax + 8]
mov dword [eax + esi + 4], 0x86b828
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov dword [eax + esi + 4], 0x86b7fc
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
mov dword [eax + esi + 4], 0x86b7e4
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x6011ce
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x820cec
call fcn.007ae8fc
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x18]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
mov edi, eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x20]
test eax, eax
mov dword [ebp - 0x10], eax
jne 0x601249
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call fcn.00404c40
mov esi, str.HMAC:_can_only_be_used_with_a_block_based_hash_function
push esi
call fcn.007ae880
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.004030a0
and dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 1
lea ecx, [ebp - 0x40]
call fcn.0040f6a0
lea eax, [ebp - 0x40]
push 0x8903b0
push eax
mov dword [ebp - 0x40], vtable.CryptoPP::InvalidArgument.0
call fcn.007ac5c6
mov ebx, dword [ebp + 0xc]
mov ecx, esi
cmp ebx, eax
mov eax, dword [esi]
ja 0x601266
push ebx
push dword [ebp + 8]
call dword [eax + 0x4c]
push eax
call fcn.007aea30
add esp, 0xc
jmp 0x60128f
call dword [eax + 0x48]
mov edx, dword [esi]
push ebx
push dword [ebp + 8]
mov dword [ebp + 0xc], eax
mov eax, dword [eax]
mov ecx, esi
mov dword [ebp + 8], eax
call dword [edx + 0x4c]
mov ecx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
call dword [eax + 0x2c]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
mov ebx, eax
mov eax, dword [ebp - 0x10]
xor edi, edi
sub eax, ebx
mov ecx, esi
push eax
mov eax, dword [esi]
push edi
call dword [eax + 0x4c]
add eax, ebx
push eax
call fcn.007ae9d0
add esp, 0xc
cmp dword [ebp - 0x10], edi
jbe 0x6012d8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
mov bl, byte [eax + edi]
mov eax, dword [esi]
mov ecx, esi
xor bl, 0x5c
call dword [eax + 0x50]
mov byte [eax + edi], bl
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
add eax, edi
xor byte [eax], 0x36
inc edi
cmp edi, dword [ebp - 0x10]
jb 0x6012af
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x604922
Capabilities:
Hash data with md5

Disassembly:
mov eax, 0x82108c
call fcn.007ae8fc
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.005f0a4f
and dword [ebp - 4], 0
push 0x10
lea ecx, [esi + 4]
call fcn.0047f6f0
push 4
lea ecx, [esi + 0x10]
mov dword [ebp - 4], 1
call fcn.0047f6f0
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x606404
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
push 0x48
push 0x86f658
push dword [esi + 0x5c]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call fcn.007aea30
push 0x1000
push 0x86f6a0
push dword [esi + 0x1068]
call fcn.007aea30
add esp, 0x18
push 4
xor ecx, ecx
pop ebx
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
shl ecx, 8
movzx eax, byte [edx + eax]
or ecx, eax
inc dword [ebp - 4]
dec ebx
jne 0x606446
mov eax, dword [esi + 0x5c]
add eax, edi
add edi, 4
xor dword [eax], ecx
cmp edi, 0x48
jb 0x606441
push dword [esi + 0x5c]
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.00606505
xor ecx, ecx
mov eax, dword [esi + 0x5c]
lea edi, [ecx + 8]
add ecx, eax
lea edx, [edi + eax]
push edx
push ecx
mov ecx, esi
call fcn.00606505
mov ecx, edi
cmp ecx, 0x40
jb 0x60647f
mov eax, dword [esi + 0x5c]
push dword [esi + 0x1068]
add eax, 0x40
mov ecx, esi
push eax
call fcn.00606505
xor ecx, ecx
mov eax, dword [esi + 0x1068]
lea edi, [ecx + 8]
add ecx, eax
lea edx, [edi + eax]
push edx
push ecx
mov ecx, esi
call fcn.00606505
mov ecx, edi
cmp ecx, 0xff8
jb 0x6064b0
cmp dword [ebp + 8], 1
jne 0x6064fe
xor edi, edi
mov dword [ebp + 0x10], 0x44
mov eax, dword [esi + 0x5c]
mov ecx, dword [ebp + 0x10]
sub dword [ebp + 0x10], 4
add ecx, eax
add eax, edi
add edi, 4
mov ebx, dword [ecx]
cmp edi, 0x24
mov edx, dword [eax]
mov dword [eax], ebx
mov dword [ecx], edx
jb 0x6064e0
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x606505
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ecx + 0x5c]
mov eax, dword [edx + 4]
push edi
mov dword [ebp + 8], eax
mov eax, dword [ecx + 0x1068]
mov ecx, dword [esi]
lea edi, [esi + 8]
xor ecx, dword [edx]
mov dword [ebp - 4], 8
mov edx, ecx
mov ebx, ecx
shr edx, 0x10
movzx edx, dl
shr ebx, 0x18
mov edx, dword [eax + edx*4 + 0x400]
add edx, dword [eax + ebx*4]
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
xor edx, dword [eax + ebx*4 + 0x800]
movzx ebx, cl
add edx, dword [eax + ebx*4 + 0xc00]
xor edx, dword [edi - 4]
xor dword [ebp + 8], edx
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 8]
shr edx, 0x10
movzx edx, dl
shr ebx, 0x18
mov edx, dword [eax + edx*4 + 0x400]
add edx, dword [eax + ebx*4]
mov ebx, dword [ebp + 8]
shr ebx, 8
movzx ebx, bl
xor edx, dword [eax + ebx*4 + 0x800]
movzx ebx, byte [ebp + 8]
add edx, dword [eax + ebx*4 + 0xc00]
xor edx, dword [edi]
add edi, 8
xor ecx, edx
dec dword [ebp - 4]
jne 0x60652c
mov edx, dword [esi + 0x44]
mov eax, dword [ebp + 0xc]
xor edx, dword [ebp + 8]
pop edi
pop esi
mov dword [eax + 4], ecx
mov dword [eax], edx
pop ebx
leave
ret 8
Function at 0x6066cf
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
push 0x78
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xc], edi
call fcn.0042d560
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
lea esi, [eax + 0x38]
mov dword [ebp - 8], esi
add esi, 0x38
xor ecx, ecx
movzx eax, byte [ecx + str.91__]
mov ebx, dword [ebp + 0xc]
dec eax
mov edx, eax
and eax, 7
sar edx, 3
mov dl, byte [edx + ebx]
test byte [eax*4 + 0x86c358], dl
mov edx, dword [ebp - 4]
setne al
mov byte [ecx + edx], al
inc ecx
cmp ecx, 0x38
jl 0x6066f8
and dword [ebp + 0xc], 0
push 8
push 0
push esi
call fcn.007ae9d0
add esp, 0xc
xor ecx, ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
movzx eax, byte [eax + 0x86c318]
add eax, ecx
cmp ecx, 0x1c
setge dl
dec edx
and edx, 0xffffffe4
add edx, 0x38
cmp eax, edx
jl 0x606759
add eax, 0xffffffe4
mov edx, dword [ebp - 4]
mov al, byte [eax + edx]
mov edx, dword [ebp - 8]
mov byte [ecx + edx], al
inc ecx
cmp ecx, 0x38
jl 0x606737
xor ecx, ecx
movzx eax, byte [ecx + 0x86c328]
mov edx, dword [ebp - 8]
cmp byte [eax + edx - 1], 0
je 0x606794
mov eax, ecx
push 6
cdq
pop ebx
idiv ebx
add eax, esi
mov edx, dword [edx*4 + 0x86c358]
sar edx, 2
or byte [eax], dl
inc ecx
cmp ecx, 0x30
jl 0x60676d
movzx edx, byte [esi + 4]
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov ch, byte [esi]
mov cl, byte [esi + 2]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 6]
shl ecx, 8
or ecx, edx
mov edx, dword [edi + 0x88]
shl eax, 3
mov dword [eax + edx], ecx
xor ecx, ecx
mov ch, byte [esi + 1]
mov cl, byte [esi + 3]
movzx edx, byte [esi + 5]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 7]
shl ecx, 8
or ecx, edx
mov edx, dword [edi + 0x88]
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 0x10
mov dword [eax + edx + 4], ecx
jl 0x606728
cmp dword [ebp + 8], 1
jne 0x60683a
push 0x7c
xor esi, esi
pop edx
jmp 0x606803
mov edi, dword [ebp - 0xc]
mov eax, dword [edi + 0x88]
lea ecx, [edx + eax - 4]
add eax, esi
mov ebx, dword [ecx]
mov edi, dword [eax]
mov dword [eax], ebx
mov eax, dword [ebp - 0xc]
mov dword [ecx], edi
mov eax, dword [eax + 0x88]
lea ecx, [edx + eax]
lea eax, [esi + eax + 4]
sub edx, 8
add esi, 8
mov ebx, dword [ecx]
mov edi, dword [eax]
mov dword [eax], ebx
cmp edx, 0x3c
mov dword [ecx], edi
jg 0x606800
lea ecx, [ebp - 0x18]
call fcn.00595040
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x606849
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov edx, dword [ecx + 0x88]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [ebp + 0xc]
push 0x3f
add edx, 8
mov dword [ebp - 8], 8
mov esi, dword [eax]
pop ecx
mov dword [ebp - 4], esi
mov eax, dword [edx - 8]
ror esi, 4
xor eax, esi
mov esi, eax
mov ebx, eax
shr esi, 0x18
and esi, ecx
shr ebx, 0x10
mov esi, dword [esi*4 + 0x8706a0]
and ebx, ecx
xor esi, dword [ebx*4 + 0x8708a0]
mov ebx, eax
shr ebx, 8
and ebx, ecx
and eax, ecx
xor esi, dword [ebx*4 + 0x870aa0]
xor esi, dword [eax*4 + 0x870ca0]
mov eax, dword [edx - 4]
xor eax, dword [ebp - 4]
xor edi, esi
mov esi, eax
mov ebx, eax
shr esi, 0x18
and esi, ecx
shr ebx, 0x10
mov esi, dword [esi*4 + 0x8707a0]
and ebx, ecx
xor esi, dword [ebx*4 + 0x8709a0]
mov ebx, eax
shr ebx, 8
and ebx, ecx
and eax, ecx
xor esi, dword [ebx*4 + 0x870ba0]
xor esi, dword [eax*4 + 0x870da0]
mov eax, dword [edx]
add edx, 0x10
xor edi, esi
mov esi, edi
ror esi, 4
xor eax, esi
mov esi, eax
mov ebx, eax
shr esi, 0x18
and esi, ecx
shr ebx, 0x10
mov esi, dword [esi*4 + 0x8706a0]
and ebx, ecx
xor esi, dword [ebx*4 + 0x8708a0]
mov ebx, eax
shr ebx, 8
and ebx, ecx
and eax, ecx
xor esi, dword [ebx*4 + 0x870aa0]
xor esi, dword [eax*4 + 0x870ca0]
mov eax, dword [edx - 0xc]
xor eax, edi
xor dword [ebp - 4], esi
mov esi, eax
shr esi, 0x18
mov ebx, eax
and esi, ecx
shr ebx, 0x10
mov esi, dword [esi*4 + 0x8707a0]
and ebx, ecx
xor esi, dword [ebx*4 + 0x8709a0]
mov ebx, eax
shr ebx, 8
and ebx, ecx
and eax, ecx
xor esi, dword [ebx*4 + 0x870ba0]
xor esi, dword [eax*4 + 0x870da0]
mov ebx, esi
mov esi, dword [ebp - 4]
xor esi, ebx
dec dword [ebp - 8]
mov dword [ebp - 4], esi
jne 0x606872
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov eax, dword [ebp + 0xc]
pop edi
mov dword [eax], esi
pop esi
pop ebx
leave
ret 8