joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411c30
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
sub eax, edi
sar eax, 6
cmp ebx, eax
jge 0x411e17
mov esi, dword [ebp + 0x18]
mov edx, ebx
shl edx, 6
mov dword [ebp + 0xc], edx
lea esp, [esp]
push dword [edx + edi]
mov ecx, esi
call fcn.00436fd0
test al, al
je 0x411c7b
mov ecx, dword [ebp + 0xc]
mov dword [ecx + edi + 0x3c], 3
jmp 0x411c97
mov eax, dword [ebp + 0xc]
mov ecx, esi
push dword [eax + edi]
call fcn.00437070
mov ecx, dword [ebp + 0xc]
test al, al
je 0x411c97
mov dword [ecx + edi + 0x3c], 4
cmp byte [ebp + 0x10], 0
mov eax, dword [ecx + edi]
mov esi, eax
je 0x411caa
or esi, 0x1000000
jmp 0x411cb8
cmp byte [ebp + 0x14], 0
je 0x411cb8
mov esi, eax
or esi, 0x5000000
push eax
lea eax, [ebp - 0x1c]
mov dword [ecx + edi + 0x3c], 0
mov ecx, dword [ebp + 0x18]
push eax
call fcn.004366f0
cmp dword [eax + 0x14], 8
jb 0x411cd5
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp dword [ebp - 8], 8
jb 0x411cf2
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0xc]
cmp eax, 5
jne 0x411d1c
mov dword [edx + edi + 0x3c], 1
mov ecx, dword [edx + edi + 0x1c]
test ecx, ecx
je 0x411df5
lea eax, [edx + 0x20]
add eax, edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp + 0xc]
push str.TheRender
push str.RenderWindow
push 0
push dword [eax + edi + 0x1c]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edx, dword [ebp + 0xc]
mov dword [edx + edi + 0x24], eax
test eax, eax
je 0x411df5
push 0x44f6f4
push str.subWin
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edx, dword [ebp + 0xc]
mov ecx, eax
cmp dword [edx + edi + 0x24], 0
mov dword [edx + edi + 0x28], ecx
je 0x411df5
lea eax, [edx + 0x2c]
add eax, edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [ebp + 0xc]
cmp dword [edx + edi + 0x3c], 1
je 0x411df5
push dword [edx + edi]
mov ecx, dword [ebp + 0x18]
lea eax, [ebp - 0x1c]
push eax
call fcn.004366f0
cmp dword [eax + 0x14], 8
jb 0x411dae
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp dword [ebp - 8], 8
jb 0x411dcb
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0xc]
xor ecx, ecx
cmp eax, 5
setne cl
inc ecx
mov dword [edx + edi + 0x3c], ecx
mov eax, dword [ebp + 8]
inc ebx
mov dword [edx + edi], esi
add edx, 0x40
mov esi, dword [ebp + 0x18]
mov dword [ebp + 0xc], edx
mov edi, dword [eax]
mov eax, dword [eax + 4]
sub eax, edi
sar eax, 6
cmp ebx, eax
jl 0x411c60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x416b00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x446048
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x40], 0
je 0x416c31
cmp byte [esi + 0x45], 0
je 0x416c31
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x416b60
xor al, al
jmp 0x416c33
sub esp, 8
lea ecx, [esp + 0x20]
call fcn.0041ba20
mov dword [esp + 0x40], 0
lea edi, [esi + 0x48]
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
cmp ebx, 0x10
lea ecx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
cmovae edx, dword [esp + 0x1c]
add eax, edx
push eax
push ecx
mov ecx, dword [esi + 0x40]
push edi
call dword [sym.imp.MSVCP120.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x416bb8
dec eax
je 0x416bbc
sub eax, 2
je 0x416c17
xor bl, bl
jmp 0x416c19
mov byte [esi + 0x45], 0
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x18]
cmp ebx, 0x10
mov edi, dword [esp + 0x14]
cmovae eax, ecx
sub edi, eax
je 0x416bf4
push dword [esi + 0x50]
cmp ebx, 0x10
lea eax, [esp + 0x1c]
push edi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x416bb4
cmp byte [esi + 0x45], 0
je 0x416c17
test edi, edi
lea edi, [esi + 0x48]
jne 0x416b77
push 0
push 8
lea ecx, [esp + 0x20]
call fcn.0041b930
jmp 0x416b74
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x416c2d
push dword [esp + 0x18]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
jmp 0x416c33
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00443640
mov esp, ebp
pop ebp
ret
Function at 0x41fb80
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4468ba
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [esi + 0x2c], 7
mov dword [esi + 0x28], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x44], 0xf
mov dword [esi + 0x40], eax
mov byte [esi + 0x30], al
sub esp, 8
mov byte [ebp - 4], 2
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
call fcn.004207e0
mov dword [esi + 0x48], eax
lea eax, [esi + 0x50]
mov byte [ebp - 4], 3
push 2
push eax
call dword [sym.imp.MSVCP120.dll__Mtx_init]
add esp, 8
test eax, eax
je 0x41fc0e
push eax
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
lea eax, [esi + 0x54]
mov byte [ebp - 4], 4
push eax
call dword [sym.imp.MSVCP120.dll__Cnd_init]
add esp, 4
test eax, eax
je 0x41fc2d
push eax
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
mov dword [esi + 0x58], 0
mov byte [esi + 0x5c], 0
mov byte [ebp - 4], 6
lea ecx, [esi + 0x64]
mov word [esi + 0x60], 0
call fcn.00422810
mov dword [esi + 0x68], 0
mov eax, esi
mov dword [esi + 0x6c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x421a20
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446b0b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.004214c0
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x230]
push eax
push 0
mov dword [ebp - 0x230], 0
call esi
test eax, eax
je 0x421a79
cmp eax, 0x6f
jne 0x421aa8
push dword [ebp - 0x230]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [ebp - 0x234], edi
test edi, edi
je 0x421aa8
lea eax, [ebp - 0x230]
push eax
push edi
call esi
test eax, eax
je 0x421ac6
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00443640
mov esp, ebp
pop ebp
ret
xor eax, eax
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x1b], eax
mov esi, edi
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
jmp 0x421ae0
mov eax, dword [esi + 0x194]
lea ecx, [ebp - 0x1c]
cmp eax, dword [ecx]
jne 0x421afc
mov eax, dword [esi + 0x198]
cmp eax, dword [ecx + 4]
je 0x421c0b
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22a]
push eax
call sub.MSVCR120.dll_memset
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push 0x4506dc
push 0xffffffffffffffff
lea eax, [ebp - 0x22c]
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll__snwprintf_s]
xor eax, eax
mov dword [ebp - 0x238], 7
add esp, 0x34
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
cmp word [ebp - 0x22c], ax
je 0x421ba1
lea eax, [ebp - 0x22c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421b92
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.004059b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24c]
mov edi, dword [ebx]
push eax
push dword [edi + 4]
push edi
call fcn.00421c40
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x421c2e
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], edx
cmp dword [ebp - 0x238], 8
jb 0x421c0b
push dword [ebp - 0x24c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [esi]
test esi, esi
jne 0x421ae0
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
cmp dword [ebx + 4], eax
setne al
jmp 0x421aaa
push str.list_T__too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x421c70
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x421dba
test edx, edx
jle 0x421dba
push edx
xorps xmm0, xmm0
mov byte [ebp - 0x2c], 0
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x94], 0x67452301
mov dword [ebp - 0x90], 0xefcdab89
mov dword [ebp - 0x8c], 0x98badcfe
mov dword [ebp - 0x88], 0x10325476
mov byte [ebp - 0x28], 0
movdqu xmmword [ebp - 0x27], xmm0
movdqu xmmword [ebp - 0x17], xmm0
call fcn.00421dd0
lea ecx, [ebp - 0x94]
call fcn.00421ea0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x94]
call fcn.00421f70
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x421d18
mov eax, dword [esi]
jmp 0x421d1a
mov eax, esi
lea edx, [ebp - 0x28]
cmp edx, eax
jb 0x421d67
cmp ecx, 0x10
jb 0x421d2a
mov edx, dword [esi]
jmp 0x421d2c
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x28]
cmp eax, edx
jbe 0x421d67
cmp ecx, 0x10
jb 0x421d41
mov ecx, dword [esi]
jmp 0x421d43
mov ecx, esi
push 0x20
lea eax, [ebp - 0x28]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.00405d20
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00443640
mov esp, ebp
pop ebp
ret
cmp ecx, 0x20
jae 0x421d78
push dword [esi + 0x10]
mov ecx, esi
push 0x20
call fcn.00405ea0
cmp dword [esi + 0x14], 0x10
jb 0x421d82
mov eax, dword [esi]
jmp 0x421d84
mov eax, esi
push 0x20
lea ecx, [ebp - 0x28]
push ecx
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov dword [esi + 0x10], 0x20
cmp dword [esi + 0x14], 0x10
jb 0x421da2
mov esi, dword [esi]
mov byte [esi + 0x20], 0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00443640
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00443640
mov esp, ebp
pop ebp
ret

Function at 0x427510
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [ebp + 8]
call fcn.00405b40
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x427544
xor al, al
jmp 0x42757e
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x427572
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
mov ecx, dword [ebp - 8]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x42757e
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x427720
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [ebp + 8]
call fcn.00405b40
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0xffffffff
jne 0x42775c
xor al, al
jmp 0x4277dc
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jne 0x42777d
mov al, 1
jmp 0x4277dc
push 0
push 0
push 0
push 2
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x4277a4
jmp 0x4277d2
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x4277ca
jmp 0x4277d2
mov al, 1
jmp 0x4277dc
mov ecx, dword [ebp - 4]
call fcn.004277f0
xor al, al
mov esp, ebp
pop ebp
ret 4

Function at 0x427b20
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00405b40
push eax
mov ecx, dword [ebp + 8]
call fcn.00405b40
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x427b49
mov al, 1
jmp 0x427b86
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
movzx edx, byte [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00405b40
push eax
mov ecx, dword [ebp + 8]
call fcn.00405b40
push eax
push str.copy_file_from____s___to____s___flag___d_failed__error___d.
push 0x110
push str.utility::ufile::copyFile
call fcn.004226d0
add esp, 0x1c
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x427e40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
call fcn.00405b40
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x427e5b
mov al, 1
jmp 0x427e8a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405b40
push eax
push str.removeFile_file_from____s___error___d.
push 0x16b
push str.utility::ufile::removeFile
call fcn.004226d0
add esp, 0x14
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x427fa0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x22c], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x208
push 0
lea ecx, [ebp - 0x20e]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.00405ae0
lea ecx, [ebp - 0x228]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004054b0
mov edx, dword [ebp - 0x22c]
or edx, 1
mov dword [ebp - 0x22c], edx
lea ecx, [ebp - 0x228]
call fcn.00404370
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00443640
mov esp, ebp
pop ebp
ret

Function at 0x428090
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [ebp + 8]
call fcn.00405b40
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0xffffffff
jne 0x4280cb
xor al, al
jmp 0x4280f9
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4280ee
mov ecx, dword [ebp - 4]
call fcn.00428060
xor al, al
jmp 0x4280f9
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 4], eax
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x428100
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x428137
xor eax, eax
jmp 0x42813a
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x4281a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4281df
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jne 0x4281df
mov al, 1
jmp 0x4281e1
xor al, al
mov esp, ebp
pop ebp
ret 8
Function at 0x429620
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0x42965d
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x429ed0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x42966f
mov dword [ebp - 8], 1
jmp 0x429676
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x42e410
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4472db
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x451bf4
lea ecx, [ebp - 0x440]
call fcn.00405ae0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x440]
call fcn.00404260
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0x440]
call fcn.00405b40
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0xffffffff
jne 0x42e4b8
mov dword [ebp - 0x450], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.00404370
mov eax, dword [ebp - 0x450]
jmp 0x42e592
mov byte [ebp - 0x410], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x40f]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea edx, [ebp - 0x410]
mov dword [ebp - 0x454], edx
mov eax, dword [ebp - 0x454]
mov dword [eax + 4], 0x400
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x41c], 8
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x420], 0
push 0
lea ecx, [ebp - 0x44c]
push ecx
push 0xc
lea edx, [ebp - 0x428]
push edx
push 0xc
lea eax, [ebp - 0x41c]
push eax
push 0x2d1400
mov ecx, dword [ebp - 0x444]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
movzx edx, byte [ebp - 0x420]
cmp edx, 1
jne 0x42e570
mov dword [ebp - 0x448], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.00404370
mov eax, dword [ebp - 0x448]
jmp 0x42e592
mov dword [ebp - 0x458], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.00404370
mov eax, dword [ebp - 0x458]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443640
mov esp, ebp
pop ebp
ret
Function at 0x42e5b0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447318
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x45072b
lea ecx, [ebp - 0x28]
call fcn.004062a0
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 0x34
push 0
mov ecx, dword [ebp + 8]
call fcn.00405b40
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x42e6e4
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0
jne 0x42e635
mov eax, dword [ebp - 0x34]
push eax
call fcn.004435c4
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x2c], ecx
jmp 0x42e618
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.00405b40
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x42e6d1
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x30]
push edx
push 0x451e90
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x42e6d1
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 8]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
push str._d._d._d._d
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x18
mov edx, dword [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x28]
call fcn.00424eb0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0041fa80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405bb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443640
mov esp, ebp
pop ebp
ret