joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406695
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [0x457da4]
cmp dword [esi], 0
push edi
jne 0x4066ae
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x40670d
push 0x4400a0
push dword [esp + 0x10]
call fcn.00419fb0
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x40670d
cmp dword [esi], 0
je 0x406706
push str._Proxy__Saved_proxy_list_n
call fcn.00409e88
pop ecx
push edi
push dword [esi]
call fcn.0041c1c4
cmp dword [esi + 4], 0
pop ecx
pop ecx
je 0x406706
push str._Proxy__Saved_proxy_bypass_list_n
call fcn.00409e88
pop ecx
push edi
push 0x443d4c
call fcn.0041c1c4
push edi
push dword [esi + 4]
call fcn.0041c1c4
add esp, 0x10
push edi
call fcn.0041b941
pop ecx
pop edi
pop esi
ret

Function at 0x406710
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov esi, ecx
mov edi, eax
call fcn.0040845b
xor esi, esi
push 0x18
mov dword [ebp - 8], eax
lea eax, [ebp - 0x30]
push esi
push eax
mov dword [edi], esi
mov dword [edi + 4], esi
call fcn.0041a150
add esp, 0xc
push 0xc
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.0041a150
add esp, 0xc
push str._Proxy__Opening_HTTP_Session_n
call fcn.00409e88
pop ecx
push esi
push esi
push esi
xor ebx, ebx
inc ebx
push ebx
push str.JWrapper_Proxy_Detector_1.0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x40684a
cmp dword [ebp + 8], esi
mov dword [ebp - 0x30], ebx
je 0x406796
push dword [ebp + 8]
mov dword [ebp - 0x30], 3
push str._Proxy__Using_auto_config_URL:__S_n
call fcn.00409e88
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
push dword [ebp - 8]
mov dword [ebp - 0x2c], 3
push str._Proxy__Attempting_to_detect_proxy_for_URL__S_n
mov dword [ebp - 0x1c], ebx
call fcn.00409e88
pop ecx
pop ecx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x406814
push str._Proxy__Configuration_found_n
call fcn.00409e88
cmp dword [ebp - 0x18], ebx
pop ecx
jne 0x4067e3
push str._Proxy__Direct_connection_used_n
call fcn.00409e88
jmp 0x406826
push dword [ebp - 0x14]
mov ebx, str._Proxy___S_n
push ebx
call fcn.00409e88
push dword [ebp - 0x10]
push ebx
call fcn.00409e88
push dword [ebp - 0x14]
call fcn.0040849b
add esp, 0x14
push dword [ebp - 0x10]
mov dword [edi], eax
call fcn.0040849b
mov dword [edi + 4], eax
jmp 0x406826
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._Proxy__Configuration_NOT_found___d__n
call fcn.00409e88
pop ecx
cmp dword [ebp - 0x14], esi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ecx
je 0x406837
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0x10], esi
je 0x406841
push dword [ebp - 0x10]
call edi
push dword [ebp - 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 8]
call fcn.00418a6a
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4072b8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc3b8
call fcn.0041ef20
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.00409e88
pop ecx
call fcn.0041c463
add eax, 0x20
push eax
call fcn.00419e50
xor ebx, ebx
cmp dword [edi], ebx
pop ecx
mov byte [ebp - 0xc358], bl
mov dword [ebp - 0xc35c], ebx
je 0x407345
mov esi, edi
lea eax, [ebp - 0xc358]
push 0x43fb48
push eax
call fcn.00418d70
push dword [esi]
lea eax, [ebp - 0xc358]
push eax
call fcn.00418d70
lea eax, [ebp - 0xc358]
push 0x4449ac
push eax
call fcn.00418d70
add esp, 0x18
inc dword [ebp - 0xc35c]
mov eax, dword [ebp - 0xc35c]
lea esi, [edi + eax*4]
cmp dword [esi], ebx
jne 0x4072ff
lea eax, [ebp - 0xc358]
push eax
push str._Spawner__Creating_command_line__s_n
call fcn.00409e88
call fcn.0041c463
add eax, 0x20
push eax
call fcn.00419e50
add esp, 0xc
push 0x44
lea eax, [ebp - 0xc3b8]
push ebx
push eax
call fcn.0041a150
add esp, 0xc
push 0x10
lea eax, [ebp - 0xc370]
push ebx
push eax
call fcn.0041a150
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 0x4073d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed___d_._n
call fcn.00409e88
call fcn.0041c463
add eax, 0x20
push eax
call fcn.00419e50
add esp, 0xc
or eax, 0xffffffff
jmp 0x407428
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.00409e88
mov eax, dword [ebp - 0xc360]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00418a5b
leave
ret
Function at 0x407436
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc3b8
call fcn.0041ef20
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.00409e88
pop ecx
call fcn.0041c463
add eax, 0x20
push eax
call fcn.00419e50
cmp dword [edi], ebx
pop ecx
mov dword [ebp - 0xc35c], ebx
je 0x4074c3
mov esi, edi
lea eax, [ebp - 0xc358]
push 0x43fb48
push eax
call fcn.00418d70
push dword [esi]
lea eax, [ebp - 0xc358]
push eax
call fcn.00418d70
lea eax, [ebp - 0xc358]
push 0x4449ac
push eax
call fcn.00418d70
add esp, 0x18
inc dword [ebp - 0xc35c]
mov eax, dword [ebp - 0xc35c]
lea esi, [edi + eax*4]
cmp dword [esi], ebx
jne 0x40747d
lea eax, [ebp - 0xc358]
push eax
push str._Spawner__Executing_command__s_n
call fcn.00409e88
call fcn.0041c463
add eax, 0x20
push eax
call fcn.00419e50
add esp, 0xc
push 0x44
lea eax, [ebp - 0xc3b8]
push ebx
push eax
call fcn.0041a150
add esp, 0xc
push 0x10
lea eax, [ebp - 0xc36c]
push ebx
push eax
call fcn.0041a150
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 0x407557
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed___d_._n
call fcn.00409e88
call fcn.0041c463
add eax, 0x20
push eax
call fcn.00419e50
add esp, 0xc
or eax, 0xffffffff
jmp 0x407589
push str._Spawner__Create_process_seems_to_have_worked_n
call fcn.00409e88
pop ecx
call fcn.0041c463
add eax, 0x20
push eax
call fcn.00419e50
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.00418a5b
leave
ret

Function at 0x407700
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
cmp dword [0x449c20], esi
push esi
jne 0x40775e
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0x449c24
push esi
push 0x449c20
push 0x407813
push esi
push esi
mov dword [0x449c28], eax
call fcn.0041bc2a
add esp, 0x18
push 0x1388
push dword [0x449c28]
mov dword [0x449c20], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40776e
push str.Error_starting_SplashThread_n
call fcn.00409e88
pop ecx
pop esi
ret
push 2
push 6
push dword [0x449c24]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
pop esi
ret
Function at 0x40823b
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.00406901
push dword [ebp + 0xc]
mov edi, eax
push ebx
push str._Streamer__Downloading_from__s_into__s_n
call fcn.00409e88
add esp, 0x14
push 0xc
push 1
call fcn.0041c424
mov esi, eax
push 0xc
push 1
mov dword [esi], ebx
mov dword [esi + 4], edi
call fcn.0041c424
push 0x4400a0
push dword [ebp + 0xc]
mov ebx, eax
mov dword [ebx + 4], edi
call fcn.00419fb0
add esp, 0x18
xor edi, edi
push edi
push edi
push esi
push 0x408079
push edi
push edi
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push ebx
push 0x40811c
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 0x4082e1
cmp dword [ebx + 8], edi
jne 0x4082e1
xor eax, eax
inc eax
jmp 0x4082e3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4082e8
Capabilities:
Create thread

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

Function at 0x408322
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0xc
call fcn.00418b47
mov esi, 0x19000
push esi
push 1
mov dword [ebp - 4], eax
call fcn.00406901
mov edi, eax
push esi
push 2
mov dword [ebp - 0xc], edi
call fcn.00406901
push 0xc
push 1
mov dword [ebp - 8], eax
call fcn.0041c424
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.0041c424
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 0x408079
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 0x4080b3
push edi
push edi
mov dword [ecx], eax
call esi
mov ecx, dword [ebp - 4]
push edi
push edi
push ebx
push 0x4080e8
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.0040695f
mov esi, dword [ebp - 8]
call fcn.0040695f
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], edi
jne 0x4083ec
cmp dword [ebx + 0xc], edi
jne 0x4083ec
xor eax, eax
inc eax
jmp 0x4083ee
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4083f3
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
push 0xc
call fcn.00418b47
mov dword [esp], 0x19000
push 5
mov edi, eax
call fcn.00406901
push 0x10
push 1
mov ebx, eax
call fcn.0041c424
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 0x4080b3
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 0x4080e8
push eax
push eax
call ebx
mov dword [edi + 4], eax
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x408d7e
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.00409e88
call fcn.0041c463
add eax, 0x20
push eax
call fcn.00419e50
or dword [esp + 0x34], 0xffffffff
xor ebx, ebx
push 0x438710
mov dword [esp + 0x30], ebx
call fcn.0040d350
add esp, 0x10
cmp eax, 0xffffffff
mov esi, str.mixed
je 0x408e17
push 0x438360
call fcn.0040d350
cmp eax, 0xffffffff
pop ecx
je 0x408e17
push 0x438628
call fcn.0040d350
cmp eax, 0xffffffff
pop ecx
je 0x408e17
push esi
call fcn.0040d460
imul eax, eax, 0x68
lea ecx, [esp + 0x44]
push ecx
call dword [eax + 0x449dbc]
pop ecx
jmp 0x408e21
push str.WARNING:_Error_registering_mixed_hash
call fcn.00418c0a
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.00418b47
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.004087e3
add esp, 0x1c
test eax, eax
je 0x408e3f
cmp dword [esp + 0x28], 0xffffffff
je 0x408ee9
push str._Unarchiver__Verifying_signature_n
call fcn.00409e88
push esi
call fcn.0040d460
push 0x40
mov esi, eax
call fcn.00418b47
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.00418cd0
mov edi, eax
shr edi, 1
inc edi
inc edi
push edi
call fcn.00418b47
push dword [esp + 0x3c]
mov ebx, eax
push edi
push ebx
call fcn.004095a9
mov edi, eax
push edi
push str._Unarchiver__Produced_a_signature_of_length__d_n
call fcn.00409e88
push esi
push edi
push ebx
call fcn.00401029
add esp, 0x3c
test al, al
je 0x408f10
push str._Unarchiver__Archive_signature_verified._n
call fcn.00409e88
pop ecx
push dword [esp + 0x24]
push str._Unarchiver___END__Extracting_archive__s_n
call fcn.00409e88
pop ecx
pop ecx
mov ecx, dword [esp + 0x7dc]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00418a5b
mov esp, ebp
pop ebp
ret
mov esi, 0x445008
push esi
call fcn.00409e88
mov dword [esp], str._Unarchiver__ERROR___unable_to_verify_signature_of_hash_of_archive._n
call fcn.00409e88
mov dword [esp], str._Unarchiver__JWrapper_will_disregard_this_update._n
call fcn.00409e88
push dword [esp + 0x28]
call fcn.004095fc
push esi
call fcn.00409e88
add esp, 0xc
push 1
call fcn.00419b88
int3
Function at 0x4091cf
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2724
call fcn.0041ef20
mov eax, dword [0x448504]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.kernel32
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.SetDllDirectoryA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x271c], eax
lea eax, [ebp - 0x2718]
push esi
push eax
mov byte [ebp - 0x2718], 0
call fcn.00418d70
push 0x43fc7c
lea esi, [ebp - 0x2718]
call fcn.00409d82
add esp, 0xc
mov eax, esi
push eax
push str._JNILaunch__Bin_folder_is__s_n
call fcn.00409e88
mov esi, 0x7d0
push esi
call fcn.00418b47
add esp, 0xc
push eax
push esi
mov dword [ebp - 0x2724], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x2718]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp dword [ebp - 0x271c], 0
je 0x40927b
lea eax, [ebp - 0x2718]
push eax
call dword [ebp - 0x271c]
mov edi, str.jvm.dll
push edi
mov ebx, str.server
push ebx
lea eax, [ebp - 0x1390]
mov byte [ebp - 0x1390], 0
call fcn.00409e01
pop ecx
pop ecx
lea esi, [ebp - 0x1390]
call fcn.0040972d
test eax, eax
mov eax, esi
jne 0x4092c4
push edi
push str.client
call fcn.00409e01
pop ecx
pop ecx
call fcn.0040972d
test eax, eax
je 0x4092d1
mov eax, esi
push eax
push str._Utils__Located_DLL___s__n
call fcn.00409e88
pop ecx
pop ecx
push edi
lea eax, [ebp - 0x2718]
push ebx
push eax
lea eax, [ebp - 0x1390]
call fcn.00409e1f
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0xc
lea eax, [ebp - 0x1390]
push eax
call esi
test eax, eax
mov dword [ebp - 0x2720], eax
jne 0x40933f
push str.LoadLibrary
mov ebx, str.Utils
push ebx
call fcn.0040915b
push edi
lea eax, [ebp - 0x2718]
push str.client
push eax
lea eax, [ebp - 0x1390]
call fcn.00409e1f
add esp, 0x14
lea eax, [ebp - 0x1390]
push eax
call esi
test eax, eax
mov dword [ebp - 0x2720], eax
je 0x409354
lea eax, [ebp - 0x1390]
push eax
push str._Extractor__Successfully_loaded_DLL___s_._JVM_looks_good._n
call fcn.00409e88
pop ecx
pop ecx
jmp 0x40936c
push str.LoadLibrary
push ebx
call fcn.0040915b
push str._Extractor___SEVERE__Unable_to_load_existing_JVM_dll._n
call fcn.00409e88
add esp, 0xc
cmp dword [ebp - 0x271c], 0
je 0x40937d
push 0
call dword [ebp - 0x271c]
push dword [ebp - 0x2724]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x2720]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418a5b
leave
ret
Function at 0x409789
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 0x409928
push str._Utils__Converted_SID_for_USERS_n
call fcn.00409e88
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 0x409800
push eax
push str.GetNamedSecurityInfo_Error__u_n
call fcn.00409e88
cmp dword [ebp - 4], edi
pop ecx
pop ecx
je 0x409933
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x409933
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 0x409845
push eax
push str.GetExplicitEntriesFromAcl_failed__u_n
call fcn.00409e88
cmp dword [ebp - 4], edi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
pop ecx
pop ecx
je 0x409832
push dword [ebp - 4]
call esi
cmp dword [ebp - 0xc], edi
je 0x409933
push dword [ebp - 0xc]
call esi
jmp 0x409933
push dword [ebp - 8]
push str._Utils__Got__u_ACEs_for_folder_n
call fcn.00409e88
mov esi, dword [ebp - 8]
dec esi
cmp esi, edi
pop ecx
pop ecx
mov dword [ebp - 0x14], esi
jl 0x4098f2
mov ebx, esi
shl ebx, 5
mov eax, dword [ebp - 0x10]
cmp dword [ebx + eax + 0x14], edi
push esi
jne 0x4098d7
push str._Utils__Trustee__u_is_SID_n
call fcn.00409e88
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 0x4098e3
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.00409e88
mov eax, dword [ebp - 8]
add esp, 0xc
dec eax
cmp esi, eax
mov edx, esi
jae 0x4098d2
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 0x4098b3
mov esi, dword [ebp - 0x14]
xor edi, edi
dec dword [ebp - 8]
jmp 0x4098e3
push str._Utils__Unknown_trustee_at__u_n
call fcn.00409e88
pop ecx
pop ecx
dec esi
sub ebx, 0x20
cmp esi, edi
mov dword [ebp - 0x14], esi
jge 0x409868
push dword [ebp - 8]
push str._Utils__Trimmed_ACE_size_is__u_n
call fcn.00409e88
cmp dword [ebp - 4], edi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
pop ecx
pop ecx
je 0x409911
push dword [ebp - 4]
call esi
cmp dword [ebp - 0xc], edi
je 0x40991b
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 0x409935
push str._Utils__Unable_to_convert_SID_n
call fcn.00409e88
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409a5d
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.0041b84b
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.00418cd0
mov ebx, eax
xor edi, edi
test ebx, ebx
pop ecx
mov esi, 0x811c9dc5
jle 0x409adf
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.00409e88
add esp, 0x10
inc edi
cmp edi, ebx
jl 0x409ab6
test esi, esi
jge 0x409ae5
neg esi
push 0x64
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.0041a150
add esp, 0xc
push esi
lea eax, [ebp - 0xd8]
push 0x440e80
push eax
call fcn.0041980d
lea eax, [ebp - 0x70]
add esp, 0xc
push eax
xor esi, esi
call fcn.00418cd0
test eax, eax
pop ecx
jbe 0x409b38
lea eax, [ebp + esi - 0x70]
cmp byte [eax], 0x80
jb 0x409b29
mov byte [eax], 0x5f
lea eax, [ebp - 0x70]
push eax
inc esi
call fcn.00418cd0
cmp esi, eax
pop ecx
jb 0x409b1d
push 0x1388
call fcn.00418b47
pop ecx
push dword [ebp - 0xdc]
mov esi, eax
push esi
mov byte [esi], 0
call fcn.00418d70
push str.JWUser_
call fcn.00409d82
add esp, 0xc
lea eax, [ebp - 0xd8]
push eax
push esi
call fcn.00418d70
push 0x4402d0
push esi
call fcn.00418d70
lea eax, [ebp - 0x70]
push eax
push esi
call fcn.00418d70
push esi
call fcn.00409d63
mov ecx, dword [ebp - 4]
add esp, 0x1c
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418a5b
leave
ret
Function at 0x409b9d
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.0041b84b
mov esi, eax
test esi, esi
pop ecx
mov ebx, 0x1388
je 0x409c2a
push esi
call fcn.00418cd0
cmp eax, 2
pop ecx
jbe 0x409c2a
cmp byte [esi], 0x5c
jne 0x409c2a
cmp byte [esi + 1], 0x5c
jne 0x409c2a
push str._Extractor__Roaming_AppData_directory_detected_n
call fcn.00409e88
pop ecx
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x409c6e
cmp dword [ebp - 0x9c], 5
jbe 0x409c36
push str.LOCALAPPDATA
call fcn.0041b84b
pop ecx
mov esi, eax
push esi
push str._Extractor__Local_AppData_directory_resolved_to__s_n
call fcn.00409e88
pop ecx
jmp 0x409c6d
push str._Extractor__Local_AppData_directory_detected_n
call fcn.00409e88
jmp 0x409c6d
push str.USERPROFILE
call fcn.0041b84b
pop ecx
push ebx
mov edi, eax
call fcn.00418b47
pop ecx
mov esi, eax
push edi
push esi
mov byte [esi], 0
call fcn.00418d70
push str.Local_Settings
call fcn.00409d82
add esp, 0xc
push str.Application_Data
call fcn.00409d82
pop ecx
push str.Validating_directory..._n
call fcn.00409e88
pop ecx
push esi
push str.Shared_dir_detected_is__s_n
call fcn.00409e88
push esi
call fcn.00409767
add esp, 0xc
test eax, eax
je 0x409cf6
push esi
push str.Checking_if_string_is_cAscii__s_n
call fcn.00409e88
push esi
xor edi, edi
call fcn.00418cd0
add esp, 0xc
test eax, eax
jbe 0x409cbd
cmp byte [edi + esi], 0x80
jae 0x409cf6
push esi
inc edi
call fcn.00418cd0
cmp edi, eax
pop ecx
jb 0x409cab
push esi
push str.Checking_if__s_contains_a___n
call fcn.00409e88
push esi
xor edi, edi
call fcn.00418cd0
add esp, 0xc
test eax, eax
jbe 0x409ce9
cmp byte [edi + esi], 0x21
je 0x409cf6
push esi
inc edi
call fcn.00418cd0
cmp edi, eax
pop ecx
jb 0x409cd7
push str.Shared_directory_appears_valid._n
call fcn.00409e88
pop ecx
jmp 0x409d52
push esi
push str.The_directory__s_appears_invalid._n
call fcn.00409e88
push esi
push str.Trying_the_short_path_instead._n
call fcn.00409e88
push ebx
call fcn.00418b47
add esp, 0x14
push 0x400
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x409d44
push edi
push str.Got_short_path_of__s_n
call fcn.00409e88
push esi
call fcn.00409767
add esp, 0xc
test eax, eax
je 0x409d44
mov eax, edi
jmp 0x409d54
push edi
call fcn.00418a6a
pop ecx
call fcn.00409a5d
mov esi, eax
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418a5b
leave
ret