joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405c7b
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2728
call fcn.0041cdb0
mov eax, dword [0x445504]
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 - 0x2724], 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.004183e0
mov edi, 0x43da84
push edi
lea esi, [ebp - 0x271c]
call fcn.00409439
add esp, 0xc
mov eax, esi
push eax
push str._JNILaunch__Bin_folder_is__s_n
call fcn.00409516
mov esi, 0x7d0
push esi
call fcn.004181b0
add esp, 0xc
push eax
push esi
mov dword [ebp - 0x2728], 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 0x405d2f
lea eax, [ebp - 0x271c]
push eax
call dword [ebp - 0x2720]
push str.jvm.dll
push str.server
push edi
push ebx
lea eax, [ebp - 0x1394]
mov byte [ebp - 0x1394], 0
call fcn.004094f4
lea esi, [ebp - 0x1394]
call fcn.004090b8
push eax
mov eax, esi
push eax
push str._JNILaunch__Trying_to_load__s__exists_d__n
call fcn.00409516
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x1c
mov eax, esi
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x405e77
push str.jvm.dll
push str.client
push edi
push dword [ebp - 0x2724]
mov byte [ebp - 0x1394], al
lea eax, [ebp - 0x1394]
call fcn.004094f4
lea esi, [ebp - 0x1394]
call fcn.004090b8
push eax
mov eax, esi
push eax
push str._JNILaunch__Failed._Now_trying_to_load_library__s__exists_d__n
call fcn.00409516
add esp, 0x1c
mov eax, esi
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x405e77
push str.client
push edi
push 0x43da68
push dword [ebp - 0x2724]
mov byte [ebp - 0x1394], al
lea eax, [ebp - 0x1394]
call fcn.004094f4
push str.jvm.dll
lea esi, [ebp - 0x1394]
call fcn.00409439
add esp, 0x14
call fcn.004090b8
push eax
mov eax, esi
push eax
push str._JNILaunch__Failed._Now_trying_to_load_library__s__exists_d__n
call fcn.00409516
add esp, 0xc
mov eax, esi
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x405e77
push str.server
push edi
push 0x43da68
push dword [ebp - 0x2724]
mov byte [ebp - 0x1394], al
lea eax, [ebp - 0x1394]
call fcn.004094f4
push str.jvm.dll
lea esi, [ebp - 0x1394]
call fcn.00409439
add esp, 0x14
call fcn.004090b8
push eax
mov eax, esi
push eax
push str._JNILaunch__Failed._Now_trying_to_load_library__s__exists_d__n
call fcn.00409516
add esp, 0xc
mov eax, esi
push eax
call ebx
mov esi, eax
test esi, esi
je 0x405e8b
lea eax, [ebp - 0x1394]
push eax
push str._JNILauncher__Loaded_Windows_DLL____s_n
call fcn.00409516
pop ecx
jmp 0x405e95
push str._JNILauncher__Failed_to_load_DLL._Will_fall_back_to_spawning._n
call fcn.00409516
cmp dword [ebp - 0x2720], 0
pop ecx
je 0x405ea7
push 0
call dword [ebp - 0x2720]
push dword [ebp - 0x2728]
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.004180c4
leave
ret
Function at 0x40627c
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [0x454da4]
cmp dword [esi], 0
push edi
jne 0x406295
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4062f4
push 0x43dec0
push dword [esp + 0x10]
call fcn.00419446
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x4062f4
cmp dword [esi], 0
je 0x4062ed
push str._Proxy__Saved_proxy_list_n
call fcn.00409516
pop ecx
push edi
push dword [esi]
call fcn.0041b6d4
cmp dword [esi + 4], 0
pop ecx
pop ecx
je 0x4062ed
push str._Proxy__Saved_proxy_bypass_list_n
call fcn.00409516
pop ecx
push edi
push 0x441b8c
call fcn.0041b6d4
push edi
push dword [esi + 4]
call fcn.0041b6d4
add esp, 0x10
push edi
call fcn.0041ae53
pop ecx
pop edi
pop esi
ret

Function at 0x4062f7
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.00407fdc
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.004195e0
add esp, 0xc
push 0xc
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.004195e0
add esp, 0xc
push str._Proxy__Opening_HTTP_Session_n
call fcn.00409516
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 0x406431
cmp dword [ebp + 8], esi
mov dword [ebp - 0x30], ebx
je 0x40637d
push dword [ebp + 8]
mov dword [ebp - 0x30], 3
push str._Proxy__Using_auto_config_URL:__S_n
call fcn.00409516
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.00409516
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 0x4063fb
push str._Proxy__Configuration_found_n
call fcn.00409516
cmp dword [ebp - 0x18], ebx
pop ecx
jne 0x4063ca
push str._Proxy__Direct_connection_used_n
call fcn.00409516
jmp 0x40640d
push dword [ebp - 0x14]
mov ebx, str._Proxy___S_n
push ebx
call fcn.00409516
push dword [ebp - 0x10]
push ebx
call fcn.00409516
push dword [ebp - 0x14]
call fcn.0040801c
add esp, 0x14
push dword [ebp - 0x10]
mov dword [edi], eax
call fcn.0040801c
mov dword [edi + 4], eax
jmp 0x40640d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._Proxy__Configuration_NOT_found___d__n
call fcn.00409516
pop ecx
cmp dword [ebp - 0x14], esi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ecx
je 0x40641e
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0x10], esi
je 0x406428
push dword [ebp - 0x10]
call edi
push dword [ebp - 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 8]
call fcn.004180d3
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406e39
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc3b8
call fcn.0041cdb0
mov eax, dword [0x445504]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push str._Spawner__Constructing_command_line..._n
call fcn.00409516
pop ecx
call fcn.0041b973
add eax, 0x20
push eax
call fcn.004192e6
xor ebx, ebx
cmp dword [edi], ebx
pop ecx
mov byte [ebp - 0xc358], bl
mov dword [ebp - 0xc35c], ebx
je 0x406ec6
mov esi, edi
lea eax, [ebp - 0xc358]
push 0x43da64
push eax
call fcn.004183e0
push dword [esi]
lea eax, [ebp - 0xc358]
push eax
call fcn.004183e0
lea eax, [ebp - 0xc358]
push 0x4427c4
push eax
call fcn.004183e0
add esp, 0x18
inc dword [ebp - 0xc35c]
mov eax, dword [ebp - 0xc35c]
lea esi, [edi + eax*4]
cmp dword [esi], ebx
jne 0x406e80
lea eax, [ebp - 0xc358]
push eax
push str._Spawner__Creating_command_line__s_n
call fcn.00409516
call fcn.0041b973
add eax, 0x20
push eax
call fcn.004192e6
add esp, 0xc
push 0x44
lea eax, [ebp - 0xc3b8]
push ebx
push eax
call fcn.004195e0
add esp, 0xc
push 0x10
lea eax, [ebp - 0xc370]
push ebx
push eax
call fcn.004195e0
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 0x406f5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed___d_._n
call fcn.00409516
call fcn.0041b973
add eax, 0x20
push eax
call fcn.004192e6
add esp, 0xc
or eax, 0xffffffff
jmp 0x406fa9
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.00409516
mov eax, dword [ebp - 0xc360]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004180c4
leave
ret
Function at 0x406fb7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc3b8
call fcn.0041cdb0
mov eax, dword [0x445504]
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.00409516
pop ecx
call fcn.0041b973
add eax, 0x20
push eax
call fcn.004192e6
cmp dword [edi], ebx
pop ecx
mov dword [ebp - 0xc35c], ebx
je 0x407044
mov esi, edi
lea eax, [ebp - 0xc358]
push 0x43da64
push eax
call fcn.004183e0
push dword [esi]
lea eax, [ebp - 0xc358]
push eax
call fcn.004183e0
lea eax, [ebp - 0xc358]
push 0x4427c4
push eax
call fcn.004183e0
add esp, 0x18
inc dword [ebp - 0xc35c]
mov eax, dword [ebp - 0xc35c]
lea esi, [edi + eax*4]
cmp dword [esi], ebx
jne 0x406ffe
lea eax, [ebp - 0xc358]
push eax
push str._Spawner__Executing_command__s_n
call fcn.00409516
call fcn.0041b973
add eax, 0x20
push eax
call fcn.004192e6
add esp, 0xc
push 0x44
lea eax, [ebp - 0xc3b8]
push ebx
push eax
call fcn.004195e0
add esp, 0xc
push 0x10
lea eax, [ebp - 0xc36c]
push ebx
push eax
call fcn.004195e0
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 0x4070d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed___d_._n
call fcn.00409516
call fcn.0041b973
add eax, 0x20
push eax
call fcn.004192e6
add esp, 0xc
or eax, 0xffffffff
jmp 0x40710a
push str._Spawner__Create_process_seems_to_have_worked_n
call fcn.00409516
pop ecx
call fcn.0041b973
add eax, 0x20
push eax
call fcn.004192e6
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.004180c4
leave
ret

