joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d780
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d43c6
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x507254]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push eax
push 0x202
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
je 0x44d8fd
push str.SetRegKeyValue
mov edx, 4
lea ecx, [ebp - 0xc8]
call fcn.004090a0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0
mov al, byte [esi + 0x48]
test al, al
je 0x44d84a
mov edx, str.RegOpenKeyEx
mov ecx, esi
call fcn.0040cb90
mov al, byte [esi + 0x48]
test al, al
je 0x44d84a
push edi
push esi
call fcn.00412180
mov al, byte [esi + 0x48]
add esp, 8
test al, al
je 0x44d84a
mov edx, str._failed
mov ecx, esi
call fcn.0040cb90
cmp byte [esi + 0x48], 0
je 0x44d84a
push ebx
mov ecx, esi
call fcn.0040b230
lea ecx, [ebp - 0xc8]
mov dword [ebp - 4], 0xffffffff
call fcn.00408f30
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf023f
push 0
push 0
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test ebx, ebx
je 0x44d8fa
push str.SetRegKeyValue
mov edx, 4
lea ecx, [ebp - 0xc8]
call fcn.004090a0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 1
mov al, byte [esi + 0x48]
test al, al
je 0x44d8e8
mov edx, str.RegCreateKeyEx
mov ecx, esi
call fcn.0040cb90
mov al, byte [esi + 0x48]
test al, al
je 0x44d8e8
push edi
push esi
call fcn.00412180
mov al, byte [esi + 0x48]
add esp, 8
test al, al
je 0x44d8e8
mov edx, str._failed
mov ecx, esi
call fcn.0040cb90
mov al, byte [esi + 0x48]
test al, al
je 0x44d8e8
push ebx
mov ecx, esi
call fcn.0040b230
lea ecx, [ebp - 0xc8]
call fcn.00408f30
xor al, al
jmp 0x44d9b0
mov esi, dword [ebp - 0x18]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44d902
mov ebx, dword [ebp - 0x1c]
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test edi, edi
je 0x44d9a2
push str.SetRegKeyValue
mov edx, 4
lea ecx, [ebp - 0x170]
call fcn.004090a0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 2
mov al, byte [esi + 0x48]
test al, al
je 0x44d997
mov edx, str.RegSetValueEx
mov ecx, esi
call fcn.0040cb90
mov al, byte [esi + 0x48]
test al, al
je 0x44d997
push ebx
push esi
call fcn.00412180
mov al, byte [esi + 0x48]
add esp, 8
test al, al
je 0x44d997
mov edx, str._failed
mov ecx, esi
call fcn.0040cb90
cmp byte [esi + 0x48], 0
je 0x44d997
push edi
mov ecx, esi
call fcn.0040b230
lea ecx, [ebp - 0x170]
call fcn.00408f30
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6256
mov esp, ebp
pop ebp
ret
Function at 0x44d9d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d440b
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x507254]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
push 0x201
push 0
push str..DEFAULTSoftwareSetID
push SysStringLen
mov dword [ebp - 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
je 0x44daa5
push str.GetRegKeyValue
mov edx, 4
lea ecx, [ebp - 0xc8]
call fcn.004090a0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0
mov al, byte [esi + 0x48]
test al, al
je 0x44da93
mov edx, str.RegOpenKeyEx
mov ecx, esi
call fcn.0040cb90
mov al, byte [esi + 0x48]
test al, al
je 0x44da93
push str..DEFAULTSoftwareSetID
push esi
call fcn.00412180
mov al, byte [esi + 0x48]
add esp, 8
test al, al
je 0x44da93
mov edx, str._failed
mov ecx, esi
call fcn.0040cb90
mov al, byte [esi + 0x48]
test al, al
je 0x44da93
push edi
mov ecx, esi
call fcn.0040b230
lea ecx, [ebp - 0xc8]
call fcn.00408f30
xor al, al
jmp 0x44db5b
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push 0
push 0x4f0d84
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x44dad8
cmp dword [ebp - 0x18], 4
je 0x44db4d
xor al, al
jmp 0x44db5b
push str.GetRegKeyValue
mov edx, 4
lea ecx, [ebp - 0x170]
call fcn.004090a0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 1
mov al, byte [esi + 0x48]
test al, al
je 0x44db42
mov edx, str.RegQueryValueEx
mov ecx, esi
call fcn.0040cb90
mov al, byte [esi + 0x48]
test al, al
je 0x44db42
push 0x4f0d84
push esi
call fcn.00412180
mov al, byte [esi + 0x48]
add esp, 8
test al, al
je 0x44db42
mov edx, str._failed
mov ecx, esi
call fcn.0040cb90
cmp byte [esi + 0x48], 0
je 0x44db42
push edi
mov ecx, esi
call fcn.0040b230
lea ecx, [ebp - 0x170]
call fcn.00408f30
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6256
mov esp, ebp
pop ebp
ret
Function at 0x455f10
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d55cc
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x507254]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 0
call fcn.004062f0
mov dword [ebp - 4], 0
lea esi, [ebx + 0x38]
mov dword [ebx], vtable.http::istreambuf.0
mov dword [ebp - 0x24], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, 0x190
mov byte [esi + 0xe], 1
mov word [esi + 0xc], ax
push 0
push 0
push 0
push 1
xorps xmm0, xmm0
mov byte [ebp - 4], 4
push str.WindowsProductAgentService
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
test edi, edi
jne 0x455fb7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov edx, 0x507d40
jmp 0x455fbf
mov ecx, dword [ebp - 0x18]
mov edx, 0x507cf0
mov eax, dword [edx + 4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], 1
cmp eax, dword [0x507cf4]
jne 0x45602f
test ecx, ecx
jne 0x45602f
mov eax, dword [esi]
test eax, eax
je 0x455feb
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [esi], 0
mov dword [esi], edi
mov dword [ebp - 0x1c], edi
push ecx
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 5
push eax
mov ecx, edi
mov dword [ebp - 0x14], 0x800
call fcn.004585d0
add esp, 8
mov dword [ebx + 0x48], 0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6256
mov esp, ebp
pop ebp
ret
push edx
push ecx
mov edx, str.WinHttpOpen_failed
lea ecx, [ebp - 0x38]
call fcn.0040de90
add esp, 8
lea eax, [ebp - 0x38]
push 0x503698
push eax
call fcn.004a8436
int3

