joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4074d4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc3b8
call fcn.0041f310
mov eax, dword [0x448504]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push str._Spawner__Constructing_command_line..._n
call fcn.0040a1bf
pop ecx
call fcn.0041c853
add eax, 0x20
push eax
call fcn.0041a244
xor ebx, ebx
cmp dword [edi], ebx
pop ecx
mov byte [ebp - 0xc358], bl
mov dword [ebp - 0xc35c], ebx
je 0x407561
mov esi, edi
lea eax, [ebp - 0xc358]
push 0x43fb6c
push eax
call fcn.004190d0
push dword [esi]
lea eax, [ebp - 0xc358]
push eax
call fcn.004190d0
lea eax, [ebp - 0xc358]
push 0x444af4
push eax
call fcn.004190d0
add esp, 0x18
inc dword [ebp - 0xc35c]
mov eax, dword [ebp - 0xc35c]
lea esi, [edi + eax*4]
cmp dword [esi], ebx
jne 0x40751b
lea eax, [ebp - 0xc358]
push eax
push str._Spawner__Creating_command_line__s_n
call fcn.0040a1bf
call fcn.0041c853
add eax, 0x20
push eax
call fcn.0041a244
add esp, 0xc
push 0x44
lea eax, [ebp - 0xc3b8]
push ebx
push eax
call fcn.0041a540
add esp, 0xc
push 0x10
lea eax, [ebp - 0xc370]
push ebx
push eax
call fcn.0041a540
add esp, 0xc
lea eax, [ebp - 0xc370]
push eax
lea eax, [ebp - 0xc3b8]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea eax, [ebp - 0xc358]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4075f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed___d_._n
call fcn.0040a1bf
call fcn.0041c853
add eax, 0x20
push eax
call fcn.0041a244
add esp, 0xc
or eax, 0xffffffff
jmp 0x407644
push 0xffffffffffffffff
push dword [ebp - 0xc370]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0xc360]
push eax
push dword [ebp - 0xc370]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0xc370]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc36c]
call esi
push dword [ebp - 0xc360]
push str._Spawner__runSpawnerAndWait_returned__d_n
call fcn.0040a1bf
mov eax, dword [ebp - 0xc360]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00418dbb
leave
ret
Function at 0x407652
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc3b8
call fcn.0041f310
mov eax, dword [0x448504]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push str._Spawner__Constructing_command..._n
mov byte [ebp - 0xc358], bl
call fcn.0040a1bf
pop ecx
call fcn.0041c853
add eax, 0x20
push eax
call fcn.0041a244
cmp dword [edi], ebx
pop ecx
mov dword [ebp - 0xc35c], ebx
je 0x4076df
mov esi, edi
lea eax, [ebp - 0xc358]
push 0x43fb6c
push eax
call fcn.004190d0
push dword [esi]
lea eax, [ebp - 0xc358]
push eax
call fcn.004190d0
lea eax, [ebp - 0xc358]
push 0x444af4
push eax
call fcn.004190d0
add esp, 0x18
inc dword [ebp - 0xc35c]
mov eax, dword [ebp - 0xc35c]
lea esi, [edi + eax*4]
cmp dword [esi], ebx
jne 0x407699
lea eax, [ebp - 0xc358]
push eax
push str._Spawner__Executing_command__s_n
call fcn.0040a1bf
call fcn.0041c853
add eax, 0x20
push eax
call fcn.0041a244
add esp, 0xc
push 0x44
lea eax, [ebp - 0xc3b8]
push ebx
push eax
call fcn.0041a540
add esp, 0xc
push 0x10
lea eax, [ebp - 0xc36c]
push ebx
push eax
call fcn.0041a540
add esp, 0xc
lea eax, [ebp - 0xc36c]
push eax
lea eax, [ebp - 0xc3b8]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea eax, [ebp - 0xc358]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x407773
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed___d_._n
call fcn.0040a1bf
call fcn.0041c853
add eax, 0x20
push eax
call fcn.0041a244
add esp, 0xc
or eax, 0xffffffff
jmp 0x4077a5
push str._Spawner__Create_process_seems_to_have_worked_n
call fcn.0040a1bf
pop ecx
call fcn.0041c853
add eax, 0x20
push eax
call fcn.0041a244
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
push dword [ebp - 0xc36c]
call esi
push dword [ebp - 0xc368]
call esi
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00418dbb
leave
ret

Function at 0x40791c
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
cmp dword [0x449c20], esi
push esi
jne 0x40797a
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0x449c24
push esi
push 0x449c20
push 0x407a2f
push esi
push esi
mov dword [0x449c28], eax
call fcn.0041c01a
add esp, 0x18
push 0x1388
push dword [0x449c28]
mov dword [0x449c20], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40798a
push str.Error_starting_SplashThread_n
call fcn.0040a1bf
pop ecx
pop esi
ret
push 2
push 6
push dword [0x449c24]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
pop esi
ret
Function at 0x408457
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x19000
push 4
call fcn.00406b1d
push dword [ebp + 0xc]
mov edi, eax
push ebx
push str._Streamer__Downloading_from__s_into__s_n
call fcn.0040a1bf
add esp, 0x14
push 0xc
push 1
call fcn.0041c814
mov esi, eax
push 0xc
push 1
mov dword [esi], ebx
mov dword [esi + 4], edi
call fcn.0041c814
push 0x4400c8
push dword [ebp + 0xc]
mov ebx, eax
mov dword [ebx + 4], edi
call fcn.0041a3a4
add esp, 0x18
xor edi, edi
push edi
push edi
push esi
push 0x408295
push edi
push edi
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push ebx
push 0x408338
push edi
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [ebp + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 8], edi
jne 0x4084fd
cmp dword [ebx + 8], edi
jne 0x4084fd
xor eax, eax
inc eax
jmp 0x4084ff
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x408504
Capabilities:
Create thread

Disassembly:
push esi
push 0x32000
push 3
call fcn.00406b1d
push 0xc
push 1
mov esi, eax
call fcn.0041c814
mov ecx, dword [esp + 0x18]
add esp, 0x10
mov dword [eax], ecx
xor ecx, ecx
push ecx
push ecx
push eax
push 0x4083be
push ecx
push ecx
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, esi
pop esi
ret

Function at 0x40853e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0xc
call fcn.00418ea7
mov esi, 0x19000
push esi
push 1
mov dword [ebp - 4], eax
call fcn.00406b1d
mov edi, eax
push esi
push 2
mov dword [ebp - 0xc], edi
call fcn.00406b1d
push 0xc
push 1
mov dword [ebp - 8], eax
call fcn.0041c814
mov esi, eax
mov eax, dword [ebp + 8]
push 0x10
push 1
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], edi
call fcn.0041c814
mov ebx, eax
mov eax, dword [ebp - 8]
add esp, 0x24
mov dword [ebx], edi
xor edi, edi
push edi
push edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x408295
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0xc]
push edi
push edi
mov dword [ebx + 8], eax
call esi
mov ecx, dword [ebp - 4]
push edi
push edi
push ebx
push 0x4082cf
push edi
push edi
mov dword [ecx], eax
call esi
mov ecx, dword [ebp - 4]
push edi
push edi
push ebx
push 0x408304
push edi
push edi
mov dword [ecx + 8], eax
call esi
mov ecx, dword [ebp - 4]
push 0xffffffffffffffff
push eax
mov dword [ecx + 4], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp - 0xc]
call fcn.00406b7b
mov esi, dword [ebp - 8]
call fcn.00406b7b
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], edi
jne 0x408608
cmp dword [ebx + 0xc], edi
jne 0x408608
xor eax, eax
inc eax
jmp 0x40860a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40860f
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
push 0xc
call fcn.00418ea7
mov dword [esp], 0x19000
push 5
mov edi, eax
call fcn.00406b1d
push 0x10
push 1
mov ebx, eax
call fcn.0041c814
mov esi, eax
mov eax, dword [esp + 0x20]
add esp, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 8], eax
xor eax, eax
push eax
push eax
push esi
push 0x4082cf
push eax
mov dword [esi + 4], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call ebx
mov dword [edi + 8], eax
xor eax, eax
push eax
push eax
push esi
push 0x408304
push eax
push eax
call ebx
mov dword [edi + 4], eax
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x408f9a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffe0
sub esp, 0x7d4
mov eax, dword [0x448504]
xor eax, esp
mov dword [esp + 0x7d0], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push eax
push str._Unarchiver___START__Extracting_archive__s_n
mov dword [esp + 0x2c], eax
call fcn.0040a1bf
call fcn.0041c853
add eax, 0x20
push eax
call fcn.0041a244
or dword [esp + 0x34], 0xffffffff
xor ebx, ebx
push 0x438710
mov dword [esp + 0x30], ebx
call fcn.0040d6b0
add esp, 0x10
cmp eax, 0xffffffff
mov esi, str.mixed
je 0x409033
push 0x438360
call fcn.0040d6b0
cmp eax, 0xffffffff
pop ecx
je 0x409033
push 0x438628
call fcn.0040d6b0
cmp eax, 0xffffffff
pop ecx
je 0x409033
push esi
call fcn.0040d7c0
imul eax, eax, 0x68
lea ecx, [esp + 0x44]
push ecx
call dword [eax + 0x449dbc]
pop ecx
jmp 0x40903d
push str.WARNING:_Error_registering_mixed_hash
call fcn.00418f6a
pop ecx
push 0x100000
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
call fcn.00418ea7
pop ecx
mov ebx, eax
push ebx
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x38]
push edi
call fcn.004089ff
add esp, 0x1c
test eax, eax
je 0x40905b
cmp dword [esp + 0x28], 0xffffffff
je 0x409105
push str._Unarchiver__Verifying_signature_n
call fcn.0040a1bf
push esi
call fcn.0040d7c0
push 0x40
mov esi, eax
call fcn.00418ea7
imul esi, esi, 0x68
mov edi, eax
lea eax, [esp + 0x4c]
push edi
push eax
call dword [esi + 0x449dc4]
push dword [esp + 0x34]
mov esi, eax
neg esi
sbb esi, esi
not esi
and esi, edi
call fcn.00419030
mov edi, eax
shr edi, 1
inc edi
inc edi
push edi
call fcn.00418ea7
push dword [esp + 0x3c]
mov ebx, eax
push edi
push ebx
call fcn.004098e0
mov edi, eax
push edi
push str._Unarchiver__Produced_a_signature_of_length__d_n
call fcn.0040a1bf
push esi
push edi
push ebx
call fcn.00401029
add esp, 0x3c
test al, al
je 0x40912c
push str._Unarchiver__Archive_signature_verified._n
call fcn.0040a1bf
pop ecx
push dword [esp + 0x24]
push str._Unarchiver___END__Extracting_archive__s_n
call fcn.0040a1bf
pop ecx
pop ecx
mov ecx, dword [esp + 0x7dc]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00418dbb
mov esp, ebp
pop ebp
ret
mov esi, 0x445150
push esi
call fcn.0040a1bf
mov dword [esp], str._Unarchiver__ERROR___unable_to_verify_signature_of_hash_of_archive._n
call fcn.0040a1bf
mov dword [esp], str._Unarchiver__JWrapper_will_disregard_this_update._n
call fcn.0040a1bf
push dword [esp + 0x28]
call fcn.00409933
push esi
call fcn.0040a1bf
add esp, 0xc
push 1
call fcn.00419ee8
int3
Function at 0x409ac0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor edi, edi
mov dword [eax], edi
lea eax, [ebp - 4]
push eax
push str.S_1_5_32_545
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
call sub.ADVAPI32.dll_ConvertStringSidToSidA
test eax, eax
je 0x409c5f
push str._Utils__Converted_SID_for_USERS_n
call fcn.0040a1bf
pop ecx
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push edi
push edi
push 4
push 1
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoA]
cmp eax, edi
je 0x409b37
push eax
push str.GetNamedSecurityInfo_Error__u_n
call fcn.0040a1bf
cmp dword [ebp - 4], edi
pop ecx
pop ecx
je 0x409c6a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x409c6a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_GetExplicitEntriesFromAclA]
cmp eax, edi
je 0x409b7c
push eax
push str.GetExplicitEntriesFromAcl_failed__u_n
call fcn.0040a1bf
cmp dword [ebp - 4], edi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
pop ecx
pop ecx
je 0x409b69
push dword [ebp - 4]
call esi
cmp dword [ebp - 0xc], edi
je 0x409c6a
push dword [ebp - 0xc]
call esi
jmp 0x409c6a
push dword [ebp - 8]
push str._Utils__Got__u_ACEs_for_folder_n
call fcn.0040a1bf
mov esi, dword [ebp - 8]
dec esi
cmp esi, edi
pop ecx
pop ecx
mov dword [ebp - 0x14], esi
jl 0x409c29
mov ebx, esi
shl ebx, 5
mov eax, dword [ebp - 0x10]
cmp dword [ebx + eax + 0x14], edi
push esi
jne 0x409c0e
push str._Utils__Trustee__u_is_SID_n
call fcn.0040a1bf
mov eax, dword [ebp - 0x10]
mov eax, dword [ebx + eax + 0x1c]
pop ecx
pop ecx
push dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x409c1a
mov eax, dword [ebp - 0x10]
push dword [ebx + eax]
push esi
push str._Utils__Trustee__u_is_Users._Permissions_is__u._Trimming..._n
call fcn.0040a1bf
mov eax, dword [ebp - 8]
add esp, 0xc
dec eax
cmp esi, eax
mov edx, esi
jae 0x409c09
mov eax, ebx
mov ecx, dword [ebp - 0x10]
lea edi, [eax + ecx]
push 8
lea esi, [edi + 0x20]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 8]
inc edx
add eax, 0x20
dec ecx
cmp edx, ecx
jb 0x409bea
mov esi, dword [ebp - 0x14]
xor edi, edi
dec dword [ebp - 8]
jmp 0x409c1a
push str._Utils__Unknown_trustee_at__u_n
call fcn.0040a1bf
pop ecx
pop ecx
dec esi
sub ebx, 0x20
cmp esi, edi
mov dword [ebp - 0x14], esi
jge 0x409b9f
push dword [ebp - 8]
push str._Utils__Trimmed_ACE_size_is__u_n
call fcn.0040a1bf
cmp dword [ebp - 4], edi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
pop ecx
pop ecx
je 0x409c48
push dword [ebp - 4]
call esi
cmp dword [ebp - 0xc], edi
je 0x409c52
push dword [ebp - 0xc]
call esi
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
jmp 0x409c6c
push str._Utils__Unable_to_convert_SID_n
call fcn.0040a1bf
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409d94
Capabilities:
Encode data using xor
Get session user name
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x448504]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.ALLUSERSPROFILE
call fcn.0041bc3b
mov dword [ebp - 0xdc], eax
pop ecx
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0xe0], 0x64
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [ebp - 0x70]
push eax
call fcn.00419030
mov ebx, eax
xor edi, edi
test ebx, ebx
pop ecx
mov esi, 0x811c9dc5
jle 0x409e16
mov al, byte [ebp + edi - 0x70]
movzx ecx, al
xor ecx, esi
imul ecx, ecx, 0x1000193
mov esi, ecx
movsx eax, al
push esi
push eax
push edi
push str.__d___d__d_n
call fcn.0040a1bf
add esp, 0x10
inc edi
cmp edi, ebx
jl 0x409ded
test esi, esi
jge 0x409e1c
neg esi
push 0x64
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.0041a540
add esp, 0xc
push esi
lea eax, [ebp - 0xd8]
push 0x440ed8
push eax
call fcn.00419b6d
lea eax, [ebp - 0x70]
add esp, 0xc
push eax
xor esi, esi
call fcn.00419030
test eax, eax
pop ecx
jbe 0x409e6f
lea eax, [ebp + esi - 0x70]
cmp byte [eax], 0x80
jb 0x409e60
mov byte [eax], 0x5f
lea eax, [ebp - 0x70]
push eax
inc esi
call fcn.00419030
cmp esi, eax
pop ecx
jb 0x409e54
push 0x1388
call fcn.00418ea7
pop ecx
push dword [ebp - 0xdc]
mov esi, eax
push esi
mov byte [esi], 0
call fcn.004190d0
push str.JWUser_
call fcn.0040a0b9
add esp, 0xc
lea eax, [ebp - 0xd8]
push eax
push esi
call fcn.004190d0
push 0x4402f8
push esi
call fcn.004190d0
lea eax, [ebp - 0x70]
push eax
push esi
call fcn.004190d0
push esi
call fcn.0040a09a
mov ecx, dword [ebp - 4]
add esp, 0x1c
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418dbb
leave
ret
Function at 0x409ed4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x448504]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.APPDATA
mov dword [ebp - 0xa0], 0x94
call fcn.0041bc3b
mov esi, eax
test esi, esi
pop ecx
mov ebx, 0x1388
je 0x409f61
push esi
call fcn.00419030
cmp eax, 2
pop ecx
jbe 0x409f61
cmp byte [esi], 0x5c
jne 0x409f61
cmp byte [esi + 1], 0x5c
jne 0x409f61
push str._Extractor__Roaming_AppData_directory_detected_n
call fcn.0040a1bf
pop ecx
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x409fa5
cmp dword [ebp - 0x9c], 5
jbe 0x409f6d
push str.LOCALAPPDATA
call fcn.0041bc3b
pop ecx
mov esi, eax
push esi
push str._Extractor__Local_AppData_directory_resolved_to__s_n
call fcn.0040a1bf
pop ecx
jmp 0x409fa4
push str._Extractor__Local_AppData_directory_detected_n
call fcn.0040a1bf
jmp 0x409fa4
push str.USERPROFILE
call fcn.0041bc3b
pop ecx
push ebx
mov edi, eax
call fcn.00418ea7
pop ecx
mov esi, eax
push edi
push esi
mov byte [esi], 0
call fcn.004190d0
push str.Local_Settings
call fcn.0040a0b9
add esp, 0xc
push str.Application_Data
call fcn.0040a0b9
pop ecx
push str.Validating_directory..._n
call fcn.0040a1bf
pop ecx
push esi
push str.Shared_dir_detected_is__s_n
call fcn.0040a1bf
push esi
call fcn.00409a9e
add esp, 0xc
test eax, eax
je 0x40a02d
push esi
push str.Checking_if_string_is_cAscii__s_n
call fcn.0040a1bf
push esi
xor edi, edi
call fcn.00419030
add esp, 0xc
test eax, eax
jbe 0x409ff4
cmp byte [edi + esi], 0x80
jae 0x40a02d
push esi
inc edi
call fcn.00419030
cmp edi, eax
pop ecx
jb 0x409fe2
push esi
push str.Checking_if__s_contains_a___n
call fcn.0040a1bf
push esi
xor edi, edi
call fcn.00419030
add esp, 0xc
test eax, eax
jbe 0x40a020
cmp byte [edi + esi], 0x21
je 0x40a02d
push esi
inc edi
call fcn.00419030
cmp edi, eax
pop ecx
jb 0x40a00e
push str.Shared_directory_appears_valid._n
call fcn.0040a1bf
pop ecx
jmp 0x40a089
push esi
push str.The_directory__s_appears_invalid._n
call fcn.0040a1bf
push esi
push str.Trying_the_short_path_instead._n
call fcn.0040a1bf
push ebx
call fcn.00418ea7
add esp, 0x14
push 0x400
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x40a07b
push edi
push str.Got_short_path_of__s_n
call fcn.0040a1bf
push esi
call fcn.00409a9e
add esp, 0xc
test eax, eax
je 0x40a07b
mov eax, edi
jmp 0x40a08b
push edi
call fcn.00418dca
pop ecx
call fcn.00409d94
mov esi, eax
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418dbb
leave
ret
Function at 0x40a3e2
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [0x457db4]
push edi
push str._Windows_Subsystem__Fixing__s_n
call fcn.0040a1bf
push 0x445acc
push edi
call fcn.0041a3a4
add esp, 0x10
mov esi, eax
test esi, esi
mov byte [ebp - 4], 0x50
mov byte [ebp - 3], 0x45
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
push edi
jne 0x40a434
push str._Windows_Subsystem__Could_not_open_file__s_n
call fcn.0040a1bf
pop ecx
pop ecx
push 1
call fcn.00419ee8
push str._Windows_Subsystem__Opened__s_n
call fcn.0040a1bf
pop ecx
xor ebx, ebx
pop ecx
xor edi, edi
push esi
call fcn.0041bdad
pop ecx
push esi
mov dword [ebp - 8], eax
inc ebx
call fcn.0041c9ce
test eax, eax
pop ecx
jne 0x40a507
mov al, byte [ebp - 8]
cmp al, byte [ebp + edi - 4]
jne 0x40a46a
inc edi
jmp 0x40a46c
xor edi, edi
cmp edi, 4
jne 0x40a444
cmp ebx, 0xffffffff
mov dword [0x457e54], ebx
je 0x40a42d
lea edi, [ebx + 0x58]
push edi
push 0x58
push ebx
push str._Windows_Subsystem__Found_marker_OK_at__d___d___d__n
call fcn.0040a1bf
xor ebx, ebx
push ebx
push edi
push esi
call fcn.0041e9c0
add esp, 0x1c
push edi
push str._Windows_Subsystem__Skipped_to_relevant_spot__d_n
call fcn.0040a1bf
push esi
call fcn.0041bdad
add esp, 0xc
push eax
push str._Windows_Subsystem__Was__02X_n
call fcn.0040a1bf
push ebx
push edi
push esi
call fcn.0041e9c0
add esp, 0x14
push esi
push 2
call fcn.0041ce77
push esi
call fcn.0041a244
add esp, 0xc
push ebx
push edi
push esi
call fcn.0041e9c0
add esp, 0xc
push esi
call fcn.0041bdad
pop ecx
push eax
push str._Windows_Subsystem__Now__02X_n
call fcn.0040a1bf
push esi
call fcn.0041a244
add esp, 0xc
push esi
call fcn.0041bd31
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push str.SS_edit___PE_sig
push str.Could_not_find_marker:__s_n
jmp 0x40a426

Function at 0x40a60c
Capabilities:
Check os version
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x448504]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push str.perm_all
push esi
call fcn.0041a840
test eax, eax
pop ecx
pop ecx
jne 0x40a6ab
push str.Permanent_install_for_all_users_n
call fcn.0040a1bf
pop ecx
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x40a670
cmp dword [ebp - 0x9c], 5
jbe 0x40a670
push str.PROGRAMDATA
call fcn.0041bc3b
pop ecx
jmp 0x40a6d3
push str.ALLUSERSPROFILE
call fcn.0041bc3b
mov edi, eax
mov dword [esp], 0x1388
call fcn.00418ea7
pop ecx
mov esi, eax
push edi
push esi
mov byte [esi], 0
call fcn.004190d0
push str.Application_Data
call fcn.0040a0b9
add esp, 0xc
push esi
call fcn.0040a09a
pop ecx
jmp 0x40a6d5
push str.perm_user
push esi
call fcn.0041a840
test eax, eax
pop ecx
pop ecx
jne 0x40a6c3
push str.Permanent_install_for_current_user_n
jmp 0x40a6c8
push str.Temporary_install_n
call fcn.0040a1bf
pop ecx
call fcn.00409ed4
mov esi, eax
test esi, esi
jne 0x40a6eb
push str.ERROR:_Unable_to_get_shared_dir_
call fcn.0040a1bf
pop ecx
push 1
call fcn.00419ee8
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00418dbb
leave
ret
Function at 0x40c610
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x40c630
push 0xd0
push str.._srchashes_sha2_sha256.c
push 0x4384b8
call fcn.0040e790
add esp, 0xc
mov dword [esi + 0x2a0], 0
mov dword [esi + 0x278], 0
mov dword [esi + 0x27c], 0
mov dword [esi + 0x280], 0x6a09e667
mov dword [esi + 0x284], 0xbb67ae85
mov dword [esi + 0x288], 0x3c6ef372
mov dword [esi + 0x28c], 0xa54ff53a
mov dword [esi + 0x290], 0x510e527f
mov dword [esi + 0x294], 0x9b05688c
mov dword [esi + 0x298], 0x1f83d9ab
mov dword [esi + 0x29c], 0x5be0cd19
xor eax, eax
pop esi
ret

Function at 0x40cbb0
Capabilities:
Hash data using sha224

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x40cbcd
push 0x2a
push str.c:users_simplehelpworkspace_runner_nativelibtomlibtomcrypt_srchashes_sha2_sha224.c
push 0x4384b8
call fcn.0040e790
add esp, 0xc
mov dword [esi + 0x2a0], 0
mov dword [esi + 0x278], 0
mov dword [esi + 0x27c], 0
mov dword [esi + 0x280], 0xc1059ed8
mov dword [esi + 0x284], 0x367cd507
mov dword [esi + 0x288], 0x3070dd17
mov dword [esi + 0x28c], 0xf70e5939
mov dword [esi + 0x290], 0xffc00b31
mov dword [esi + 0x294], 0x68581511
mov dword [esi + 0x298], 0x64f98fa7
mov dword [esi + 0x29c], 0xbefa4fa4
xor eax, eax
pop esi
ret
Function at 0x418dbb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x448504]
jne 0x418dc5
repz ret
jmp fcn.0041f6a5

Function at 0x41e6de
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x41e70b
call fcn.004192dc
mov dword [eax], esi
call fcn.004192c9
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004214ff
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x41e6e7
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41e73a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004192ef
pop ecx
call fcn.004192c9
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x41e761
test al, 1
je 0x41e761
test byte [esp + 0xc], 2
je 0x41e761
call fcn.004192dc
mov dword [eax], 5
call fcn.004192c9
mov dword [eax], 0xd
jmp 0x41e731
xor eax, eax
pop esi
ret