joyce8/EMBER2024-capa huggingface dataset:
Function at 0x23a01a80
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x23bdda06
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x23c68938]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov eax, dword [ecx + 8]
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
test eax, eax
je 0x23a01b66
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x8000
push edx
call eax
test eax, eax
jge 0x23a01b0a
push eax
push 0xca
push str.......Sources_actBasic_advapi.cpp
lea ecx, [esp + 0x40]
call fcn.23a01270
push 0x23c614bc
lea edx, [esp + 0x38]
push edx
call fcn.23a49c94
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x38]
call fcn.23a01070
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
mov dword [esp + 0x284], 0
call fcn.23a02610
mov edi, 8
mov dword [esp + 0x278], 0xffffffff
cmp dword [esp + 0x4c], edi
jb 0x23a01b56
mov edx, dword [esp + 0x38]
push edx
call fcn.23a2ed1b
add esp, 4
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x23a01c1a
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x5c]
push ecx
push 0
push 0
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
jge 0x23a01bb7
mov eax, dword [ebp + 0xc]
push edi
push eax
push str.SHGetFolderPath__d__failed_with_0x_08X_error
call dword [0x23c41f24]
add esp, 0xc
push edi
push 0xdf
push str.......Sources_actBasic_advapi.cpp
lea ecx, [esp + 0x40]
call fcn.23a01270
push 0x23c614bc
lea ecx, [esp + 0x38]
push ecx
call fcn.23a49c94
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x1c]
call fcn.23a01070
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov dword [esp + 0x284], 1
call fcn.23a02610
mov edi, 8
mov dword [esp + 0x278], 0xffffffff
cmp dword [esp + 0x30], edi
jb 0x23a01c03
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.23a2ed1b
add esp, 4
xor edx, edx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], dx
test ebx, ebx
je 0x23a01c49
push 1
push 0x23c40c38
mov ecx, esi
call fcn.23a028a0
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x23a01c31
sub eax, edx
sar eax, 1
push eax
push ebx
mov ecx, esi
call fcn.23a028a0
cmp byte [ebp + 0x18], 0
je 0x23a01c65
cmp dword [esi + 0x18], edi
jb 0x23a01c59
mov esi, dword [esi + 4]
jmp 0x23a01c5c
add esi, 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.23a4addf
mov esp, ebp
pop ebp
ret 0x14
Function at 0x23a01c90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x23bddcf8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x23c68938]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
push 0
push edi
push 0
push 0x26
push 0x23bf05b8
mov dword [esp + 0x28], ebx
call fcn.23a01a80
mov esi, dword [edi + 0x14]
cmp esi, 6
jbe 0x23a01dde
lea ebx, [esi - 1]
cmp ebx, esi
jbe 0x23a01cf7
call fcn.23a49e3d
mov ecx, dword [edi + 0x18]
lea ebp, [edi + 4]
cmp ecx, 8
jb 0x23a01d07
mov eax, dword [ebp]
jmp 0x23a01d09
mov eax, ebp
cmp word [eax + ebx*2], 0x5c
jne 0x23a01d12
mov esi, ebx
sub esi, 6
cmp ecx, 8
jb 0x23a01d1f
mov eax, dword [ebp]
jmp 0x23a01d21
mov eax, ebp
mov ecx, str.__x86_
lea eax, [eax + esi*2]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x23a01d56
test dx, dx
je 0x23a01d52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x23a01d56
add eax, 4
add ecx, 4
test dx, dx
jne 0x23a01d30
xor eax, eax
jmp 0x23a01d5b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x23a01dda
mov eax, dword [edi + 0x18]
mov ebx, 8
cmp eax, ebx
jb 0x23a01d70
mov eax, dword [ebp]
jmp 0x23a01d72
mov eax, ebp
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.23a010f0
xor esi, esi
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], ebx
jae 0x23a01d91
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x23a01dac
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.23a02610
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x30], ebx
jb 0x23a01dc7
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.23a2ed1b
add esp, 4
xor edx, edx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], esi
mov word [esp + 0x1c], dx
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x23a01e0a
push 0x5c
push 1
mov ecx, edi
call fcn.23a02550
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x23a01df2
sub eax, edx
sar eax, 1
push eax
push ebx
mov ecx, edi
call fcn.23a028a0
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.23a4addf
add esp, 0x30
ret 8
Function at 0x23a01e30
Capabilities:
Encode data using xor
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x23c
mov eax, dword [0x23c68938]
xor eax, esp
mov dword [esp + 0x238], eax
push esi
mov esi, dword [ebp + 8]
push 0x104
lea eax, [esp + 0x34]
push eax
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x23a01ea8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.GetModuleFileName_GetModuleHandle__T__kernel32.dll_____filed_with_0x_08X_error
call dword [0x23c41f24]
add esp, 8
push esi
push 0x152
push str.......Sources_actBasic_advapi.cpp
lea ecx, [esp + 0x14]
call fcn.23a01270
push 0x23c614bc
lea ecx, [esp + 0xc]
push ecx
call fcn.23a49c94
lea edx, [esp + 0x30]
push 0x5c
push edx
call fcn.23a4a443
add esp, 8
test eax, eax
je 0x23a01ec1
xor ecx, ecx
mov word [eax + 2], cx
push 0
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
push 0
push 0
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x23a01f1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.GetVolumeInformation___failed_with_0x_08X_error
call dword [0x23c41f24]
add esp, 8
push esi
push 0x15f
push str.......Sources_actBasic_advapi.cpp
lea ecx, [esp + 0x14]
call fcn.23a01270
push 0x23c614bc
lea ecx, [esp + 0xc]
push ecx
call fcn.23a49c94
mov eax, dword [ebp + 0xc]
and eax, 0xfffffffc
jbe 0x23a01f3a
mov ecx, dword [esp + 4]
dec eax
shr eax, 2
inc eax
lea esp, [esp]
xor dword [esi], ecx
add esi, 4
sub eax, 1
jne 0x23a01f30
mov ecx, dword [esp + 0x23c]
pop esi
xor ecx, esp
call fcn.23a4addf
mov esp, ebp
pop ebp
ret
Function at 0x23a01f50
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x23bdd4e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x23c68938]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, dword [esp + 0x44]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x23a01fbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x23a02047
cmp eax, 0x91
je 0x23a02047
push eax
push esi
push str.RemoveDirectory___s___failed_with_0x_08X_error
call dword [0x23c41f28]
add esp, 0xc
jmp 0x23a02047
push esi
lea ecx, [esp + 0x18]
call fcn.23a01070
mov dword [esp + 0x3c], 0
lea edi, [esp + 0x10]
lea ebx, [esp + 0x14]
mov dword [esp + 0x10], 0x5c
call fcn.23a04100
cmp eax, 0xffffffff
jne 0x23a01ff4
mov ecx, ebx
call fcn.23a02410
jmp 0x23a02018
mov ecx, dword [esp + 0x28]
cmp eax, ecx
ja 0x23a0200a
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x1c]
call fcn.23a029c0
jmp 0x23a02018
sub eax, ecx
push 0
push eax
lea ecx, [esp + 0x1c]
call fcn.23a02550
mov eax, dword [esp + 0x18]
mov esi, 8
cmp dword [esp + 0x2c], esi
jae 0x23a0202b
lea eax, [esp + 0x18]
push eax
call fcn.23a01f50
add esp, 4
cmp dword [esp + 0x2c], esi
jb 0x23a02047
mov eax, dword [esp + 0x18]
push eax
call fcn.23a2ed1b
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.23a4addf
add esp, 0x30
ret

Function at 0x23a02070
Capabilities:
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x23a02096
mov al, 1
pop esi
ret
cmp byte [esp + 0xc], 0
jne 0x23a020b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.DeleteFile___s___failed_with_0x_08X_error
call dword [0x23c41f28]
add esp, 0xc
xor al, al
pop esi
ret
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x23a02092
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.MoveFileEx___s___failed_with_0x_08X_error
call dword [0x23c41f28]
add esp, 0xc
xor al, al
pop esi
ret
Function at 0x23a020e0
Capabilities:
Delete directory
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x23bdd7e6
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x23c68938]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0x2a8]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2b8]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], eax
mov word [esp + 0x1c], cx
push 0x23c40e6c
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2b8], eax
mov bl, 1
call fcn.23a01340
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x2b4], bl
call fcn.23a01790
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
test al, al
je 0x23a02253
lea eax, [esp + 0x80]
push eax
push edi
lea ecx, [esp + 0x20]
call fcn.23a034b0
mov eax, dword [esp + 0x54]
mov esi, 8
test al, 1
je 0x23a021ae
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x30], esi
jae 0x23a0219f
lea ecx, [esp + 0x1c]
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [esp + 0x54]
test al, 0x10
je 0x23a021d7
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], esi
jae 0x23a021c0
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x2bc]
push ecx
push eax
call fcn.23a020e0
add esp, 8
test al, al
jne 0x23a02239
jmp 0x23a02237
cmp dword [esp + 0x30], esi
mov esi, dword [esp + 0x1c]
jae 0x23a021e5
lea esi, [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x23a02239
cmp byte [esp + 0x2bc], al
jne 0x23a02216
call ebp
push eax
push esi
push str.DeleteFile___s___failed_with_0x_08X_error
jmp 0x23a0222e
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x23a02239
call ebp
push eax
push esi
push str.MoveFileEx___s___failed_with_0x_08X_error
call dword [0x23c41f28]
add esp, 0xc
xor bl, bl
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x38]
call fcn.23a01790
test al, al
jne 0x23a02172
test bl, bl
je 0x23a02294
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x23a02294
cmp byte [esp + 0x2bc], al
je 0x23a02280
push 4
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x23a02294
call ebp
push eax
push edi
push str.MoveFileEx___s___failed_with_0x_08X_error
jmp 0x23a02289
call ebp
push eax
push edi
push str.RemoveDirectory___s___failed_with_0x_08X_error
call dword [0x23c41f28]
add esp, 0xc
xor bl, bl
lea ecx, [esp + 0x34]
mov byte [esp + 0x2b0], 0
call fcn.23a013b0
cmp dword [esp + 0x30], 8
jb 0x23a022b9
mov eax, dword [esp + 0x1c]
push eax
call fcn.23a2ed1b
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x2a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.23a4addf
add esp, 0x2a0
ret
Function at 0x23a037d0
Capabilities:
Access peb ldr_data
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x23bdd26b
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x23c68938]
xor eax, esp
mov dword [esp + 0x42c], eax
push esi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0x438]
mov dword fs:[0], eax
lea eax, [esp + 0x24]
push eax
push 0x104
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x22c]
push ecx
push 0
push 0x23c40ef0
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [esp + 0x22c]
push eax
lea ecx, [esp + 0xc]
call fcn.23a01070
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x44c], 0
call fcn.23a02610
cmp dword [esp + 0x20], 8
jb 0x23a03874
mov edx, dword [esp + 0xc]
push edx
call fcn.23a2ed1b
add esp, 4
mov ecx, dword [esp + 0x438]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x42c]
xor ecx, esp
call fcn.23a4addf
add esp, 0x43c
ret

Function at 0x23a04e70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
sub esp, 0x30
test eax, eax
je 0x23a04ec2
mov ecx, dword [ecx]
push 0
lea edx, [esp + 8]
push edx
push eax
mov eax, dword [ebp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x23a04ec2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4c1
push str.d:_builds_temporary_activitymon20_sources_actbasic.._actBasic_advapi.h
lea ecx, [esp + 0x14]
call fcn.23a01270
push 0x23c614bc
lea edx, [esp + 0xc]
push edx
call fcn.23a49c94
mov esp, ebp
pop ebp
ret 8

Function at 0x23a04ed0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov edx, dword [ebp + 0xc]
mov ecx, dword [ecx]
sub esp, 0x30
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [ebp + 8]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x23a04f1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4f9
push str.d:_builds_temporary_activitymon20_sources_actbasic.._actBasic_advapi.h
lea ecx, [esp + 0x14]
call fcn.23a01270
push 0x23c614bc
lea edx, [esp + 0xc]
push edx
call fcn.23a49c94
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x23a04f2b
mov ecx, dword [esp + 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x23a051f0
Capabilities:
Encode data using xor
Get disk information

Disassembly:
sub esp, 0x240
mov eax, dword [0x23c68938]
xor eax, esp
mov dword [esp + 0x238], eax
push esi
push 0x104
lea eax, [esp + 0x34]
push eax
push str.kernel32.dll
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x23a0525e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.GetModuleFileName_GetModuleHandle__T__kernel32.dll_____filed_with_0x_08X_error
call dword [0x23c41f24]
add esp, 8
push esi
push 0x30
push str.......Sources_actBasicAESKey.cpp
lea ecx, [esp + 0x14]
call fcn.23a01270
push 0x23c614bc
lea ecx, [esp + 0xc]
push ecx
call fcn.23a49c94
lea edx, [esp + 0x30]
push 0x5c
push edx
call fcn.23a4a443
add esp, 8
test eax, eax
je 0x23a05277
xor ecx, ecx
mov word [eax + 2], cx
push 0
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
push 0
push 0
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x23a052ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.GetVolumeInformation___failed_with_0x_08X_error
call dword [0x23c41f24]
add esp, 8
push esi
push 0x3d
push str.......Sources_actBasicAESKey.cpp
lea ecx, [esp + 0x14]
call fcn.23a01270
push 0x23c614bc
lea ecx, [esp + 0xc]
push ecx
call fcn.23a49c94
mov ecx, dword [esp + 4]
xor eax, eax
xor dword [esi + eax], ecx
add eax, 4
cmp eax, 0x20
jb 0x23a052d4
mov ecx, dword [esp + 0x23c]
pop esi
xor ecx, esp
call fcn.23a4addf
add esp, 0x240
ret
Function at 0x23a05590
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x23bddc7b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2854
call fcn.23a4adf0
mov eax, dword [0x23c68938]
xor eax, esp
mov dword [esp + 0x2850], eax
push ebx
push esi
push edi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0x2868]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov ebx, ecx
xor esi, esi
push esi
push 0x80
push 2
push esi
push 1
push 0x40000000
push eax
mov dword [esp + 0x288c], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [esp + 0x20], edi
cmp edi, 0xffffffff
jne 0x23a05639
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
je 0x23a05639
push eax
push 0x8b
push str.......Sources_actBasicAESKey.cpp
lea ecx, [esp + 0x30]
call fcn.23a01270
push 0x23c614bc
lea ecx, [esp + 0x28]
push ecx
call fcn.23a49c94
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.RPCRT4.dll_UuidCreate]
push esi
lea eax, [esp + 0x18]
push eax
push 0x10
lea ecx, [esp + 0x58]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x23a05685
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4c1
push str.d:_builds_temporary_activitymon20_sources_actbasic.._actBasic_advapi.h
lea ecx, [esp + 0x30]
call fcn.23a01270
push 0x23c614bc
lea edx, [esp + 0x28]
push edx
call fcn.23a49c94
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], esi
cmp eax, esi
ja 0x23a056f3
mov dword [esp + 0x2870], 0xffffffff
cmp edi, 0xffffffff
je 0x23a056c1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x23a056c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.CloseHandle_0x_08X__failed_with_0x_08X_error
call dword [0x23c41f24]
add esp, 0xc
mov ecx, dword [esp + 0x2868]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2850]
xor ecx, esp
call fcn.23a4addf
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov esi, 0x2800
cmp eax, 0x2800
ja 0x23a05701
mov esi, eax
mov edx, dword [esp + 0x1c]
push 1
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x54]
push ecx
push edx
push esi
lea eax, [esp + 0x70]
push eax
push ebx
call fcn.23a2e130
add esp, 0x1c
test esi, esi
je 0x23a0573d
push 0
lea ecx, [esp + 0x18]
push ecx
push esi
lea edx, [esp + 0x68]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x23a05749
add ebx, esi
sub dword [ebp + 0xc], esi
jne 0x23a056f0
jmp 0x23a05690
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4c1
push str.d:_builds_temporary_activitymon20_sources_actbasic.._actBasic_advapi.h
lea ecx, [esp + 0x30]
call fcn.23a01270
push 0x23c614bc
lea eax, [esp + 0x28]
push eax
call fcn.23a49c94
int3
Function at 0x23a05b90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x23bdd6fb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esi], 0xffffffff
mov dword [esi + 4], edi
mov dword [esi + 8], edi
xor eax, eax
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], edi
mov word [esi + 0x1c], ax
lea ecx, [esi + 0x3c]
mov dword [esp + 0x18], edi
push ecx
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
call fcn.23a067d0
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x23a061f0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x8f4
mov eax, dword [0x23c68938]
xor eax, esp
mov dword [esp + 0x8ec], eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, 8
cmp dword [esi + 0x30], edi
jb 0x23a06219
mov eax, dword [esi + 0x1c]
jmp 0x23a0621c
lea eax, [esi + 0x1c]
push 0
push 0
push 3
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x23a06267
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x23a06260
cmp dword [esi + 0x30], edi
jb 0x23a0624d
mov esi, dword [esi + 0x1c]
jmp 0x23a06250
add esi, 0x1c
push eax
push esi
push str.Bad_cabinet_file___s___0x_08__n
call dword [0x23c41f28]
add esp, 0xc
xor al, al
jmp 0x23a063db
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x20]
push eax
push 0x28
lea ecx, [esp + 0x8c]
push ecx
push ebp
mov byte [esp + 0x2b], 0
call ebx
test eax, eax
je 0x23a063d0
push 0
lea edx, [esp + 0x20]
push edx
push 0x22c
lea eax, [esp + 0xbc]
push eax
push ebp
call ebx
test eax, eax
je 0x23a063d0
mov ecx, 0x80
lea esi, [esp + 0xdc]
lea edi, [esp + 0x2f8]
push 0x200
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xe0]
push 0
push ecx
call fcn.23a49830
lea edx, [esp + 0x2c]
push edx
call fcn.23b821e0
push 0x28
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.23b837d0
add esp, 0x1c
test eax, eax
je 0x23a063d0
push 0x22c
lea edx, [esp + 0xb4]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.23b837d0
add esp, 0xc
test eax, eax
je 0x23a063d0
push 0
lea ecx, [esp + 0x1c]
push ecx
mov esi, 0x400
push esi
lea edx, [esp + 0x504]
push edx
push ebp
call ebx
test eax, eax
je 0x23a06377
lea ecx, [ecx]
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x4fc]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.23b837d0
add esp, 0xc
cmp dword [esp + 0x18], esi
jb 0x23a06377
push 0
lea eax, [esp + 0x1c]
push eax
push esi
lea ecx, [esp + 0x504]
push ecx
push ebp
call ebx
test eax, eax
jne 0x23a06340
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2e8]
push eax
call fcn.23b838b0
add esp, 8
call fcn.23a061b0
mov esi, eax
test esi, esi
je 0x23a063d0
push esi
push esi
call fcn.23b83ed0
add esp, 4
push eax
lea ecx, [esp + 0x300]
push ecx
push 0x14
lea edx, [esp + 0x2f4]
push edx
push 0x40
call fcn.23b83c10
add esp, 0x18
test eax, eax
je 0x23a063c7
mov byte [esp + 0x17], 1
push esi
call fcn.23b842e0
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x8fc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.23a4addf
add esp, 0x8f4
ret