Function at 0x4564a0
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d56be
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x507254]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push eax
push 0
push 0
push 0
mov dword [ebp - 0x1c], edi
push esi
mov dword [ebp - 0x18], 0
push ecx
mov dword [edi], 0
push dword [edx]
movlpd qword [ebp - 0x14], xmm0
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
test esi, esi
jne 0x456511
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x507d40
jmp 0x456519
mov eax, dword [ebp - 0x14]
mov edx, 0x507cf0
mov dword [edi], esi
mov dword [ebp - 4], 0
mov ecx, dword [edx + 4]
mov dword [ebp - 0x18], 1
cmp ecx, dword [0x507cf4]
jne 0x45654b
test eax, eax
jne 0x45654b
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edx
push eax
mov edx, str.WinHttpOpenRequest_failed
lea ecx, [ebp - 0x30]
call fcn.0040de90
add esp, 8
lea eax, [ebp - 0x30]
push 0x503698
push eax
call fcn.004a8436
int3
Function at 0x456610
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x507254]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push dword [edx + 4]
xorps xmm0, xmm0
push dword [edx]
movlpd qword [esp + 0x28], xmm0
push dword [ecx]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x45665b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x507d40
xor esi, esi
jmp 0x456668
mov esi, dword [esp + 0x18]
mov edx, 0x507cf0
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + 4]
cmp ecx, dword [0x507cf4]
jne 0x456689
test eax, eax
jne 0x456689
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004a6256
mov esp, ebp
pop ebp
ret
push edx
push eax
mov edx, str.WinHttpReadData_failed
lea ecx, [esp + 0xc]
call fcn.0040de90
add esp, 8
lea eax, [esp + 4]
push 0x503698
push eax
call fcn.004a8436
int3

Function at 0x4566b0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push 0
push dword [ecx]
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x4566df
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov edx, 0x507d40
jmp 0x4566e8
mov ecx, dword [esp + 0x18]
mov edx, 0x507cf0
mov eax, dword [edx + 4]
cmp eax, dword [0x507cf4]
jne 0x4566fb
test ecx, ecx
jne 0x4566fb
mov esp, ebp
pop ebp
ret
push edx
push ecx
mov edx, str.WinHttpReceiveResponse_failed
lea ecx, [esp + 0xc]
call fcn.0040de90
add esp, 8
lea eax, [esp + 4]
push 0x503698
push eax
call fcn.004a8436
int3
Function at 0x461410
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [0x50afb4]
mov eax, dword fs:[0x2c]
push ebx
push esi
mov esi, ecx
xor bl, bl
push edi
mov edi, dword [eax + edx*4]
mov dword [ebp - 8], esi
nop
mov eax, dword [0x50aa00]
cmp eax, dword [edi + 0x58]
jg 0x46151a
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x46145c
mov ecx, esi
call fcn.00472b60
test al, al
jne 0x461430
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x461474
push eax
push ecx
push 1
push dword [ebp + 8]
call fcn.004ac136
add esp, 0x10
jmp 0x461485
push dword [ebp + 8]
push 0x4dca00
push eax
call fcn.00480e50
add esp, 0xc
cmp dword [0x50a9fc], 0
mov ecx, eax
jl 0x4614ee
jg 0x46149b
cmp dword [0x50a9f8], 0
jb 0x4614ee
lea eax, [esi + 0x28]
mov dword [ebp + 0xc], eax
mov eax, ecx
mov esi, dword [ebp + 0xc]
cdq
mov ebx, eax
mov dword [ebp - 4], edx
mov dword [ebp + 8], ebx
nop
mov eax, dword [esi]
add ebx, eax
mov edi, dword [esi + 4]
mov edx, edi
mov ecx, dword [ebp - 4]
mov dword [ebp + 0xc], eax
adc ecx, edi
lock cmpxchg8b qword [esi]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp eax, ecx
jne 0x4614b0
cmp edx, edi
jne 0x4614b0
mov esi, dword [ebp - 8]
cmp edi, dword [0x50a9fc]
jl 0x4614ec
jg 0x4614e8
cmp ecx, dword [0x50a9f8]
jb 0x4614ec
mov bl, 1
jmp 0x4614ee
xor bl, bl
lea edx, [esi + 0x30]
mov eax, 1
lock xadd dword [edx], eax
inc eax
cmp eax, 1
jne 0x46150f
xor ecx, ecx
xchg dword [edx], ecx
push dword [esi + 0x1c]
call fcn.004ab98d
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x50aa00
call fcn.004a6775
add esp, 4
cmp dword [0x50aa00], 0xffffffff
jne 0x461441
mov eax, dword [esi + 0x34]
push 0x50aa00
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [0x50a9f8], ecx
mov dword [0x50a9fc], eax
call fcn.004a672b
add esp, 4
jmp 0x461441
Function at 0x461560
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [0x50afb4]
mov eax, dword fs:[0x2c]
push ebx
push esi
mov esi, ecx
xor bl, bl
push edi
mov edi, dword [eax + edx*4]
mov dword [ebp - 8], esi
nop
mov eax, dword [0x50aa10]
cmp eax, dword [edi + 0x58]
jg 0x46166a
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x4615ac
mov ecx, esi
call fcn.00472b60
test al, al
jne 0x461580
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4615c4
push eax
push ecx
push 2
push dword [ebp + 8]
call fcn.004ac136
add esp, 0x10
jmp 0x4615d5
push dword [ebp + 8]
push 0x4eba48
push eax
call fcn.00480e80
add esp, 0xc
cmp dword [0x50aa0c], 0
mov ecx, eax
jl 0x46163e
jg 0x4615eb
cmp dword [0x50aa08], 0
jb 0x46163e
lea eax, [esi + 0x28]
mov dword [ebp + 0xc], eax
mov eax, ecx
mov esi, dword [ebp + 0xc]
cdq
mov ebx, eax
mov dword [ebp - 4], edx
mov dword [ebp + 8], ebx
nop
mov eax, dword [esi]
add ebx, eax
mov edi, dword [esi + 4]
mov edx, edi
mov ecx, dword [ebp - 4]
mov dword [ebp + 0xc], eax
adc ecx, edi
lock cmpxchg8b qword [esi]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp eax, ecx
jne 0x461600
cmp edx, edi
jne 0x461600
mov esi, dword [ebp - 8]
cmp edi, dword [0x50aa0c]
jl 0x46163c
jg 0x461638
cmp ecx, dword [0x50aa08]
jb 0x46163c
mov bl, 1
jmp 0x46163e
xor bl, bl
lea edx, [esi + 0x30]
mov eax, 1
lock xadd dword [edx], eax
inc eax
cmp eax, 1
jne 0x46165f
xor ecx, ecx
xchg dword [edx], ecx
push dword [esi + 0x1c]
call fcn.004ab98d
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x50aa10
call fcn.004a6775
add esp, 4
cmp dword [0x50aa10], 0xffffffff
jne 0x461591
mov eax, dword [esi + 0x34]
push 0x50aa10
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [0x50aa08], ecx
mov dword [0x50aa0c], eax
call fcn.004a672b
add esp, 4
jmp 0x461591
Function at 0x463d40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6645
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x507254]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], ebx
cmp dword [ebx + 0x14], 8
mov ecx, dword [ebx + 0x10]
jb 0x463d87
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
lea eax, [ecx + ecx]
mov esi, 0x811c9dc5
xor ecx, ecx
test eax, eax
je 0x463db7
mov edx, dword [ebp - 0x14]
mov edi, eax
nop word [eax + eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x463da0
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
push esi
push ebx
lea eax, [ebp - 0x20]
mov ecx, edx
push eax
call fcn.004626e0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x463dd4
mov byte [edi + 4], 0
jmp 0x463e8a
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0x7ffffff
je 0x463ea2
add eax, 4
mov dword [ebp - 0x18], eax
push 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
call fcn.004a6295
add esp, 4
mov dword [ebp - 0x14], eax
add eax, 8
mov ecx, eax
mov dword [ebp - 0x24], eax
push ebx
call fcn.00403010
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
inc ecx
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x4f2c60]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4f2c60]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
jbe 0x463e77
mov ecx, ebx
call fcn.00477190
push esi
push dword [ebp - 0x24]
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.004626e0
mov ecx, dword [eax]
jmp 0x463e7a
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x14]
push ecx
push esi
mov ecx, ebx
call fcn.00476f40
mov byte [edi + 4], 1
mov dword [edi], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.0048faf8
int3

Function at 0x464410
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 8
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jb 0x46442e
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x464454
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x464440
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.004626e0
pop edi
pop esi
pop ebx
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x464474
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x469730
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x507254]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
push esi
push edi
mov dword [ebp - 0x54], ebx
mov eax, dword [ecx]
mov dword [ebx], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 4], eax
mov eax, dword [ecx]
mov dword [ebx + 8], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0xc], eax
cmp ecx, 1
jb 0x4698bf
mov eax, 0x38
cmp ecx, eax
cmovbe eax, ecx
push eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x3c]
push edx
push eax
call fcn.004a84b0
movups xmm0, xmmword [0x506008]
lea edi, [ebx + 0x10]
push 0x1000
movups xmmword [edi], xmm0
lea eax, [ebx + 0x58]
mov dword [ebp - 0x44], edi
movups xmm0, xmmword [0x506018]
push 0x506050
push eax
movups xmmword [edi + 0x10], xmm0
mov dword [ebp - 0x4c], eax
movups xmm0, xmmword [0x506028]
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [0x506038]
movups xmmword [edi + 0x30], xmm0
movq xmm0, qword [0x506048]
movq qword [edi + 0x40], xmm0
call fcn.004a84b0
add esp, 0x18
mov dword [ebp - 0x40], 0x12
lea ebx, [ebp - 0x3c]
xor esi, esi
nop word [eax + eax]
xor edx, edx
lea edi, [edx + 4]
movzx eax, byte [ebx]
lea ecx, [esi + 1]
shl edx, 8
inc ebx
or edx, eax
cmp ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x3c]
cmovne eax, ebx
xor esi, esi
cmp ecx, dword [ebp - 0x50]
mov ebx, eax
cmovne esi, ecx
sub edi, 1
jne 0x4697f5
mov edi, dword [ebp - 0x44]
xor dword [edi], edx
add edi, 4
sub dword [ebp - 0x40], 1
mov dword [ebp - 0x44], edi
jne 0x4697f0
mov ebx, dword [ebp - 0x54]
xor edi, edi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea esi, [ebx + 0x14]
lea eax, [ebp - 0x48]
mov ecx, ebx
push eax
call fcn.0046e5c0
mov eax, dword [ebp - 0x48]
lea esi, [esi + 8]
mov dword [esi - 0xc], eax
add edi, 2
mov eax, dword [ebp - 0x44]
mov dword [esi - 8], eax
cmp edi, 0x12
jb 0x469840
mov dword [ebp - 0x40], 4
lea eax, [ebx + 0x58]
nop dword [eax]
xor edi, edi
mov esi, eax
lea eax, [ebp - 0x48]
mov ecx, ebx
push eax
call fcn.0046e5c0
mov eax, dword [ebp - 0x48]
lea esi, [esi + 8]
mov dword [esi - 8], eax
add edi, 2
mov eax, dword [ebp - 0x44]
mov dword [esi - 4], eax
cmp edi, 0x100
jl 0x469874
mov eax, dword [ebp - 0x4c]
add eax, 0x400
sub dword [ebp - 0x40], 1
mov dword [ebp - 0x4c], eax
jne 0x469870
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a6256
mov esp, ebp
pop ebp
ret 0xc
push 0x500fcc
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], str.Incorrect_key_length
push eax
call fcn.004a8436
int3
Function at 0x46e980
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x46eb58
test bl, 7
jne 0x46eb58
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
cmp eax, 1
jne 0x46ea4b
mov eax, dword [edi + 8]
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0xc]
mov dword [ebp + 0x10], eax
cmp ebx, 8
jb 0x46ea42
mov esi, dword [ebp + 8]
add esi, 0xfffffff9
shr ebx, 3
lea eax, [ebp - 8]
mov ecx, edi
push eax
lea eax, [esi + 7]
push eax
call fcn.0046bb10
mov eax, dword [ebp + 0xc]
mov ecx, edi
xor dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
xor dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call fcn.0046e5c0
mov edx, dword [ebp - 4]
lea esi, [esi + 8]
mov ecx, dword [ebp - 8]
mov eax, edx
shr eax, 8
mov byte [esi + 5], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 4], al
mov eax, edx
shr eax, 0x18
mov byte [esi + 3], al
mov eax, ecx
shr eax, 8
mov byte [esi + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [esi], al
mov eax, ecx
shr eax, 0x18
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], edx
mov byte [esi + 6], dl
mov byte [esi + 2], cl
mov byte [esi - 1], al
sub ebx, 1
jne 0x46e9d3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 2
jne 0x46eae4
mov eax, dword [edi + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0xc], eax
cmp ebx, 8
jb 0x46ea42
mov esi, dword [ebp + 8]
add esi, 0xfffffff9
shr ebx, 3
nop
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0046e5c0
lea eax, [ebp - 8]
mov ecx, edi
push eax
lea eax, [esi + 7]
push eax
call fcn.0046bb10
mov ecx, dword [ebp - 0xc]
lea esi, [esi + 8]
xor ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov eax, ecx
xor edx, dword [ebp - 8]
shr eax, 8
mov byte [esi + 5], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 4], al
mov eax, edx
shr eax, 8
mov byte [esi + 1], al
mov eax, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
mov byte [esi + 6], cl
shr ecx, 0x18
mov byte [esi + 2], dl
shr eax, 0x10
shr edx, 0x18
mov byte [esi + 3], cl
mov byte [esi], al
mov byte [esi - 1], dl
sub ebx, 1
jne 0x46ea70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp ebx, 8
jb 0x46ea42
mov esi, dword [ebp + 8]
add esi, 0xfffffff9
shr ebx, 3
lea eax, [ebp - 8]
mov ecx, edi
push eax
lea eax, [esi + 7]
push eax
call fcn.0046bb10
lea eax, [ebp - 8]
mov ecx, edi
push eax
call fcn.0046e5c0
mov ecx, dword [ebp - 4]
lea esi, [esi + 8]
mov eax, ecx
mov byte [esi + 6], cl
shr eax, 8
mov byte [esi + 5], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [esi + 4], al
mov byte [esi + 3], cl
mov ecx, dword [ebp - 8]
mov eax, ecx
shr eax, 8
mov byte [esi + 1], al
mov eax, ecx
mov byte [esi + 2], cl
shr eax, 0x10
shr ecx, 0x18
mov byte [esi], al
mov byte [esi - 1], cl
sub ebx, 1
jne 0x46eaf6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x500fcc
lea eax, [ebp + 8]
mov dword [ebp + 8], str.Incorrect_buffer_length
push eax
call fcn.004a8436
int3