Function at 0x407281
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
cmp dword [0x446c20], esi
push esi
jne 0x4072df
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0x446c24
push esi
push 0x446c20
push 0x407394
push esi
push esi
mov dword [0x446c28], eax
call fcn.0041b13c
add esp, 0x18
push 0x1388
push dword [0x446c28]
mov dword [0x446c20], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4072ef
push str.Error_starting_SplashThread_n
call fcn.00409516
pop ecx
pop esi
ret
push 2
push 6
push dword [0x446c24]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
pop esi
ret
Function at 0x407dbc
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.004064e8
push dword [ebp + 0xc]
mov edi, eax
push ebx
push str._Streamer__Downloading_from__s_into__s_n
call fcn.00409516
add esp, 0x14
push 0xc
push 1
call fcn.0041b934
mov esi, eax
push 0xc
push 1
mov dword [esi], ebx
mov dword [esi + 4], edi
call fcn.0041b934
push 0x43dec0
push dword [ebp + 0xc]
mov ebx, eax
mov dword [ebx + 4], edi
call fcn.00419446
add esp, 0x18
xor edi, edi
push edi
push edi
push esi
push 0x407bfa
push edi
push edi
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push ebx
push 0x407c9d
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 0x407e62
cmp dword [ebx + 8], edi
jne 0x407e62
xor eax, eax
inc eax
jmp 0x407e64
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x407e69
Capabilities:
Create thread

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

