joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401994
Capabilities:
Accept command line arguments
Create directory
Delete directory
Get common file path
Get hostname
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x334
mov eax, dword [0x43b3ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x334], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [0x43b008], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, 0x104
mov esi, eax
push ebx
lea eax, [ebp - 0x124]
push 0
push eax
call fcn.00409120
push esi
push str.MCAFEE_FRAMEWORK_LOG_MUTEX__ul
lea eax, [ebp - 0x124]
push ebx
push eax
call fcn.00401c51
add esp, 0x1c
lea eax, [ebp - 0x124]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [section..data], eax
cmp eax, 0xffffffff
je 0x401b52
push edi
mov esi, str._LOGDIR
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
cmp byte [esi], 0
je 0x401a86
push 8
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.0040c7f5
add esp, 0xc
test eax, eax
je 0x401a3d
inc esi
cmp byte [esi], 0
jne 0x401a24
cmp byte [esi], 0
je 0x401a86
mov bl, byte [esi + 8]
xor eax, eax
cmp bl, 0x22
push 0x104
sete al
add esi, 8
add eax, esi
mov esi, 0x43c320
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x22
pop eax
push 0x20
pop ecx
cmp bl, al
cmovne eax, ecx
push eax
push esi
call fcn.0040c508
mov ebx, 0x104
pop ecx
pop ecx
test eax, eax
je 0x401ab4
mov byte [eax], 0
jmp 0x401ab4
lea eax, [ebp - 0x228]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.McAfeeLogs
lea eax, [ebp - 0x228]
mov esi, 0x43c320
push eax
push 0x42b330
push ebx
push esi
call fcn.00401bba
add esp, 0x14
lea eax, [ebp - 0x330]
mov dword [ebp - 0x330], 0x10
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x20]
xor edi, edi
push eax
push esi
push str._sFrmInst__s.log
lea eax, [ebp - 0x32c]
push ebx
push eax
call fcn.00401bba
push esi
call fcn.0040108d
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
add esp, 0x18
test eax, eax
je 0x401afe
push esi
call ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push 0x80
push 4
push dword [ebp - 0x334]
lea eax, [ebp - 0x32c]
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
mov dword [0x43b004], eax
call fcn.0040108d
pop ecx
test eax, eax
je 0x401b51
push dword [0x43b004]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebx
inc edi
cmp edi, 0x64
jge 0x401b60
jmp 0x401afe
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00407164
leave
ret
push 1
call fcn.0040c45f
int3
Function at 0x40353e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x5c
mov eax, 0x42ab37
call fcn.00407223
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x60]
push eax
push 0x20219
push esi
push str.SOFTWARENetwork_AssociatesePolicy_OrchestratorApplication_PluginsMAR_____1000
push 0x80000002
mov dword [ebp - 0x60], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40371d
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x5c]
push eax
push esi
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 1
push eax
push esi
push str.Version
push dword [ebp - 0x60]
mov dword [ebp - 0x5c], esi
call ebx
test eax, eax
jne 0x403714
mov eax, dword [ebp - 0x5c]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004071b0
mov edi, eax
mov eax, dword [ebp - 0x5c]
pop ecx
add eax, eax
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
push eax
push edi
lea eax, [ebp - 0x64]
push eax
push esi
push str.Version
push dword [ebp - 0x60]
call ebx
test eax, eax
jne 0x403709
push edi
lea ecx, [ebp - 0x28]
call fcn.0040276e
push str.2.3.0.243
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], esi
call fcn.0040276e
xor ebx, ebx
lea ecx, [ebp - 0x40]
inc ebx
push str.2.4.0.158
mov byte [ebp - 4], bl
call fcn.0040276e
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 2
call fcn.00402eb6
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push str.2.3.0.0
push eax
call fcn.00404b68
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x28]
jne 0x40366b
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
push esi
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00404b68
add esp, 0xc
test eax, eax
jg 0x4036f1
push str.Incompatible_MAR_version_2.3.0_detected
jmp 0x4036e3
cmp dword [ebp - 0x14], 8
push ebx
cmovae eax, dword [ebp - 0x28]
push str.2.4.0.0
push eax
call fcn.00404b68
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x28]
jne 0x4036b2
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push esi
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00404b68
add esp, 0xc
test eax, eax
jg 0x4036f1
push str.Incompatible_MAR_version_2.4.0_detected
jmp 0x4036e3
cmp dword [ebp - 0x14], 8
push ebx
cmovae eax, dword [ebp - 0x28]
push str.2.4.0.0
push eax
call fcn.00404b68
add esp, 0xc
test eax, eax
jle 0x4036de
push str.Greater_version_of_MAR_detected
push str.Stub
call fcn.00401100
jmp 0x4036ef
push str.Incompatible_MAR_version_detected
push str.Stub
call fcn.00401100
mov esi, ebx
pop ecx
pop ecx
lea ecx, [ebp - 0x40]
call fcn.004046d1
lea ecx, [ebp - 0x58]
call fcn.004046d1
lea ecx, [ebp - 0x28]
call fcn.004046d1
test edi, edi
je 0x403714
push edi
call fcn.004071b9
pop ecx
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.004071d2
ret
Function at 0x403725
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x43b3ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x94
lea eax, [ebp - 0x98]
push esi
push 0
push eax
call fcn.00409120
add esp, 0xc
mov dword [ebp - 0x98], esi
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.00407164
leave
ret

Function at 0x404715
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x43b3ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, str.NAIMServInst
mov dword [0x43d768], eax
push edi
xor ebx, ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push dword [0x43d768]
mov esi, eax
lea eax, [ebp - 0x104]
push edi
push str._s_error:__d
push 0x100
push eax
call fcn.00401c51
lea eax, [ebp - 0x104]
add esp, 0x14
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x108], eax
test esi, esi
je 0x40479e
push ebx
lea eax, [ebp - 0x10c]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407164
leave
ret
Function at 0x404978
Capabilities:
Delete directory
Enumerate files on windows

Disassembly:
push 0x174
mov eax, 0x42ad46
call fcn.00407223
mov esi, dword [ebp + 8]
push esi
call fcn.0040bff0
pop ecx
cmp eax, 4
jb 0x404af8
push esi
lea ecx, [ebp - 0x40]
call fcn.0040273f
and dword [ebp - 4], 0
mov edi, str..
push edi
call fcn.0040bff0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.00404828
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x180]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4049f3
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push str.FindFirstFile___s_
jmp 0x404adc
push esi
lea ecx, [ebp - 0x28]
call fcn.0040273f
push 0x42b688
mov byte [ebp - 4], 1
call fcn.0040bff0
pop ecx
push eax
push 0x42b688
lea ecx, [ebp - 0x28]
call fcn.00404828
lea eax, [ebp - 0x154]
push eax
call fcn.0040bff0
pop ecx
push eax
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404828
test byte [ebp - 0x180], 0x14
je 0x404a8d
lea eax, [ebp - 0x154]
push 0x42b68c
push eax
call fcn.00416170
pop ecx
pop ecx
test eax, eax
je 0x404aa2
lea eax, [ebp - 0x154]
push 0x42b690
push eax
call fcn.00416170
pop ecx
pop ecx
test eax, eax
je 0x404aa2
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.Unexpected_directory_in_error_cleanup___s_
push str.Stub
call fcn.004010e7
add esp, 0xc
jmp 0x404aa2
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0040185f
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.004046ab
lea eax, [ebp - 0x180]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4049f3
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x404af0
push esi
push str.RemoveDirectory___s_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Stub
call fcn.0040167c
add esp, 0x10
lea ecx, [ebp - 0x40]
call fcn.004046ab
call fcn.004071d2
ret
Function at 0x406119
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
push 0x2711
call fcn.004071b0
mov edi, eax
test edi, edi
push 0x8b
setne bl
mov byte [ebp - 4], bl
push dword [ebp - 4]
call fcn.0040560f
add esp, 0xc
test edi, edi
je 0x4061d9
push esi
push dword [ebp + 8]
mov esi, 0x2710
push esi
push 1
push edi
call fcn.004146cf
add esp, 0x10
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x4061ac
push dword [ebp + 0xc]
push esi
push 1
push edi
call fcn.00414c7f
mov esi, eax
cmp esi, 0x2710
push 0x94
sete bl
mov byte [ebp - 4], bl
push dword [ebp - 4]
call fcn.0040560f
push dword [ebp + 8]
push 0x2710
push 1
push edi
call fcn.004146cf
add esp, 0x28
cmp esi, dword [ebp - 8]
mov esi, 0x2710
je 0x406161
mov dword [ebp - 8], eax
pop esi
test bl, bl
je 0x4061d9
push dword [ebp + 0xc]
push eax
push 1
push edi
call fcn.00414c7f
cmp eax, dword [ebp - 8]
push 0x9b
sete bl
mov byte [ebp - 4], bl
push dword [ebp - 4]
call fcn.0040560f
add esp, 0x18
cmp dword [ebp + 0xc], 0
je 0x4061e8
push dword [ebp + 0xc]
call fcn.00414397
pop ecx
cmp dword [ebp + 8], 0
je 0x4061f7
push dword [ebp + 8]
call fcn.00414397
pop ecx
test bl, bl
je 0x40621b
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00406800
mov bl, al
mov byte [ebp - 4], bl
push 0x119
push dword [ebp - 4]
call fcn.0040560f
add esp, 0x10
test edi, edi
je 0x406226
push edi
call fcn.004071b9
pop ecx
pop edi
mov al, bl
pop ebx
leave
ret

Function at 0x406280
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov edi, 0x400
push 1
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.00414ce2
pop ecx
pop ecx
push edi
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push str.MsiInstaller
push ebx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov edi, eax
test edi, edi
je 0x4062e5
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], str.Trellix_Agent_installation_failed_because_this_operating_system_is_not_supported._Installation_action_invoked_from_:__2
push eax
push ebx
push 2
push ebx
push 0x2dbc
push ebx
push 1
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
push esi
call fcn.00414ced
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4062f1
Capabilities:
Access the windows event log

Disassembly:
push 0x30
mov eax, 0x42aec1
call fcn.00407223
mov eax, dword [ebp + 0x18]
lea ecx, [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x20], 0xf
cmp dword [ebp + 0x1c], 8
lea esi, [ebp + 8]
mov dword [ebp - 4], ebx
cmovae ecx, dword [ebp + 8]
cmovae esi, dword [ebp + 8]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ecx + eax*2]
mov dword [ebp - 0x14], ebx
mov eax, edi
mov dword [ebp - 0x34], ebx
sub eax, esi
mov dword [ebp - 0x24], ebx
sar eax, 1
lea ecx, [ebp - 0x34]
push eax
call fcn.00405872
mov byte [ebp - 0x38], bl
lea ecx, [ebp - 0x34]
push dword [ebp - 0x38]
push edi
push esi
call fcn.00401f2e
push str.MsiInstaller
push ebx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x40639c
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x1c]
push ebx
push eax
push ebx
push 3
push ebx
push 0x2dbc
push ebx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], str.Trellix_Agent_installation_failed_because_it_detected_the_following_products_as_incompatible_with_this_version_:__2___3
cmovae ecx, dword [ebp - 0x34]
push 1
push esi
mov dword [ebp - 0x18], str.MAR_____1000
mov dword [ebp - 0x14], ecx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x4063d3
mov ecx, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
cmp eax, 0x1000
jb 0x4063ca
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004037ee
mov eax, dword [ebp - 0x3c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
push eax
push ecx
call fcn.004071a2
pop ecx
pop ecx
lea ecx, [ebp + 8]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], bl
call fcn.004046d1
call fcn.004071d2
ret

Function at 0x41e7a0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041e616
Function at 0x1001ea60
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dcdfb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
push esi
mov eax, dword [0x100f6008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x101088c0]
test al, 1
jne 0x1001ebab
or eax, 1
mov dword [0x101088c0], eax
mov dword [ebp - 4], 0
mov eax, 0x10
movaps xmm0, xmmword [0x100eb440]
pxor xmm0, xmmword [0x100eaf50]
mov dword [ebp - 0x20], 0x8c938c93
mov dword [ebp - 0x1c], 0xea8cee94
mov word [ebp - 0x18], 0xac9d
movups xmmword [ebp - 0x30], xmm0
xor byte [ebp + eax - 0x30], 0xac
inc eax
cmp eax, 0x1a
jb 0x1001eae4
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x48], xmm0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001eb10
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10027260
mov byte [ebp - 4], 1
mov edx, dword [0x101258a4]
test edx, edx
je 0x1001eb39
mov edx, dword [edx + 0x50]
jmp 0x1001eb3b
xor edx, edx
mov eax, dword [0x1012589c]
test eax, eax
je 0x1001eb49
mov eax, dword [eax + 0x18]
jmp 0x1001eb4b
xor eax, eax
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.1001e560
mov eax, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
mov dword [0x101088c4], eax
cmp ecx, 0x10
jb 0x1001eba2
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001eb93
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001eb93
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dafa1
mov eax, dword [0x101088c4]
add esp, 8
mov dword [ebp - 4], 0xffffffff
jmp 0x1001ebb0
mov eax, dword [0x101088c4]
test eax, eax
je 0x1001ebb8
mov ecx, esi
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10026fe0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dd135
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x100f6008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x10], ecx
push 0x45c
call fcn.100dab42
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea edi, [eax + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], edi
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], 0x100e95c0
mov eax, dword [esi]
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0x43820000
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x3c4], 0
mov dword [edi + 0x3c8], 0
mov dword [edi + 0x3cc], 0
mov dword [edi + 0x3d0], 0
mov dword [edi + 0x3d4], 0
mov dword [edi + 0x3d8], 0
mov dword [edi + 0x3dc], 0
mov dword [edi + 0x3e0], 0
mov byte [edi + 0x3e4], 0
mov dword [edi + 0x3e8], 0
mov byte [edi + 0x3ec], 0
mov dword [edi + 0x3f0], 0
mov dword [edi + 0x3f4], 0
mov dword [edi + 0x3f8], 0
mov dword [edi + 0x3fc], 0
mov dword [edi + 0x400], 0
mov dword [edi + 0x404], 0
mov byte [edi + 0x411], 0
mov byte [edi + 0x418], 0
mov byte [edi + 0x41a], 0
mov dword [edi + 0x430], 0
movups xmmword [edi + 0x434], xmm0
mov dword [edi + 0x444], 0
mov dword [edi + 0x448], 0xf
mov byte [edi + 0x434], 0
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.1001ec80
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x14]
movq qword [ecx], xmm0
mov dword [ecx + 4], 0
mov dword [ecx + 4], eax
mov eax, ecx
mov dword [ecx], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002c610
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100f6008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
movss xmm3, dword [0x100eaad0]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
movzx eax, cl
push esi
push edi
mov edi, dword [ebp + 8]
movd xmm0, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shr ecx, 0x10
cvtdq2ps xmm0, xmm0
movd xmm1, eax
movzx eax, cl
mulss xmm0, xmm3
cvtdq2ps xmm1, xmm1
movd xmm2, eax
mulss xmm1, xmm3
cvtdq2ps xmm2, xmm2
mulss xmm2, xmm3
test edi, edi
je 0x1002c71e
mov eax, dword [edi]
sub esp, 0xc
mov ecx, edi
mov eax, dword [eax + 0x70]
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call eax
mov dword [ebp - 0x10], 0xdac2c988
xor eax, eax
mov dword [ebp - 0xc], 0xd8dccdc1
mov dword [ebp - 8], 0xacd8c2c5
xor byte [ebp + eax - 0x10], 0xac
inc eax
cmp eax, 0xc
jb 0x1002c6a7
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push 1
push 0
push ecx
mov eax, dword [eax + 0x2c]
mov ecx, edi
call eax
mov esi, eax
test esi, esi
je 0x1002c745
movzx ecx, byte [ebp - 0x16]
sub esp, 0xc
movss xmm1, dword [0x100eaad0]
mov eax, dword [ebp - 0x1c]
mov edx, dword [esi]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movzx ecx, ah
movzx eax, al
mulss xmm0, xmm1
movss dword [esp + 8], xmm0
movd xmm0, ecx
mov ecx, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 4], xmm0
movd xmm0, eax
mov eax, dword [edx + 0x2c]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp], xmm0
call eax
jmp 0x1002c745
mov ecx, dword [0x10125910]
lea edx, [ebp - 0x14]
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0x10], xmm1
movss dword [ebp - 0xc], xmm2
mov dword [ebp - 8], 0x3f800000
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x18]
call eax
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [ebp + 0x14]
push esi
push 0x400
mov eax, dword [eax + 0x74]
call eax
mov eax, dword [edi]
mov ecx, edi
push esi
push 0x4000
mov eax, dword [eax + 0x74]
call eax
mov eax, dword [edi]
mov ecx, edi
push esi
push 0x8000
mov eax, dword [eax + 0x74]
call eax
mov ecx, dword [0x10125920]
push 0
push 0
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100dab26
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1002e810
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100f6008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1002e8cc
cmp byte [esi + 0x3d], 0
je 0x1002e8cc
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1002e8ba
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x1002e881
sub eax, 1
je 0x1002e885
sub eax, 2
jne 0x1002e8ba
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100dab26
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1002e8a3
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1002e8ba
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100dab26
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100dab26
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100dab26
mov esp, ebp
pop ebp
ret