joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405b3b
Capabilities:
Terminate thread

Disassembly:
cmp dword [0x436c64], 0
je 0x404f19
push 0
push 0
push 0x12
push dword [0x436c68]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push 0x2328
push dword [0x436c64]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x404f01
push 0x8ae
push dword [0x436c64]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
push dword [0x436c64]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [0x436c6c]
call esi
pop esi
and dword [0x436c64], 0
ret
call fcn.0040121b
test al, al
je 0x405b49
jmp 0x406cdc
jmp 0x404ebd
cmp dword [0x436c20], 0
je 0x406d38
push 0
push 0
push 0x12
push dword [0x436c24]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push 0x2328
push dword [0x436c20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x406d20
push 0x8ae
push dword [0x436c20]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
push dword [0x436c20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [0x436c28]
call esi
pop esi
and dword [0x436c20], 0
ret

Function at 0x405e5a
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push 0x24
call fcn.00416a80
mov ebx, dword [sym.imp.KERNEL32.dll_CreateMutexA]
pop ecx
xor edi, edi
push edi
push edi
push edi
mov esi, eax
call ebx
push edi
push edi
push edi
mov dword [esi], eax
call ebx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
push eax
mov dword [esi + 8], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0xc], edi
call fcn.0040667d
pop ecx
push edi
push edi
push 1
push edi
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0xffffffffffffffff
push dword [esi]
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [ebp - 0x28]
push eax
push edi
push esi
push 0x405df6
push edi
push edi
call ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
push edi
push esi
push 0x405c15
push edi
push edi
call ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
push edi
push esi
push 0x405c8e
push edi
push edi
call ebx
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
push eax
push edi
push esi
push 0x405d2f
push edi
push edi
call ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
push edi
push esi
push 0x405d92
push edi
push edi
call ebx
push 5
pop ebx
push dword [esi]
mov dword [ebp - 4], eax
mov dword [esi + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0xffffffffffffffff
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 8]
push str._HttpDownloader__Download_Tasks_Complete___success_d__n
call fcn.00407f5c
pop ecx
pop ecx
push dword [ebp + edi*4 - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, ebx
jl 0x405f43
mov eax, dword [esi + 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405f71
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2728
call fcn.0041bf60
mov eax, dword [0x435504]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push str.kernel32
mov dword [ebp - 0x2728], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.SetDllDirectoryA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2720], eax
lea eax, [ebp - 0x271c]
push ebx
push eax
mov byte [ebp - 0x271c], 0
call fcn.00416cb0
mov edi, 0x42e6c8
push edi
lea esi, [ebp - 0x271c]
call fcn.00407eda
add esp, 0xc
mov eax, esi
push eax
push str._JNILaunch__Bin_folder_is__s_n
call fcn.00407f5c
mov esi, 0x7d0
push esi
call fcn.00416a80
add esp, 0xc
push eax
push esi
mov dword [ebp - 0x2724], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x271c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp dword [ebp - 0x2720], 0
je 0x406025
lea eax, [ebp - 0x271c]
push eax
call dword [ebp - 0x2720]
lea eax, [ebp - 0x1394]
push ebx
push eax
mov byte [ebp - 0x1394], 0
call fcn.00416cb0
push edi
lea esi, [ebp - 0x1394]
call fcn.00407eda
add esp, 0xc
push str.server
call fcn.00407eda
mov dword [esp], str.jvm.dll
call fcn.00407eda
pop ecx
mov eax, esi
push eax
call fcn.00407b61
pop ecx
push eax
mov eax, esi
push eax
push str._JNILaunch__Trying_to_load_library__s__exists_d__n
call fcn.00407f5c
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0xc
mov eax, esi
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x406105
push str._JNILaunch__Unable_to_load_library._Will_attempt_fallback._n
call fcn.00407f5c
pop ecx
push dword [ebp - 0x2728]
lea eax, [ebp - 0x1394]
push eax
mov byte [ebp - 0x1394], 0
call fcn.00416cb0
push edi
lea esi, [ebp - 0x1394]
call fcn.00407eda
add esp, 0xc
push str.client
call fcn.00407eda
mov dword [esp], str.jvm.dll
call fcn.00407eda
pop ecx
mov eax, esi
push eax
call fcn.00407b61
pop ecx
push eax
mov eax, esi
push eax
push str._JNILaunch__Trying_to_load_library__s__exists_d__n
call fcn.00407f5c
add esp, 0xc
mov eax, esi
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x406105
push str._JNILaunch__Unable_to_load_second_library._n
call fcn.00407f5c
jmp 0x406117
lea eax, [ebp - 0x1394]
push eax
push str._JNILauncher__Loaded_Windows_DLL____s_n
call fcn.00407f5c
pop ecx
cmp dword [ebp - 0x2720], 0
pop ecx
je 0x406129
push 0
call dword [ebp - 0x2720]
push dword [ebp - 0x2724]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [ebp - 8]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416994
leave
ret
Function at 0x4064dd
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [0x444da4]
cmp dword [esi], 0
jne 0x4064f5
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret
push edi
push 0x42eb60
push dword [esp + 0x10]
call fcn.00418609
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x40653f
mov eax, dword [esi]
test eax, eax
je 0x406538
push edi
push eax
call fcn.0041aad4
cmp dword [esi + 4], 0
pop ecx
pop ecx
je 0x406538
push edi
push 0x43281c
call fcn.0041aad4
push edi
push dword [esi + 4]
call fcn.0041aad4
add esp, 0x10
push edi
call fcn.0041a385
pop ecx
pop edi
pop esi
ret

Function at 0x406542
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.004075d2
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.00418920
add esp, 0xc
push 0xc
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00418920
add esp, 0xc
push str._Proxy__Opening_HTTP_Session_n
call fcn.00407f5c
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 0x40666f
cmp dword [ebp + 8], esi
mov dword [ebp - 0x30], ebx
je 0x4065c8
push dword [ebp + 8]
mov dword [ebp - 0x30], 3
push str._Proxy__Using_auto_config_URL:__S_n
call fcn.00407f5c
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.00407f5c
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 0x406641
push str._Proxy__Configuration_found_n
call fcn.00407f5c
cmp dword [ebp - 0x18], ebx
pop ecx
jne 0x406610
push str._Proxy__Direct_connection_used_n
jmp 0x406646
push dword [ebp - 0x14]
mov ebx, str._Proxy___S_n
push ebx
call fcn.00407f5c
push dword [ebp - 0x10]
push ebx
call fcn.00407f5c
push dword [ebp - 0x14]
call fcn.00407612
add esp, 0x14
push dword [ebp - 0x10]
mov dword [edi], eax
call fcn.00407612
mov dword [edi + 4], eax
jmp 0x40664b
push str._Proxy__Configuration_NOT_found_n
call fcn.00407f5c
cmp dword [ebp - 0x14], esi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ecx
je 0x40665c
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0x10], esi
je 0x406666
push dword [ebp - 0x10]
call edi
push dword [ebp - 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 8]
call fcn.004169a3
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406811
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc3b8
call fcn.0041bf60
mov eax, dword [0x435504]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push str._Spawner__Constructing_command_line..._n
call fcn.00407f5c
pop ecx
call fcn.0041ac45
add eax, 0x20
push eax
call fcn.00418372
xor ebx, ebx
cmp dword [edi], ebx
pop ecx
mov byte [ebp - 0xc358], bl
mov dword [ebp - 0xc35c], ebx
je 0x40689e
mov esi, edi
lea eax, [ebp - 0xc358]
push 0x42e6c4
push eax
call fcn.00416cb0
push dword [esi]
lea eax, [ebp - 0xc358]
push eax
call fcn.00416cb0
lea eax, [ebp - 0xc358]
push 0x432a88
push eax
call fcn.00416cb0
add esp, 0x18
inc dword [ebp - 0xc35c]
mov eax, dword [ebp - 0xc35c]
lea esi, [edi + eax*4]
cmp dword [esi], ebx
jne 0x406858
lea eax, [ebp - 0xc358]
push eax
push str._Spawner__Creating_command_line__s_n
call fcn.00407f5c
call fcn.0041ac45
add eax, 0x20
push eax
call fcn.00418372
add esp, 0xc
push 0x44
lea eax, [ebp - 0xc3b8]
push ebx
push eax
call fcn.00418920
add esp, 0xc
push 0x10
lea eax, [ebp - 0xc370]
push ebx
push eax
call fcn.00418920
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 0x406932
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed___d_._n
call fcn.00407f5c
call fcn.0041ac45
add eax, 0x20
push eax
call fcn.00418372
add esp, 0xc
or eax, 0xffffffff
jmp 0x406981
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.00407f5c
mov eax, dword [ebp - 0xc360]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00416994
leave
ret
Function at 0x40698f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc3b8
call fcn.0041bf60
mov eax, dword [0x435504]
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.00407f5c
pop ecx
call fcn.0041ac45
add eax, 0x20
push eax
call fcn.00418372
cmp dword [edi], ebx
pop ecx
mov dword [ebp - 0xc35c], ebx
je 0x406a1c
mov esi, edi
lea eax, [ebp - 0xc358]
push 0x42e6c4
push eax
call fcn.00416cb0
push dword [esi]
lea eax, [ebp - 0xc358]
push eax
call fcn.00416cb0
lea eax, [ebp - 0xc358]
push 0x432a88
push eax
call fcn.00416cb0
add esp, 0x18
inc dword [ebp - 0xc35c]
mov eax, dword [ebp - 0xc35c]
lea esi, [edi + eax*4]
cmp dword [esi], ebx
jne 0x4069d6
lea eax, [ebp - 0xc358]
push eax
push str._Spawner__Executing_command__s_n
call fcn.00407f5c
call fcn.0041ac45
add eax, 0x20
push eax
call fcn.00418372
add esp, 0xc
push 0x44
lea eax, [ebp - 0xc3b8]
push ebx
push eax
call fcn.00418920
add esp, 0xc
push 0x10
lea eax, [ebp - 0xc36c]
push ebx
push eax
call fcn.00418920
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 0x406ab0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed___d_._n
call fcn.00407f5c
call fcn.0041ac45
add eax, 0x20
push eax
call fcn.00418372
add esp, 0xc
or eax, 0xffffffff
jmp 0x406ae2
push str._Spawner__Create_process_seems_to_have_worked_n
call fcn.00407f5c
pop ecx
call fcn.0041ac45
add eax, 0x20
push eax
call fcn.00418372
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.00416994
leave
ret

Function at 0x406c59
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
cmp dword [0x436c20], esi
push esi
jne 0x406cb7
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0x436c24
push esi
push 0x436c20
push 0x406d6c
push esi
push esi
mov dword [0x436c28], eax
call fcn.0041a537
add esp, 0x18
push 0x1388
push dword [0x436c28]
mov dword [0x436c20], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x406cc7
push str.Error_starting_SplashThread_n
call fcn.00407f5c
pop ecx
pop esi
ret
push 2
push 6
push dword [0x436c24]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
pop esi
ret
Function at 0x407bb5
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 [0x435504]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.ALLUSERSPROFILE
call fcn.0041a1a9
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.00416c10
mov ebx, eax
xor edi, edi
test ebx, ebx
pop ecx
mov esi, 0x811c9dc5
jle 0x407c37
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.00407f5c
add esp, 0x10
inc edi
cmp edi, ebx
jl 0x407c0e
test esi, esi
jge 0x407c3d
neg esi
push 0x64
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.00418920
add esp, 0xc
push esi
lea eax, [ebp - 0xd8]
push 0x432d24
push eax
call fcn.004176b2
lea eax, [ebp - 0x70]
add esp, 0xc
push eax
xor esi, esi
call fcn.00416c10
test eax, eax
pop ecx
jbe 0x407c90
lea eax, [ebp + esi - 0x70]
cmp byte [eax], 0x80
jb 0x407c81
mov byte [eax], 0x5f
lea eax, [ebp - 0x70]
push eax
inc esi
call fcn.00416c10
cmp esi, eax
pop ecx
jb 0x407c75
push 0x1388
call fcn.00416a80
pop ecx
push dword [ebp - 0xdc]
mov esi, eax
push esi
mov byte [esi], 0
call fcn.00416cb0
push str.JWUser_
call fcn.00407eda
add esp, 0xc
lea eax, [ebp - 0xd8]
push eax
push esi
call fcn.00416cb0
push 0x42ed9c
push esi
call fcn.00416cb0
lea eax, [ebp - 0x70]
push eax
push esi
call fcn.00416cb0
push esi
call fcn.00407ebb
mov ecx, dword [ebp - 4]
add esp, 0x1c
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416994
leave
ret
Function at 0x407cf5
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x435504]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.APPDATA
mov dword [ebp - 0xa0], 0x94
call fcn.0041a1a9
mov esi, eax
test esi, esi
pop ecx
mov ebx, 0x1388
je 0x407d82
push esi
call fcn.00416c10
cmp eax, 2
pop ecx
jbe 0x407d82
cmp byte [esi], 0x5c
jne 0x407d82
cmp byte [esi + 1], 0x5c
jne 0x407d82
push str._Extractor__Roaming_AppData_directory_detected_n
call fcn.00407f5c
pop ecx
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x407dc6
cmp dword [ebp - 0x9c], 5
jbe 0x407d8e
push str.LOCALAPPDATA
call fcn.0041a1a9
pop ecx
mov esi, eax
push esi
push str._Extractor__Local_AppData_directory_resolved_to__s_n
call fcn.00407f5c
pop ecx
jmp 0x407dc5
push str._Extractor__Local_AppData_directory_detected_n
call fcn.00407f5c
jmp 0x407dc5
push str.USERPROFILE
call fcn.0041a1a9
pop ecx
push ebx
mov edi, eax
call fcn.00416a80
pop ecx
mov esi, eax
push edi
push esi
mov byte [esi], 0
call fcn.00416cb0
push str.Local_Settings
call fcn.00407eda
add esp, 0xc
push str.Application_Data
call fcn.00407eda
pop ecx
push str.Validating_directory...
call fcn.00407f5c
pop ecx
push esi
push str.Shared_dir_detected_is__s_n
call fcn.00407f5c
push esi
call fcn.00407b93
add esp, 0xc
test eax, eax
je 0x407e4e
push esi
push str.Checking_if_string_is_cAscii__s_n
call fcn.00407f5c
push esi
xor edi, edi
call fcn.00416c10
add esp, 0xc
test eax, eax
jbe 0x407e15
cmp byte [edi + esi], 0x80
jae 0x407e4e
push esi
inc edi
call fcn.00416c10
cmp edi, eax
pop ecx
jb 0x407e03
push esi
push str.Checking_if__s_contains_a___n
call fcn.00407f5c
push esi
xor edi, edi
call fcn.00416c10
add esp, 0xc
test eax, eax
jbe 0x407e41
cmp byte [edi + esi], 0x21
je 0x407e4e
push esi
inc edi
call fcn.00416c10
cmp edi, eax
pop ecx
jb 0x407e2f
push str.Shared_directory_appears_valid.
call fcn.00407f5c
pop ecx
jmp 0x407eaa
push esi
push str.The_directory__s_appears_invalid._n
call fcn.00407f5c
push esi
push str.Trying_the_short_path_instead._n
call fcn.00407f5c
push ebx
call fcn.00416a80
add esp, 0x14
push 0x400
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x407e9c
push edi
push str.Got_short_path_of__s_n
call fcn.00407f5c
push esi
call fcn.00407b93
add esp, 0xc
test eax, eax
je 0x407e9c
mov eax, edi
jmp 0x407eac
push edi
call fcn.004169a3
pop ecx
call fcn.00407bb5
mov esi, eax
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416994
leave
ret
Function at 0x4082ad
Capabilities:
Check os version
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x435504]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push str.perm_all
push esi
call fcn.00418c20
test eax, eax
pop ecx
pop ecx
jne 0x40834c
push str.Permanent_install_for_all_users_n
call fcn.00407f5c
pop ecx
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x408311
cmp dword [ebp - 0x9c], 5
jbe 0x408311
push str.PROGRAMDATA
call fcn.0041a1a9
pop ecx
jmp 0x408374
push str.ALLUSERSPROFILE
call fcn.0041a1a9
mov edi, eax
mov dword [esp], 0x1388
call fcn.00416a80
pop ecx
mov esi, eax
push edi
push esi
mov byte [esi], 0
call fcn.00416cb0
push str.Application_Data
call fcn.00407eda
add esp, 0xc
push esi
call fcn.00407ebb
pop ecx
jmp 0x408376
push str.perm_user
push esi
call fcn.00418c20
test eax, eax
pop ecx
pop ecx
jne 0x408364
push str.Permanent_install_for_current_user_n
jmp 0x408369
push str.Temporary_install_n
call fcn.00407f5c
pop ecx
call fcn.00407cf5
mov esi, eax
test esi, esi
jne 0x40838c
push str.ERROR:_Unable_to_get_shared_dir_
call fcn.00407f5c
pop ecx
push 1
call fcn.00417a4d
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00416994
leave
ret
Function at 0x40a1f0
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x40a210
push 0xd0
push str.._srchashes_sha2_sha256.c
push 0x42b488
call fcn.0040c370
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 0x40a790
Capabilities:
Hash data using sha224

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x40a7ad
push 0x2a
push str.c:users_simplehelpworkspace_runner_nativelibtomlibtomcrypt_srchashes_sha2_sha224.c
push 0x42b488
call fcn.0040c370
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 0x416994
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x435504]
jne 0x41699e
repz ret
jmp fcn.0041bf8b

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

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x41b30f
call fcn.00416ebc
mov dword [eax], esi
call fcn.00416ea9
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0041ddef
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x41b2eb
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41b33e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00416ecf
pop ecx
call fcn.00416ea9
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x41b365
test al, 1
je 0x41b365
test byte [esp + 0xc], 2
je 0x41b365
call fcn.00416ebc
mov dword [eax], 5
call fcn.00416ea9
mov dword [eax], 0xd
jmp 0x41b335
xor eax, eax
pop esi
ret
Function at 0x424b05
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0041de76
xor ebx, ebx
cmp dword [0x4389e8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x424bda
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x424b45
xor eax, eax
jmp 0x424c9e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x424b3e
push eax
call fcn.0041de13
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4389e8], eax
call esi
push eax
call fcn.0041de13
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4389ec], eax
call esi
push eax
call fcn.0041de13
mov dword [0x4389f0], eax
lea eax, [ebp - 8]
push eax
call fcn.0041783e
test eax, eax
pop ecx
pop ecx
je 0x424ba8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041dcf3
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x424bda
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0041de13
cmp eax, ebx
pop ecx
mov dword [0x4389f8], eax
je 0x424bda
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041de13
pop ecx
mov dword [0x4389f4], eax
mov eax, dword [0x4389f4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x424c53
cmp dword [0x4389f8], esi
je 0x424c53
push eax
call fcn.0041de7f
pop ecx
call eax
cmp eax, ebx
je 0x424c20
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4389f8]
call fcn.0041de7f
pop ecx
call eax
test eax, eax
je 0x424c20
test byte [ebp - 0x18], 1
jne 0x424c53
lea eax, [ebp - 0xc]
push eax
call fcn.004178b1
test eax, eax
pop ecx
je 0x424c3b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041dcf3
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x424c4a
or dword [ebp + 0x10], 0x200000
jmp 0x424c84
or dword [ebp + 0x10], 0x40000
jmp 0x424c84
mov eax, dword [0x4389ec]
cmp eax, esi
je 0x424c84
push eax
call fcn.0041de7f
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x424c84
mov eax, dword [0x4389f0]
cmp eax, esi
je 0x424c84
push dword [ebp - 4]
push eax
call fcn.0041de7f
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4389e8]
call fcn.0041de7f
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret