joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c7e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411d10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], esi
call sub.MFC42u.DLL_CString::CString_3
lea eax, [esi + 0x4ba4]
lea ecx, [ebp - 0x14]
push eax
mov dword [ebp - 4], 0
call sub.MFC42u.DLL_CString::CString_2
push 0x41a670
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0041063c
mov ebx, 2
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call sub.MFC42u.DLL_CString::MakeLower
mov ecx, dword [ebp - 0x14]
push 0
push ecx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CFile::CFile_1
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x38]
push edx
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CFile::GetFileName
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push eax
mov byte [ebp - 4], 5
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x38]
call sub.MFC42u.DLL_CFile::Close
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CFile::CFile
jmp 0x40c8ae
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
mov dword [ebp - 4], ebx
call sub.MFC42u.DLL_CString::Find
cmp eax, 0xffffffff
jne 0x40c8ca
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov ecx, dword [ebp - 0x18]
push str.EVWindows.dat
push ecx
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::Replace
lea ecx, [ebp - 0x54]
call fcn.004106d8
add esi, 0x4bc8
lea edx, [ebp - 0x14]
push edx
mov ecx, esi
mov byte [ebp - 4], 7
call sub.MFC42u.DLL_CString::operator
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::MakeLower
mov esi, dword [esi]
push 0
push esi
lea ecx, [ebp - 0x54]
call sub.MFC42u.DLL_CFileFind::FindFile
xor ecx, ecx
mov byte [ebp - 4], bl
test eax, eax
setne cl
mov esi, ecx
lea ecx, [ebp - 0x54]
call sub.MFC42u.DLL_CFileFind::CFileFind
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c960
Capabilities:
Terminate process
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x411d2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x404
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_3
add esi, 0x4bc8
lea ecx, [esp + 0xc]
push esi
mov dword [esp + 0x41c], 0
call sub.MFC42u.DLL_CString::operator
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0xc]
push 0x41a528
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c9da
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov edi, dword [sym.imp.MSVCRT.dll_fwrite]
xor ebp, ebp
push esi
push 0x400
lea ecx, [esp + 0x18]
push 1
push ecx
call edi
mov al, byte [esi + 0xc]
add esp, 0x10
test al, 0x20
jne 0x40ca3a
inc ebp
cmp ebp, 0x200
jl 0x40c9e2
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x418], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x410]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x410
ret
push 1
call dword [sym.imp.MSVCRT.dll_exit]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x40da60
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x411e03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], bx
mov dword [esp + 0x224], 2
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
stosw word es:[edi], ax
call sub.MFC42u.DLL_CString::CString_3
mov eax, dword [esp + 0x22c]
mov edi, dword [sym.imp.MSVCRT.dll__wtoi]
push eax
mov byte [esp + 0x228], 3
lea ebp, [esi + 0x1dc8]
call edi
mov ecx, dword [esp + 0x234]
mov word [ebp], ax
push ecx
call edi
mov edx, dword [esp + 0x23c]
mov word [esi + 0x1dca], ax
push edx
call edi
add esp, 0xc
mov word [esi + 0x1dcc], ax
lea eax, [esp + 0x14]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::MakeLower
push str.khsimulator.exe
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::Find
or edi, 0xffffffff
cmp eax, edi
je 0x40db78
push str.sim.dat
push str.khsimulator.exe
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::Replace
mov edx, dword [esp + 0x10]
push 0x41a0f8
push edx
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x40db78
push esi
push 6
push 1
push ebp
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0x224], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x22c]
mov byte [esp + 0x224], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x230]
mov byte [esp + 0x224], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x234]
mov dword [esp + 0x224], edi
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x218
ret 0xc
Function at 0x40ed10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x412038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 1
lea ecx, [esp + 0x10]
mov dword [edi + 0x48], ebx
call sub.MFC42u.DLL_CString::CString_3
lea eax, [esp + 0x10]
lea ecx, [edi + 0x128]
push eax
mov dword [esp + 0x30], 0
call sub.MFC42u.DLL_CWnd::GetWindowTextW
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_2
mov edx, dword [esp + 0xc]
mov byte [esp + 0x2c], bl
mov esi, dword [edx - 8]
test esi, esi
jne 0x40ede3
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_3
push 0x834
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call sub.MFC42u.DLL_CString::LoadStringW
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x20]
push 0x10
push str.KHSimulator_Message
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
push ebp
push 0xb
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::GetBuffer
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
mov edi, eax
call sub.MFC42u.DLL_CString::ReleaseBuffer
xor edx, edx
lea eax, [esp + 0x1c]
mov dword [esp + 0x1d], edx
mov byte [esp + 0x1c], 0
mov dword [esp + 0x21], edx
mov word [esp + 0x25], dx
push edx
push edx
push 0xc
push eax
push 0xffffffffffffffff
push edi
push 0x200
push edx
mov byte [esp + 0x47], dl
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, 0xa
cmp esi, 0xa
jg 0x40ee58
mov edx, 0xb
lea edi, [esp + esi + 0x1c]
sub edx, esi
mov eax, 0x20202020
mov ecx, edx
mov ebp, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
add esi, edx
rep stosb byte es:[edi], al
dec ebx
jne 0x40ee31
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ax, word [esp + 0x24]
mov dword [0x41a970], ecx
lea ecx, [esp + 0x10]
mov dword [0x41a974], edx
mov word [0x41a978], ax
mov byte [esp + 0x30], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop ebp
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x401bf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590cca
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.0055d6fc
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x401cb0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.00560c75
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x606634
push eax
call fcn.0056215b
push edi
push esi
call fcn.0055da44
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret 4

Function at 0x409f00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590df6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x60a070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0055f301
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0055d941
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x413430
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x60a070]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], edx
push edi
cmp dword [esi + 0x14], 8
jb 0x41345d
mov eax, dword [esi]
jmp 0x41345f
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x413481
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret
xor bl, bl
cmp dword [esi + 0x14], 8
jb 0x41348d
mov eax, dword [esi]
jmp 0x41348f
mov eax, esi
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4134c1
test byte [esp + 0x10], 1
je 0x4134c1
cmp dword [esi + 0x14], 8
jb 0x4134b3
mov eax, dword [esi]
jmp 0x4134b5
mov eax, esi
push 0x80
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
cmp dword [esi + 0x14], 8
jb 0x4134c9
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
je 0x4134d8
mov bl, 1
jmp 0x4134e4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
cmp edi, 0xffffffff
je 0x4134f0
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov ecx, dword [esp + 0x264]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret
Function at 0x415450
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x96c
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x40
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x260], 0x44
push 0
push eax
call fcn.00562b20
movups xmm0, xmmword [str.explorer.exe]
mov ax, word [0x5c0f3c]
push 0x1ee
mov word [ebp - 0x1f8], ax
lea eax, [ebp - 0x1f6]
movups xmmword [ebp - 0x210], xmm0
push 0
movq xmm0, qword [0x5c0f34]
push eax
movq qword [ebp - 0x200], xmm0
call fcn.00562b20
add esp, 0x18
lea eax, [ebp - 0x540]
push eax
lea eax, [ebp - 0x260]
push eax
push 0
push 0
push 0x44
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x415630
mov eax, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov ebx, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov dword [ebp - 0x760], eax
mov eax, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov dword [ebp - 0x758], eax
mov eax, dword [sym.imp.KERNEL32.DLL_Sleep]
push 0
mov dword [ebp - 0x754], eax
mov eax, dword [sym.imp.KERNEL32.DLL_ExitProcess]
push 0
mov dword [ebp - 0x750], eax
lea eax, [ebp - 0x764]
push 0
push eax
push dword [ebp - 0x540]
mov dword [ebp - 0x75c], ebx
call esi
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
push 0x104
lea eax, [ebp - 0x74c]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x530]
mov ecx, 0x80
push eax
push dword [ebp - 0x53c]
mov esi, 0x4153e0
lea edi, [ebp - 0x964]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x530], 0x10003
call dword [sym.imp.KERNEL32.DLL_GetThreadContext]
mov esi, dword [ebp - 0x46c]
add esi, 0xfffffbdc
and esi, 0xffffffe0
mov dword [ebp - 0x968], esi
lea eax, [esi - 4]
mov dword [ebp - 0x46c], eax
lea eax, [esi + 4]
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0x214]
push eax
push 0x40
push 0x424
push esi
push dword [ebp - 0x540]
call dword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
push 0
push 0x424
lea eax, [ebp - 0x968]
push eax
push esi
push dword [ebp - 0x540]
call dword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
push 0x424
push esi
push dword [ebp - 0x540]
call dword [sym.imp.KERNEL32.DLL_FlushInstructionCache]
lea eax, [ebp - 0x530]
push eax
push dword [ebp - 0x53c]
call dword [sym.imp.KERNEL32.DLL_SetThreadContext]
push dword [ebp - 0x53c]
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
push dword [ebp - 0x53c]
call ebx
push dword [ebp - 0x540]
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret
Function at 0x41eed0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x26
lea eax, [ebp - 0x20c]
mov esi, ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41ef7e
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
lea eax, [ebp - 0x20c]
push 0x5c0e8c
push eax
call fcn.00577255
add esp, 0xc
test eax, eax
je 0x41ef7e
cmp word [ebp - 0x20c], 0
jne 0x41ef38
xor ecx, ecx
jmp 0x41ef50
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ef41
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00413c10
push 1
push 0x5c0e8c
mov ecx, esi
call fcn.00413d30
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret
Function at 0x41f0e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x592e20
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
cmp dword [edi + 0x10], eax
sete al
test al, al
je 0x41f137
mov bl, 1
jmp 0x41f2c5
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.0041ed00
test al, al
jne 0x41f15a
push 1
push str.74310
mov ecx, esi
call fcn.00413c10
xor bl, bl
jmp 0x41f2c5
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ebx, dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
cmp eax, 3
je 0x41f1c2
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x41f184
mov eax, dword [esi]
jmp 0x41f186
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp dword [edi + 0x14], 8
jb 0x41f193
mov edi, dword [edi]
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
mov ecx, esi
test eax, eax
je 0x41f1b1
push 0x5c1de4
call fcn.00413710
xor bl, bl
jmp 0x41f2c5
push 0x5c1de8
call fcn.00413710
xor bl, bl
jmp 0x41f2c5
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
cmp dword [edi + 0x14], 8
jb 0x41f1f2
mov edx, dword [edi]
jmp 0x41f1f4
mov edx, edi
lea eax, [ebp - 0x58]
push eax
call fcn.0041ee00
add esp, 4
test eax, eax
js 0x41f24d
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.0041ed00
test al, al
je 0x41f24d
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call ebx
cmp eax, 3
je 0x41f24d
mov ecx, esi
call fcn.0041f700
push 0x5c1de4
mov ecx, esi
call fcn.00413710
lea ecx, [ebp - 0x40]
call fcn.004137d0
lea ecx, [ebp - 0x58]
call fcn.004137d0
xor bl, bl
jmp 0x41f2c5
lea ecx, [ebp - 0x40]
call fcn.004137d0
lea ecx, [ebp - 0x58]
call fcn.004137d0
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.0041eed0
test al, al
jne 0x41f288
push str.74310
jmp 0x41f2b4
mov edx, edi
lea ecx, [ebp - 0x70]
call fcn.0041f720
test al, al
jne 0x41f2a8
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.0041f720
test al, al
jne 0x41f2a8
mov bl, 1
jmp 0x41f2bd
mov ecx, esi
call fcn.0041f700
push 0x5c1dec
mov ecx, esi
call fcn.00413710
xor bl, bl
lea ecx, [ebp - 0x70]
call fcn.004137d0
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x41f2da
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00414580
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret
Function at 0x423b10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5935a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x423c3e
cmp byte [ebx + 0x3d], 0
je 0x423c3e
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x423b69
xor al, al
jmp 0x423c40
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00407ac0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x423bcf
sub eax, 1
je 0x423bd3
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x423c26
xor bl, bl
jmp 0x423c28
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x423c08
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00577c0d
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x423bcb
cmp byte [ebx + 0x3d], 0
je 0x423c26
test esi, esi
jne 0x423b91
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00407dc0
jmp 0x423b8e
mov bl, 1
cmp ecx, 0x10
jb 0x423c3a
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00408330
mov al, bl
jmp 0x423c40
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret

Function at 0x4292f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push edi
cmp dword [ebx + 0x88], 0
je 0x429306
call fcn.004293c0
mov eax, fcn.00420d90
test eax, eax
je 0x429332
push str.Starting_thread_for_Extraction_Progress.
push 0x5c0ec0
push 0x5c0ec0
push str.AppsPanelInterface
push str.Bootstrapper
push 0x1e
call fcn.00420d90
add esp, 0x18
push 4
mov byte [ebx + 0x8c], 1
call fcn.0055f301
mov edi, eax
add esp, 4
mov eax, 0x429500
mov dword [ebp - 4], edi
mov dword [edi], 0
mov dword [edi], 0
mov dword [ebx + 0x88], edi
test eax, eax
je 0x4293b5
push esi
push 8
call fcn.0055f301
add esp, 4
mov esi, eax
xorps xmm0, xmm0
mov dword [ebp - 4], esi
push 0
push 0
push esi
push 0x512740
push 0
movq qword [esi], xmm0
push 0
mov dword [esi], 0x429500
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
jne 0x4293b2
push 8
push esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.0055f798
add esp, 8
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi], eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43f2b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590df6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x60a070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0055f301
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0055d941
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret