joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f5c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
call fcn.00407730
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
call fcn.00414e80
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0x811c9dc5
mov dword [ebp - 0x1c], 0x1000193
mov dword [ebp - 4], 0x811c9dc5
mov dword [ebp - 8], 0
jmp 0x45f606
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0xc]
jae 0x45f629
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 8]
movzx eax, byte [edx]
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
imul ecx, dword [ebp - 4], 0x1000193
mov dword [ebp - 4], ecx
jmp 0x45f5fd
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x464000
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x553e53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0045d370
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.spdlog::sinks::simple_file_sink_class_std::mutex_.0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx], 5
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0xa
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 8], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.00407320
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x30], 0
movzx eax, byte [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0045ceb0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x464e00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x464e34
mov eax, 1
jmp 0x464e36
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x464e40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
push 8
lea eax, [ebp + 0xc]
push eax
push 0xb
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x464e74
mov eax, 1
jmp 0x464e76
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x464e80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov ax, word [edx]
mov word [ebp - 2], ax
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x464e98
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0xc]
sar ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
shl edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x464ef0
mov eax, 1
jmp 0x464ef2
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x464f00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 8
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x464f3f
mov eax, 1
jmp 0x464f41
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x464f50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x464f88
mov eax, 1
jmp 0x464f8a
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4654b0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4654d1
xor eax, eax
jmp 0x465501
mov edx, dword [ebp - 4]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4654ff
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov eax, dword [ebp - 8]
jmp 0x465501
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x465b90
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x400
lea eax, [ebp - 4]
push eax
push 0x5bab30
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov ecx, 2
imul eax, ecx, 0
add eax, 0x5bab30
mov esp, ebp
pop ebp
ret
Function at 0x465c50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x58d2e8
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [ebp - 8]
shr ecx, 0x10
add ecx, dword [ebp - 8]
and ecx, 0xffff
mov word [ebp - 4], cx
mov ax, word [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x465e30
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55400e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x818
mov eax, dword [0x5bb330]
and eax, 1
jne 0x465e8c
mov ecx, dword [0x5bb330]
or ecx, 1
mov dword [0x5bb330], ecx
mov dword [ebp - 4], 0
mov ecx, 0x5bb334
call fcn.0040b5e0
push 0x559d50
call fcn.0050f889
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x5bb334
call fcn.0040afd0
movzx edx, al
test edx, edx
je 0x465fa1
xor eax, eax
mov word [ebp - 0x824], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x822]
push ecx
call fcn.0050ff40
add esp, 0xc
lea edx, [ebp - 0x824]
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00465d00
add esp, 8
test eax, eax
jne 0x465f13
movzx edx, word [ebp - 0x18]
push edx
movzx eax, word [ebp - 0x14]
push eax
call fcn.00465c50
movzx ecx, ax
push ecx
call fcn.00465bc0
movzx edx, ax
push edx
call fcn.00465b90
push eax
push str._s_d_d_d_d
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
jmp 0x465f3d
call fcn.00465c50
movzx ecx, ax
push ecx
call fcn.00465bc0
movzx edx, ax
push edx
call fcn.00465b90
push eax
push str._s_d_d
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
mov dword [ebp - 0x1c], 0x1505
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x10]
add ecx, 2
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x24], 0
je 0x465f73
mov edx, dword [ebp - 0x1c]
shl edx, 5
add edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
jmp 0x465f44
movzx eax, word [ebp - 0x18]
push eax
movzx ecx, word [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 0x58d2ec
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, 0x5bb334
call fcn.0040b7f0
mov ecx, 0x5bb334
call fcn.0040b840
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4668c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55413b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6d4
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0xc8]
call fcn.00466830
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x70]
call fcn.0040b7f0
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jne 0x466a26
xor edx, edx
mov word [ebp - 0x6e0], dx
push 0x616
push 0
lea eax, [ebp - 0x6de]
push eax
call fcn.0050ff40
add esp, 0xc
mov dword [ebp - 0x10], 0x30c
mov dword [ebp - 0x10], 0x30c
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x6e0]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push str.UninstallString
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x466996
lea edx, [ebp - 0x6e0]
push edx
lea ecx, [ebp - 0x8c]
call fcn.0040b7f0
mov dword [ebp - 0x10], 0x30c
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x6e0]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push str.DisplayIcon
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
jne 0x4669de
lea ecx, [ebp - 0x6e0]
push ecx
lea ecx, [ebp - 0xc0]
call fcn.0040b7f0
mov dword [ebp - 0x10], 0x30c
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x6e0]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0x58d350
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x466a26
lea eax, [ebp - 0x6e0]
push eax
lea ecx, [ebp - 0xa8]
call fcn.0040b7f0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0xc8]
push edx
mov ecx, dword [ebp + 8]
call fcn.00466a70
mov eax, dword [ebp - 0x1c]
or eax, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.0042c9d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x466eb0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5541ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb1c
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x466ef7
mov eax, dword [ebp - 0x10]
jmp 0x46709e
push 0
push 0
push 0
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x3c]
push edx
push 0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x466f30
mov eax, dword [ebp - 0x10]
jmp 0x46709e
cmp dword [ebp - 0x1c], 0
jbe 0x467083
mov dword [ebp - 0x18], 0
jmp 0x466f4c
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x1c]
jae 0x467081
mov dword [ebp - 0x24], 0x208
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0xb28]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x46706d
xor eax, eax
mov word [ebp - 0x718], ax
push 0x616
push 0
lea ecx, [ebp - 0x716]
push ecx
call fcn.0050ff40
add esp, 0xc
lea edx, [ebp - 0xb28]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x58d43c
lea ecx, [ebp - 0x718]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x718]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x100]
push ecx
call fcn.004668c0
add esp, 0x10
mov dword [ebp - 4], 0
cmp dword [ebp - 0xac], 0
jne 0x467059
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x34], esp
lea edx, [ebp - 0xc4]
push edx
call fcn.0040b580
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x54]
push eax
call fcn.00466ba0
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x90]
call fcn.0040b6a0
lea ecx, [ebp - 0x54]
call fcn.0040b750
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x60], ecx
lea edx, [ebp - 0x100]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.004673c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.0042c9d0
jmp 0x46707c
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
jmp 0x46709e
jmp 0x466f43
jmp 0x467092
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or eax, 0xffffffff
jmp 0x46709e
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x468b90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x468c2d
xor ecx, ecx
mov word [ebp - 0x62c], cx
push 0x616
push 0
lea edx, [ebp - 0x62a]
push edx
call fcn.0050ff40
add esp, 0xc
mov dword [ebp - 0xc], 0x30c
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x62c]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push str.DisplayName
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x468c2d
lea ecx, [ebp - 0x62c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040b610
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
jmp 0x468c41
mov ecx, dword [ebp + 8]
call fcn.0040b5e0
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x46aa84
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor bl, bl
mov byte [ebp - 4], bl
mov esi, dword [edi + 8]
test esi, esi
je 0x46aaae
push dword [esi]
call fcn.0046ad70
mov esi, dword [esi + 4]
xor bl, al
pop ecx
test esi, esi
jne 0x46aa9a
mov byte [ebp - 4], bl
push dword [ebp - 4]
push edi
call fcn.0046ab5c
pop ecx
pop ecx
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46ad70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor dl, dl
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x46ad9c
push esi
cmp dword [ecx], 4
je 0x46ad94
mov eax, dword [ecx + 4]
dec eax
js 0x46ad94
mov esi, dword [ecx + 8]
xor dl, byte [esi + eax]
dec eax
jns 0x46ad8e
mov ecx, dword [ecx + 0x10]
test ecx, ecx
jne 0x46ad80
pop esi
mov al, dl
pop ebp
ret

Function at 0x46c44e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x5b4f40], 0
jne 0x46c462
call fcn.0046c55e
push esi
mov esi, dword [ebp + 0xc]
cmp esi, 0x1e
jbe 0x46c473
or eax, 0xffffffff
jmp 0x46c559
push ebx
push edi
mov edi, dword [ebp + 0x14]
push esi
push 0
push edi
call fcn.0050ff40
add esp, 0xc
cmp byte [esi + 0x5b54ca], 0
jne 0x46c494
push esi
call fcn.0046c5b7
pop ecx
lea eax, [esi - 2]
xor ebx, ebx
imul edx, eax, 0x1f
mov dword [ebp - 4], ebx
add edx, 0x5b5148
mov dword [ebp - 8], edx
cmp dword [ebp + 8], ebx
jbe 0x46c555
mov dword [ebp - 0x10], 0xff
mov eax, dword [ebp + 0x10]
movzx ecx, byte [ebx + eax]
movzx eax, byte [edi]
xor ecx, eax
mov al, byte [ecx + 0x5b5048]
mov ecx, 0xff
mov byte [ebp + 0xf], al
cmp al, cl
je 0x46c504
xor ecx, ecx
inc ecx
cmp esi, ecx
jbe 0x46c504
movzx eax, al
lea ebx, [esi - 1]
mov dword [ebp - 0xc], eax
add ebx, edx
movzx eax, byte [ebx]
add eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 0x10]
mov al, byte [edx + 0x5b4f48]
xor byte [ecx + edi], al
inc ecx
dec ebx
cmp ecx, esi
jb 0x46c4e8
mov ebx, dword [ebp - 4]
lea eax, [esi - 1]
push eax
lea eax, [edi + 1]
push eax
push edi
call fcn.0050f8a0
mov cl, byte [ebp + 0xf]
mov eax, 0xff
add esp, 0xc
cmp cl, al
je 0x46c540
mov eax, dword [ebp - 8]
movzx ecx, cl
movzx eax, byte [eax]
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov al, byte [edx + 0x5b4f48]
mov byte [esi + edi - 1], al
jmp 0x46c545
mov byte [esi + edi - 1], 0
mov edx, dword [ebp - 8]
inc ebx
mov dword [ebp - 4], ebx
cmp ebx, dword [ebp + 8]
jb 0x46c4b8
pop edi
xor eax, eax
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46c5b7
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x5ac774]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x80], 1
mov esi, ecx
test edi, edi
je 0x46c63a
mov ecx, 0xff
push ebx
mov dword [ebp + esi*4 - 0x7c], 1
mov ebx, esi
test esi, esi
je 0x46c618
mov eax, dword [ebp + ebx*4 - 0x80]
xor edx, edx
movzx eax, byte [eax + 0x5b5048]
add eax, esi
div ecx
movzx eax, byte [edx + 0x5b4f48]
xor eax, dword [ebp + ebx*4 - 0x84]
mov dword [ebp + ebx*4 - 0x80], eax
dec ebx
jne 0x46c5f2
mov eax, dword [ebp - 0x80]
xor edx, edx
movzx eax, byte [eax + 0x5b5048]
add eax, esi
div ecx
inc esi
movzx eax, byte [edx + 0x5b4f48]
mov dword [ebp - 0x80], eax
cmp esi, edi
jb 0x46c5e4
xor ecx, ecx
pop ebx
lea eax, [edi - 2]
imul edx, eax, 0x1f
mov eax, dword [ebp + ecx*4 - 0x80]
mov al, byte [eax + 0x5b5048]
mov byte [edx + ecx + 0x5b5148], al
inc ecx
cmp ecx, edi
jbe 0x46c640
mov ecx, dword [ebp - 4]
mov byte [edi + 0x5b54ca], 1
xor ecx, ebp
pop edi
pop esi
call fcn.0050ee9b
mov esp, ebp
pop ebp
ret
Function at 0x48c9b0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x1505
add eax, esi
mov ecx, eax
sub ecx, esi
push edi
xor edi, edi
cmp esi, eax
cmova ecx, edx
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x48c9f9
mov al, byte [esi]
push eax
call fcn.0048b0d0
movsx ecx, al
lea esi, [esi + 1]
mov eax, ebx
inc edi
shl eax, 5
add esp, 4
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp edi, dword [ebp + 8]
jb 0x48c9d7
pop edi
pop esi
movzx eax, bl
pop ebx
pop ebp
ret
Function at 0x4986e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x6f1], 0
je 0x498763
cmp dword [edi + 0x1c0], 0
je 0x49872d
push esi
push 1
push edi
call fcn.00493510
push dword [edi + 0x154]
mov eax, dword [edi + 0x1c0]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.00493510
add esp, 0x24
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp eax, 2
ja 0x498763
push dword [edi + 0x150]
lea eax, [eax + eax*2]
push 1
add eax, 0x55f9b0
push 2
push eax
call fcn.005105b0
push dword [edi + 0x150]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.005105b0
add esp, 0x20
xor eax, eax
pop edi
pop ebp
ret

Function at 0x498770
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5ac774]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x6f1], 0
jne 0x49879d
cmp dword [edi + 0x158], 0
je 0x49887c
push esi
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push 0x100
push eax
call sym.XFPDFEditor.exe_curl_mvsnprintf
lea esi, [ebp - 0x108]
add esp, 0x10
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4987c2
sub esi, ecx
mov ecx, dword [edi + 0x158]
test ecx, ecx
je 0x4987f8
cmp byte [edi + 0xcb7], al
jne 0x4987f8
lea edx, [ebp - 0x108]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x4987e3
mov byte [edi + 0xcb7], 1
mov byte [ebp + esi - 0x108], 0xa
inc esi
cmp byte [edi + 0x6f1], 0
je 0x49887b
cmp dword [edi + 0x1c0], 0
je 0x49884f
push 1
push edi
call fcn.00493510
push dword [edi + 0x154]
lea eax, [ebp - 0x108]
push esi
push eax
mov eax, dword [edi + 0x1c0]
push 0
push edi
call eax
push 0
push edi
call fcn.00493510
add esp, 0x24
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ee9b
mov esp, ebp
pop ebp
ret
push dword [edi + 0x150]
push 1
push 2
push 0x55f9b0
call fcn.005105b0
push dword [edi + 0x150]
lea eax, [ebp - 0x108]
push 1
push esi
push eax
call fcn.005105b0
add esp, 0x20
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0050ee9b
mov esp, ebp
pop ebp
ret
Function at 0x498b40
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5ac774]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov eax, dword [edx + 0xc]
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x10]
mov ebx, dword [eax + ecx*4 + 0x158]
push ecx
push eax
push edx
mov dword [ebp - 0x108], edx
call fcn.00498fb0
add esp, 0xc
test eax, eax
je 0x498b9b
pop edi
mov dword [esi], 0x1b
or eax, 0xffffffff
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ee9b
mov esp, ebp
pop ebp
ret
push 0
push dword [ebp + 0x14]
push edi
push ebx
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
mov dword [esi], 0
cmp edi, 0xffffffff
jne 0x498c18
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2733
jne 0x498be0
xor edi, edi
mov dword [esi], 0x51
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ee9b
mov esp, ebp
pop ebp
ret
push 0x100
lea eax, [ebp - 0x104]
push eax
push ebx
call fcn.004b0ae0
push eax
push str.Send_failure:__s
push dword [ebp - 0x108]
call fcn.00498770
mov eax, dword [ebp - 0x108]
add esp, 0x18
mov dword [eax + 0x948], ebx
mov dword [esi], 0x37
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050ee9b
mov esp, ebp
pop ebp
ret

Function at 0x498fb0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
lea esi, [edx + 0x18]
mov eax, dword [ecx + 0x298]
mov ebx, dword [ecx + edx*4 + 0x158]
shl esi, 4
add esi, ecx
push edi
mov edi, dword [esi + 4]
sub edi, dword [esi + 8]
test byte [eax + 0x40], 3
je 0x499066
cmp dword [ecx + edx*4 + 0x170], 0x498a40
jne 0x499066
cmp dword [esi], 0
je 0x498ff7
test edi, edi
je 0x499066
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
call fcn.004aa8a0
add esp, 0x14
cmp eax, 0xffffffff
je 0x499066
test al, 1
je 0x499066
cmp dword [esi], 0
jne 0x49904f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x4d8]
add eax, eax
push eax
mov dword [esi + 4], eax
call dword [0x5ac090]
add esp, 4
mov dword [esi], eax
test eax, eax
jne 0x49903e
pop edi
pop esi
mov eax, 0x1b
pop ebx
pop ebp
ret
mov edi, dword [esi + 4]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov eax, dword [esi]
add eax, dword [esi + 8]
push 0
push edi
push eax
push ebx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x499066
add dword [esi + 8], eax
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret