joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007c8e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.10203e10
mov eax, dword [0x105520d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov al, 1
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov byte [ebp - 0x2009], al
cmp byte [esi + 0x101c], al
jne 0x1007c935
movzx eax, word [esi + 0x404c]
push edi
push eax
lea eax, [esi + 0x104c]
push eax
call fcn.1007bf40
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 4
xor eax, eax
push ebx
push 0x1000
mov dword [ebp - 0x201c], 0
mov dword [ebp - 0x2018], eax
mov dword [ebp - 0x2014], eax
mov dword [ebp - 0x2010], eax
call fcn.10203b14
push 0x1000
push 0
push eax
mov dword [ebp - 0x2014], eax
call sub.MSVCR100.dll_memset
add esp, 0x10
mov ecx, esi
mov dword [edi], 0xffffffff
call fcn.10078090
mov ecx, eax
call fcn.10141520
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov dword [ebp - 0x2024], eax
movzx eax, word [esi + 0x404c]
lea ecx, [ebp - 0x201c]
push ecx
lea edx, [esi + 0x104c]
push edx
push eax
mov eax, dword [esi + 0x1024]
push eax
call fcn.101f5dc0
add esp, 0x10
mov dword [ebp - 0x2020], eax
call ebx
sub eax, dword [ebp - 0x2024]
xor ebx, ebx
cmp dword [ebp - 0x2020], ebx
je 0x1007c9d9
mov byte [ebp - 0x2009], bl
mov ecx, dword [edi]
mov dword [ebp - 0xfdc], eax
mov eax, dword [ebp - 0x2018]
xor edx, edx
mov dword [ebp - 0xfec], ecx
mov ecx, dword [ebp - 0x2014]
push eax
mov word [ebp - 0xff2], dx
push ecx
lea edx, [ebp - 0xfd4]
push edx
mov dword [ebp - 0xfe4], ebx
mov dword [ebp - 0xfe0], ebx
mov dword [ebp - 0xfe8], ebx
call sub.MSVCR100.dll_memcpy
push 0x1000
lea eax, [ebp - 0x1004]
push eax
lea ecx, [ebp - 0x2006]
push ecx
call sub.MSVCR100.dll_memcpy
add esp, 0x18
push ebx
lea edx, [ebp - 0x2008]
push edx
lea ecx, [esi + 0xda98]
call fcn.10141a60
mov eax, dword [ebp - 0x2014]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x2009]
add esp, 4
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 4
Function at 0x10089680
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x105520d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea edx, [edi + edi*4]
mov dword [ebp - 0x38], eax
shl edx, 6
movzx eax, dx
push str.QLIB_FTM_AUDIO_CapturePCMandTransferData_____begin
mov dword [ebp - 0x3c], eax
lea eax, [ecx + 0xa5e4]
push 2
push eax
mov dword [ebp - 0x44], ecx
mov esi, 0x200
mov dword [ebp - 0x30], 0x46464952
xor ebx, ebx
mov dword [ebp - 0x2c], 0xa43e
mov dword [ebp - 0x28], 0x45564157
mov dword [ebp - 0x24], 0x20746d66
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], 0x10001
mov dword [ebp - 0x18], 0x1f40
mov dword [ebp - 0x14], 0x3e80
mov dword [ebp - 0x10], 0x100002
mov dword [ebp - 0xc], 0x61746164
mov dword [ebp - 8], 0x3e80
mov dword [ebp - 0x4c], eax
call fcn.10115e20
mov ecx, dword [ebp + 0xc]
add esp, 0xc
push ecx
mov ecx, dword [ebp - 0x44]
push edi
call fcn.100894e0
test al, al
je 0x1008979f
mov edi, dword [ebp - 0x38]
push 0x2c
lea edx, [ebp - 0x30]
push edx
push edi
call sub.MSVCR100.dll_memcpy
movzx eax, word [ebp - 0x3c]
add edi, 0x2c
mov dword [ebp - 0x38], edi
mov edi, eax
shr edi, 9
mov ecx, edi
shl ecx, 9
add esp, 0xc
cmp eax, ecx
je 0x10089754
inc edi
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ebx
cmp edi, ebx
jbe 0x10089795
jmp 0x10089766
mov eax, dword [ebp - 0x40]
cmp eax, esi
jae 0x1008976c
mov esi, eax
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
push edx
push esi
push eax
call fcn.100895c0
test al, al
je 0x1008979f
mov eax, dword [ebp - 0x3c]
add dword [ebp - 0x48], esi
add dword [ebp - 0x38], esi
sub dword [ebp - 0x40], esi
inc eax
mov dword [ebp - 0x3c], eax
cmp eax, edi
jb 0x10089763
mov ecx, dword [ebp - 0x44]
call fcn.10089560
mov bl, al
mov ecx, dword [ebp - 0x4c]
push str.QLIB_FTM_AUDIO_CapturePCMandTransferData_____completed
push 4
push ecx
call fcn.10115e20
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 0x14

Function at 0x1008e780
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 0x1048], 0x3b
jne 0x1008e795
call fcn.1007ca80
pop ebp
ret 4
pop ebp
jmp fcn.1007c8e0

Function at 0x1008e7a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 0x1048], 0x3b
jne 0x1008e7b5
call fcn.1007ca80
pop ebp
ret 4
pop ebp
jmp fcn.1008e780

Function at 0x1008e820
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.1008e780
Function at 0x1008ec20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x105520d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push edi
push 0x1021cb20
push eax
mov ebx, ecx
mov byte [ebp - 0x7e], 0
call dword [sym.imp.MSVCR100.dll_fopen]
push 0x77
mov edi, eax
lea eax, [ebp - 0x7b]
push 0
push eax
mov byte [ebp - 0x7c], 0
call sub.MSVCR100.dll_memset
add esp, 0x14
mov byte [ebp - 0x82], 0
mov byte [ebp - 0x7d], 0
mov dword [ebp - 0x88], 0
test edi, edi
je 0x1008ee41
push esi
push 2
push 0
push edi
call dword [sym.imp.MSVCR100.dll_fseek]
push edi
call dword [sym.imp.MSVCR100.dll_ftell]
mov ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, esi
shl edx, 4
sub edx, esi
add edx, edx
add edx, edx
add edx, edx
sub ecx, edx
push ecx
push esi
push str.DIAG_PRL_WRITE_FILE:_Num_of_120_byts_Block_d__Last_Fragment_Size_d
lea eax, [ebx + 0xa5e4]
push 2
push eax
mov dword [ebp - 0x90], ecx
call fcn.10115e20
push 0
push 0
push edi
call dword [sym.imp.MSVCR100.dll_fseek]
add esp, 0x30
mov dword [ebp - 0x8c], 0
test esi, esi
jle 0x1008edc3
nop
push 0x78
lea ecx, [ebp - 0x7c]
push 0
push ecx
call sub.MSVCR100.dll_memset
push edi
push 0x78
lea edx, [ebp - 0x7c]
push 1
push edx
call dword [sym.imp.MSVCR100.dll_fread]
lea eax, [esi - 1]
add esp, 0x1c
cmp dword [ebp - 0x8c], eax
je 0x1008ed3f
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x7d]
push ecx
mov ecx, dword [ebp - 0x82]
push 0x78
lea edx, [ebp - 0x7c]
push edx
push 0x3c0
push eax
push 1
push ecx
jmp 0x1008eda1
cmp dword [ebp - 0x90], 0
jne 0x1008ed7e
lea edx, [ebp - 0x88]
push edx
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x7d]
push eax
mov eax, dword [ebp - 0x82]
push 0x78
lea ecx, [ebp - 0x7c]
push ecx
push 0x3c0
push edx
push 0
push eax
mov ecx, ebx
call fcn.1007ebe0
cmp byte [ebp - 0x7d], 1
jne 0x1008eda8
mov byte [ebp - 0x7e], 1
jmp 0x1008eda8
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x7d]
push edx
mov edx, dword [ebp - 0x82]
push 0x78
lea eax, [ebp - 0x7c]
push eax
push 0x3c0
push ecx
push 1
push edx
mov ecx, ebx
call fcn.1007ebe0
mov eax, dword [ebp - 0x8c]
inc byte [ebp - 0x82]
inc eax
mov dword [ebp - 0x8c], eax
cmp eax, esi
jl 0x1008ecf0
mov esi, dword [ebp - 0x90]
test esi, esi
jle 0x1008ee1f
push 0x78
lea eax, [ebp - 0x7c]
push 0
push eax
call sub.MSVCR100.dll_memset
push edi
push esi
lea ecx, [ebp - 0x7c]
push 1
push ecx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x1c
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x7d]
push eax
mov eax, dword [ebp + 8]
push esi
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, dword [ebp - 0x82]
lea edx, [esi*8]
push edx
push eax
push 0
push ecx
mov ecx, ebx
call fcn.1007ebe0
cmp byte [ebp - 0x7d], 1
mov bl, 1
je 0x1008ee22
mov bl, byte [ebp - 0x7e]
push edi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
pop esi
pop edi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x7e]
pop edi
xor ecx, ebp
pop ebx
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 8
Function at 0x1008ee60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x105520d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
push 0x1021caa0
push esi
mov dword [ebp - 0x8c], edi
mov byte [ebp - 0x7d], 0
call dword [sym.imp.MSVCR100.dll_fopen]
push 0x77
mov ebx, eax
lea eax, [ebp - 0x7b]
push 0
push eax
mov byte [ebp - 0x84], 0
mov byte [ebp - 0x7c], 0
call sub.MSVCR100.dll_memset
movzx ecx, byte [ebp + 8]
push esi
push ecx
xor eax, eax
push str.Diag_FTM::DIAG_READ_FILE_iNAM_Index_d__sPRL_Path_s_
add edi, 0xa5e4
push 2
push edi
mov byte [ebp - 0x7f], 0
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x80], al
mov byte [ebp - 0x7e], al
mov dword [ebp - 0x88], eax
call fcn.10115e20
add esp, 0x28
test ebx, ebx
je 0x1008ef66
mov esi, dword [sym.imp.MSVCR100.dll_fwrite]
lea ecx, [ecx]
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x7e]
push ecx
lea edx, [ebp - 0x80]
push edx
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x84]
lea ecx, [ebp - 0x7f]
push ecx
mov ecx, dword [ebp - 0x8c]
push edx
push eax
call fcn.1007eae0
test al, al
je 0x1008ef5a
mov al, byte [ebp - 0x7f]
test al, al
je 0x1008ef33
cmp al, 2
jne 0x1008ef50
movzx ecx, word [ebp - 0x88]
push ebx
shr ecx, 3
push ecx
lea edx, [ebp - 0x7c]
push 1
push edx
call esi
add esp, 0x10
inc byte [ebp - 0x84]
cmp byte [ebp - 0x7e], 0
jne 0x1008eef0
mov byte [ebp - 0x7d], 1
push ebx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
jmp 0x1008ef77
push esi
push str.Diag_FTM::DIAG_PRL_READ_FILE__:_Failed_to_open__s
push 0x10
push edi
call fcn.10115e20
add esp, 0x10
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x7d]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 8
Function at 0x1008f9b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x105520d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x34]
push ecx
push edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x40], eax
call dword [sym.imp.MSVCR100.dll__stat64i32]
add esp, 8
test eax, eax
je 0x1008fa0d
push edi
push str.QLIB_EFS2_DIAG_Put_not_able_to_get_file_size_pSourceFile___s_
push 2
add esi, 0xa5e4
push esi
call fcn.10115e20
add esp, 0x10
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x20]
cmp eax, 0x400
jbe 0x1008fa47
push 0x400
push edi
push str.QLIB_EFS2_DIAG_Put_source_file__s_is_too_big._Item_file_max_size_is__i_bytes_
push 2
add esi, 0xa5e4
push esi
call fcn.10115e20
add esp, 0x14
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 8
push eax
call dword [sym.imp.MSVCR100.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x1008f9f9
push ebx
push 0x1021cb20
push edi
call dword [sym.imp.MSVCR100.dll_fopen]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1008fa9c
mov edx, dword [ebp - 0x38]
push edi
push str.QLIB_EFS2_DIAG_Put_not_able_to_open_pSourceFile___s_
add edx, 0xa5e4
push 2
push edx
call fcn.10115e20
add esp, 0x10
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x20]
push ebx
push eax
push 1
push esi
call dword [sym.imp.MSVCR100.dll_fread]
push ebx
mov dword [ebp - 0x3c], eax
call dword [sym.imp.MSVCR100.dll_fclose]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x38]
add esp, 0x14
cmp dword [ebp - 0x3c], eax
je 0x1008faf6
push edi
push eax
push str.QLIB_EFS2_DIAG_Put_not_able_to_open_read_bytes__d_from_pSourceFile___s_
add ecx, 0xa5e4
push 2
push ecx
call fcn.10115e20
push esi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 0x18
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x40]
push eax
push esi
push edx
call fcn.10080510
push esi
mov bl, al
call dword [sym.imp.MSVCR100.dll_free]
mov ecx, dword [ebp - 4]
add esp, 4
mov al, bl
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 8
Function at 0x100b1de0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea edx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, edx
jb 0x100b1e59
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call sub.MSVCR100.dll_memcpy
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x100b1e30
sub eax, ebx
jmp 0x100b1e32
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x100b1e21
mov ecx, dword [edi + 0x40]
mov edx, ebx
lea ecx, [ecx + ebx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x100b1e4f
sub eax, ebx
jmp 0x100b1e51
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x100b1e40
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x100b1f2b
mov edx, dword [edi + 0x74]
add edx, dword [edi + 0x6c]
mov ecx, esi
add edx, dword [edi + 0x38]
mov esi, eax
push edx
call fcn.100b1b80
add dword [edi + 0x74], eax
mov edx, dword [edi + 0x74]
add esp, 4
cmp edx, 3
jb 0x100b1ea3
mov esi, dword [edi + 0x6c]
add esi, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx eax, byte [esi]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp edx, 0x106
jae 0x100b1eb7
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x100b1de5
mov eax, dword [edi + 0x16c0]
mov ecx, dword [edi + 0x3c]
cmp eax, ecx
jae 0x100b1f2b
mov esi, dword [edi + 0x6c]
add esi, edx
cmp eax, esi
jae 0x100b1efa
sub ecx, esi
mov ebx, ecx
cmp ebx, 0x102
jbe 0x100b1ede
mov ebx, 0x102
mov ecx, dword [edi + 0x38]
push ebx
add ecx, esi
push 0
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
add ebx, esi
pop esi
mov dword [edi + 0x16c0], ebx
pop ebx
ret
lea edx, [esi + 0x102]
cmp eax, edx
jae 0x100b1f2b
sub esi, eax
add esi, 0x102
sub ecx, eax
cmp esi, ecx
jbe 0x100b1f14
mov esi, ecx
mov ecx, dword [edi + 0x38]
push esi
add ecx, eax
push 0
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
add dword [edi + 0x16c0], esi
pop esi
pop ebx
ret
Function at 0x100c4e80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10217418
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x105520d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
jae 0x100c4eb8
lea eax, [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100c4ef3
push 5
mov ecx, esi
call fcn.100c49f0
cmp dword [ebp + 0x1c], 0x10
jb 0x100c4edf
mov eax, dword [ebp + 8]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x1c
push 0xffffffffffffffff
push 0
lea ecx, [ebp + 8]
push ecx
lea ecx, [esi + 0x38]
call fcn.10003140
cmp dword [ebp + 0x1c], 0x10
jb 0x100c4f15
mov edx, dword [ebp + 8]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x1c

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10217418
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x105520d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
jae 0x100c4f68
lea eax, [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100c4fa3
push 5
mov ecx, esi
call fcn.100c49f0
cmp dword [ebp + 0x1c], 0x10
jb 0x100c4f8f
mov eax, dword [ebp + 8]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x1c
push 0xffffffffffffffff
push 0
lea ecx, [ebp + 8]
push ecx
lea ecx, [esi + 0x54]
call fcn.10003140
cmp dword [ebp + 0x1c], 0x10
jb 0x100c4fc5
mov edx, dword [ebp + 8]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x100cb760
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ecx + 4]
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [ecx], eax
mov dword [ecx + 4], edx
cmp eax, 0xffffffff
jne 0x100cb7a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret 4
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x100cb7b0
Capabilities:
Delete drive layout via ioctl

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
push edi
mov edi, dword [ebp + 8]
push edi
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
push 0
mov esi, ecx
mov ecx, dword [esi + 4]
push 0x7c100
push ecx
mov dword [ebp - 4], 0
call ebx
test eax, eax
je 0x100cb80c
mov eax, dword [esi + 4]
push edi
lea edx, [ebp - 4]
push edx
push 0
push 0
push 0
push 0
push 0x70140
push eax
call ebx
test eax, eax
je 0x100cb80c
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100cb820
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 4]
push esi
push eax
lea edx, [ebp - 4]
push edx
push 8
xor esi, esi
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push 0x7405c
push ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
mov eax, dword [ebp + 8]
je 0x100cb86c
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
mov dword [eax], esi
mov dword [eax + 4], esi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x100d4400
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1020a9eb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x105520d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x10]
xor eax, eax
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], eax
mov byte [ecx], al
mov edx, 0x20000
push eax
push 0x1021c9c8
mov dword [ebp - 4], eax
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], edx
mov dword [esi], 0xffffffff
mov dword [esi + 4], eax
mov dword [esi + 0x34], eax
mov byte [esi + 0x38], al
mov dword [esi + 0xc], eax
call fcn.10003320
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100d90d0
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
push 0x8c
lea eax, [ebx + 4]
push 0
push eax
call fcn.100d8450
add esp, 0xc
lea edi, [ebx + 0xc]
mov ecx, 8
mov esi, 0x102d7e08
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
pop ebx
ret

Function at 0x100d9ce0
Capabilities:
Check for time delay via gettickcount
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1020b0d8
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x105520d0]
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, dword [ebp + 0x28]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x424], ebx
xor eax, eax
mov dword [ebp - 4], eax
cmp edi, eax
je 0x100d9e8c
cmp edi, 0xffffffff
je 0x100d9e8c
cmp dword [ebp + 0x1c], 0xffffffff
mov dword [ebp - 0x420], eax
je 0x100d9de0
push eax
push 0x1021c9c8
mov ecx, ebx
call fcn.10003320
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp + 0x20], 0x10
mov eax, dword [ebp + 0xc]
jae 0x100d9d5f
lea eax, [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
push ecx
push 0
push eax
mov ecx, ebx
call fcn.10066000
cmp eax, 0xffffffff
jne 0x100d9e70
call esi
push 0
lea edx, [ebp - 0x420]
push edx
push 1
lea eax, [ebp - 0x410]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100d9dc5
cmp dword [ebp - 0x420], 1
jne 0x100d9dc5
movzx ecx, byte [ebp - 0x410]
push ecx
call dword [sym.imp.MSVCR100.dll_isprint]
add esp, 4
test eax, eax
je 0x100d9d53
mov edx, dword [ebp - 0x410]
push edx
push 1
mov ecx, ebx
call fcn.10021d10
jmp 0x100d9d53
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0x20], 0x10
jb 0x100d9e9e
mov eax, dword [ebp + 0xc]
push eax
jmp 0x100d9e96
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x428]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ClearCommError]
test eax, eax
je 0x100d9e82
mov esi, dword [ebp - 0x418]
push 0
push 0x1021c9c8
mov ecx, ebx
call fcn.10003320
test esi, esi
jle 0x100d9e70
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x100d9e20
push 0
lea eax, [ebp - 0x420]
push eax
push 1
lea ecx, [ebp - 0x410]
push ecx
push edi
call ebx
test eax, eax
je 0x100d9e7c
cmp dword [ebp - 0x420], 1
jne 0x100d9e7c
movzx edx, byte [ebp - 0x410]
push edx
call dword [sym.imp.MSVCR100.dll_isprint]
add esp, 4
test eax, eax
je 0x100d9e6b
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x424]
push eax
push 1
call fcn.10021d10
dec esi
test esi, esi
jg 0x100d9e20
lea ecx, [ebp + 0xc]
call fcn.101d8f40
mov al, 1
jmp 0x100d9ea0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp + 0xc]
call fcn.101d8f40
jmp 0x100d9e9e
cmp dword [ebp + 0x20], 0x10
jb 0x100d9e9e
mov ecx, dword [ebp + 0xc]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
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.10203cc8
mov esp, ebp
pop ebp
ret 0x24