Function at 0x407ea3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0xc
call fcn.004181b0
mov esi, 0x19000
push esi
push 1
mov dword [ebp - 4], eax
call fcn.004064e8
mov edi, eax
push esi
push 2
mov dword [ebp - 0xc], edi
call fcn.004064e8
push 0xc
push 1
mov dword [ebp - 8], eax
call fcn.0041b934
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.0041b934
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 0x407bfa
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 0x407c34
push edi
push edi
mov dword [ecx], eax
call esi
mov ecx, dword [ebp - 4]
push edi
push edi
push ebx
push 0x407c69
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.00406546
mov esi, dword [ebp - 8]
call fcn.00406546
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], edi
jne 0x407f6d
cmp dword [ebx + 0xc], edi
jne 0x407f6d
xor eax, eax
inc eax
jmp 0x407f6f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407f74
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
push 0xc
call fcn.004181b0
mov dword [esp], 0x19000
push 5
mov edi, eax
call fcn.004064e8
push 0x10
push 1
mov ebx, eax
call fcn.0041b934
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 0x407c34
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 0x407c69
push eax
push eax
call ebx
mov dword [edi + 4], eax
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x4088de
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffe0
sub esp, 0x7d4
mov eax, dword [0x445504]
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.00409516
call fcn.0041b973
add eax, 0x20
push eax
call fcn.004192e6
or dword [esp + 0x34], 0xffffffff
xor ebx, ebx
push 0x436700
mov dword [esp + 0x30], ebx
call fcn.0040c9c0
add esp, 0x10
cmp eax, 0xffffffff
mov esi, str.mixed
je 0x408977
push 0x436350
call fcn.0040c9c0
cmp eax, 0xffffffff
pop ecx
je 0x408977
push 0x436618
call fcn.0040c9c0
cmp eax, 0xffffffff
pop ecx
je 0x408977
push esi
call fcn.0040cad0
imul eax, eax, 0x68
lea ecx, [esp + 0x44]
push ecx
call dword [eax + 0x446dbc]
pop ecx
jmp 0x408981
push str.WARNING:_Error_registering_mixed_hash
call fcn.00418273
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.004181b0
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.00408364
add esp, 0x1c
test eax, eax
je 0x40899f
cmp dword [esp + 0x28], 0xffffffff
je 0x408a49
push str._Unarchiver__Verifying_signature_n
call fcn.00409516
push esi
call fcn.0040cad0
push 0x40
mov esi, eax
call fcn.004181b0
imul esi, esi, 0x68
mov edi, eax
lea eax, [esp + 0x4c]
push edi
push eax
call dword [esi + 0x446dc4]
push dword [esp + 0x34]
mov esi, eax
neg esi
sbb esi, esi
not esi
and esi, edi
call fcn.00418340
mov edi, eax
shr edi, 1
inc edi
inc edi
push edi
call fcn.004181b0
push dword [esp + 0x3c]
mov ebx, eax
push edi
push ebx
call fcn.00408f3a
mov edi, eax
push edi
push str._Unarchiver__Produced_a_signature_of_length__d_n
call fcn.00409516
push esi
push edi
push ebx
call fcn.00401029
add esp, 0x3c
test al, al
je 0x408a70
push str._Unarchiver__Archive_signature_verified._n
call fcn.00409516
pop ecx
push dword [esp + 0x24]
push str._Unarchiver___END__Extracting_archive__s_n
call fcn.00409516
pop ecx
pop ecx
mov ecx, dword [esp + 0x7dc]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004180c4
mov esp, ebp
pop ebp
ret
mov esi, 0x442dd8
push esi
call fcn.00409516
mov dword [esp], str._Unarchiver__ERROR___unable_to_verify_signature_of_hash_of_archive._n
call fcn.00409516
mov dword [esp], str._Unarchiver__JWrapper_will_disregard_this_update._n
call fcn.00409516
push dword [esp + 0x28]
call fcn.00408f8d
push esi
call fcn.00409516
add esp, 0xc
push 1
call fcn.0041901e
int3
Function at 0x409114
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 [0x445504]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.ALLUSERSPROFILE
call fcn.0041ad5d
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.00418340
mov ebx, eax
xor edi, edi
test ebx, ebx
pop ecx
mov esi, 0x811c9dc5
jle 0x409196
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.00409516
add esp, 0x10
inc edi
cmp edi, ebx
jl 0x40916d
test esi, esi
jge 0x40919c
neg esi
push 0x64
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.004195e0
add esp, 0xc
push esi
lea eax, [ebp - 0xd8]
push 0x43ecb0
push eax
call fcn.00418ca3
lea eax, [ebp - 0x70]
add esp, 0xc
push eax
xor esi, esi
call fcn.00418340
test eax, eax
pop ecx
jbe 0x4091ef
lea eax, [ebp + esi - 0x70]
cmp byte [eax], 0x80
jb 0x4091e0
mov byte [eax], 0x5f
lea eax, [ebp - 0x70]
push eax
inc esi
call fcn.00418340
cmp esi, eax
pop ecx
jb 0x4091d4
push 0x1388
call fcn.004181b0
pop ecx
push dword [ebp - 0xdc]
mov esi, eax
push esi
mov byte [esi], 0
call fcn.004183e0
push str.JWUser_
call fcn.00409439
add esp, 0xc
lea eax, [ebp - 0xd8]
push eax
push esi
call fcn.004183e0
push 0x43e0fc
push esi
call fcn.004183e0
lea eax, [ebp - 0x70]
push eax
push esi
call fcn.004183e0
push esi
call fcn.0040941a
mov ecx, dword [ebp - 4]
add esp, 0x1c
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004180c4
leave
ret
Function at 0x409254
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x445504]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.APPDATA
mov dword [ebp - 0xa0], 0x94
call fcn.0041ad5d
mov esi, eax
test esi, esi
pop ecx
mov ebx, 0x1388
je 0x4092e1
push esi
call fcn.00418340
cmp eax, 2
pop ecx
jbe 0x4092e1
cmp byte [esi], 0x5c
jne 0x4092e1
cmp byte [esi + 1], 0x5c
jne 0x4092e1
push str._Extractor__Roaming_AppData_directory_detected_n
call fcn.00409516
pop ecx
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x409325
cmp dword [ebp - 0x9c], 5
jbe 0x4092ed
push str.LOCALAPPDATA
call fcn.0041ad5d
pop ecx
mov esi, eax
push esi
push str._Extractor__Local_AppData_directory_resolved_to__s_n
call fcn.00409516
pop ecx
jmp 0x409324
push str._Extractor__Local_AppData_directory_detected_n
call fcn.00409516
jmp 0x409324
push str.USERPROFILE
call fcn.0041ad5d
pop ecx
push ebx
mov edi, eax
call fcn.004181b0
pop ecx
mov esi, eax
push edi
push esi
mov byte [esi], 0
call fcn.004183e0
push str.Local_Settings
call fcn.00409439
add esp, 0xc
push str.Application_Data
call fcn.00409439
pop ecx
push str.Validating_directory..._n
call fcn.00409516
pop ecx
push esi
push str.Shared_dir_detected_is__s_n
call fcn.00409516
push esi
call fcn.004090f2
add esp, 0xc
test eax, eax
je 0x4093ad
push esi
push str.Checking_if_string_is_cAscii__s_n
call fcn.00409516
push esi
xor edi, edi
call fcn.00418340
add esp, 0xc
test eax, eax
jbe 0x409374
cmp byte [edi + esi], 0x80
jae 0x4093ad
push esi
inc edi
call fcn.00418340
cmp edi, eax
pop ecx
jb 0x409362
push esi
push str.Checking_if__s_contains_a___n
call fcn.00409516
push esi
xor edi, edi
call fcn.00418340
add esp, 0xc
test eax, eax
jbe 0x4093a0
cmp byte [edi + esi], 0x21
je 0x4093ad
push esi
inc edi
call fcn.00418340
cmp edi, eax
pop ecx
jb 0x40938e
push str.Shared_directory_appears_valid._n
call fcn.00409516
pop ecx
jmp 0x409409
push esi
push str.The_directory__s_appears_invalid._n
call fcn.00409516
push esi
push str.Trying_the_short_path_instead._n
call fcn.00409516
push ebx
call fcn.004181b0
add esp, 0x14
push 0x400
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x4093fb
push edi
push str.Got_short_path_of__s_n
call fcn.00409516
push esi
call fcn.004090f2
add esp, 0xc
test eax, eax
je 0x4093fb
mov eax, edi
jmp 0x40940b
push edi
call fcn.004180d3
pop ecx
call fcn.00409114
mov esi, eax
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004180c4
leave
ret