joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4153f0
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push ebx
sub esp, 0x40
mov esi, dword [esp + 0x50]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov eax, dword [esi]
mov edx, dword [eax]
mov edx, dword [edx + 0x40]
test edx, edx
je 0x41546c
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], 0
mov dword [esp + 8], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], ecx
mov dword [esp], eax
call edx
mov ebx, eax
mov eax, edx
or eax, ebx
jne 0x415480
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x415590
mov eax, dword [esp + 0x54]
test eax, eax
je 0x415510
mov eax, dword [esi]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
add esp, 0x40
mov ebx, eax
mov eax, ebx
pop ebx
pop esi
pop edi
ret
mov dword [esp + 4], edx
mov dword [esp], ebx
mov dword [esp + 0x2c], edx
call fcn.0041d490
mov esi, dword [fcn.004a1b90]
mov dword [esp], 2
mov edi, eax
call esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x4aa8ca
mov dword [esp + 4], str.__s__Operation_check_if_in_use_exited_with_error:__lu___s_
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4aa8c7
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call esi
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov edx, dword [esp + 0x2c]
add esp, 0x40
mov eax, ebx
pop ebx
pop esi
pop edi
ret
mov edi, str.mounted
mov ebx, dword [fcn.004a1b90]
mov dword [esp], 2
call ebx
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x4aa8ca
mov dword [esp + 4], str.__s__Refusing_to_open_device_which_appears_to_be__s.
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call ebx
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4aa8c7
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call ebx
mov ebx, 0xe
mov dword [esp], eax
call sub.msvcrt.dll_fflush
add esp, 0x40
mov eax, ebx
mov edx, 1
pop ebx
pop esi
pop edi
ret
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x41546a
mov edx, dword [esp + 0x54]
mov edi, str.in_use
test edx, edx
je 0x415515
mov eax, dword [esi]
jmp 0x41546c
Function at 0x415b90
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
mov dword [esp], edi
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 8], edi
mov edi, dword [esp + 0x54]
mov dword [esp + 0xc], ebp
mov ebp, dword [eax + 0x18]
test ecx, ecx
je 0x415c40
or ebx, 1
test ebp, ebp
jne 0x415c60
test esi, esi
je 0x415c20
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 8]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 4]
mov dword [esp + 0x3c], edi
mov edi, dword [esp]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], esi
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00414230
xor eax, eax
xor edx, edx
test edi, edi
je 0x415c2e
mov dword [edi], 0
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
test ebp, ebp
jne 0x415c4d
or ebx, 1
test byte [eax + 4], 0x80
jne 0x415be0
add esp, 0x1c
mov eax, 0xd
mov edx, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebp, dword [esp + 4]
mov dword [esp + 0x40], edi
mov edi, dword [esp]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], esi
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00414520

Function at 0x415d50
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
mov dword [esp + 8], edi
mov ebx, dword [eax + 0x18]
mov edi, dword [esp + 0x48]
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x4c]
test ecx, ecx
je 0x415de0
test ebx, ebx
jne 0x415db2
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 8]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], esi
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00414030
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 8]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], esi
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00414520
test ebx, ebx
jne 0x415dea
test byte [eax + 4], 0x80
jne 0x415d8a
add esp, 0x1c
mov eax, 0xd
mov edx, 1
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x419fa0
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
test byte [edx + 4], 8
je 0x419fc0
add esp, 0x30
xor ebx, ebx
xor edx, edx
mov eax, ebx
pop ebx
pop esi
pop edi
ret
mov eax, dword [eax + 0x14]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__get_osfhandle]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
sub esp, 4
test eax, eax
jne 0x419fac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], 2
mov edx, 2
mov dword [esp], eax
mov ebx, eax
mov dword [esp + 0x2c], edx
call fcn.0041d490
mov esi, dword [fcn.004a1b90]
mov dword [esp], 2
mov edi, eax
call esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x4aaea0
mov dword [esp + 4], str.__s__Error_while_flushing_file_buffers:__lu___s_
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4aaeff
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call esi
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov edx, dword [esp + 0x2c]
add esp, 0x30
mov eax, ebx
pop ebx
pop esi
pop edi
ret

Function at 0x41bed0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, edx
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x3c
movzx ebx, byte [eax + 1]
mov edx, dword [eax + 8]
mov dword [esp + 0x2c], ecx
test bl, 3
je 0x41bf30
xor eax, eax
xor ecx, ecx
nop
movzx edi, byte [ebp + ecx]
add ecx, 1
add edi, eax
mov eax, edi
shl eax, 0xa
add eax, edi
mov edi, eax
shr edi, 6
xor eax, edi
cmp ecx, ebx
jb 0x41bef0
lea eax, [eax + eax*8]
mov edi, 0x3fffffff
mov ebx, eax
shr ebx, 0xb
xor ebx, eax
mov eax, ebx
shl eax, 0xf
add ebx, eax
and ebx, edx
jmp 0x41bf3c
movzx eax, byte [eax + 2]
xor edi, edi
and edx, dword [ebp + eax]
mov ebx, edx
mov dword [esp + 0x28], 0
jmp 0x41bf77
movzx eax, byte [esi + 1]
lea ecx, [edi*4]
lea ebx, [ebx + ebx*4 + 1]
cmp ecx, eax
jae 0x41bf74
mov edx, dword [ebp + edi*4]
add dword [esp + 0x28], edx
add edi, 1
mov eax, dword [esp + 0x28]
add ebx, eax
and ebx, dword [esi + 8]
mov ecx, dword [esi + 0x18]
mov eax, ebx
shr eax, 2
movzx eax, byte [ecx + eax]
mov ecx, ebx
mov dword [esp + 0xc], ebx
and ecx, 3
mov dword [esp + 4], ebp
add ecx, ecx
mov dword [esp], esi
sar eax, cl
and eax, 3
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
call dword [esp + 0x50]
test eax, eax
je 0x41bf50
mov edx, dword [esp + 0x54]
test edx, edx
je 0x41bfbc
mov edx, dword [esp + 0x54]
mov dword [edx], ebx
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x41c580
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [esp + 0x60]
lea ebx, [esp + 0x3c]
mov edi, dword [esp + 0x64]
mov dword [esp + 4], 0x24
mov dword [esp + 8], ebx
mov esi, dword [esp + 0x68]
mov dword [esp], 0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x2c], eax
call fcn.00427280
mov ebp, eax
mov eax, edx
or eax, ebp
jne 0x41c612
mov eax, dword [esp + 0x3c]
movzx ecx, byte [esp + 0x28]
mov edx, 1
mov byte [eax], cl
mov ecx, edi
mov byte [eax + 1], cl
mov ecx, esi
mov byte [eax + 2], cl
movzx ecx, byte [esp + 0x2c]
mov byte [eax + 3], cl
call fcn.0041bfd0
mov ebp, eax
mov eax, edx
or eax, ebp
jne 0x41c691
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x3c]
mov dword [eax], ebx
add esp, 0x4c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], edx
mov dword [esp], ebp
mov dword [esp + 0x28], edx
call fcn.0041d490
mov esi, dword [fcn.004a1b90]
mov dword [esp], 2
mov edi, eax
call esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0x4abe00
mov dword [esp + 4], str.__s__Error_while_allocating_hash_table_header:__lu___s_
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4abe40
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call esi
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x41c6ad
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 0x28], edx
call fcn.0041d440
mov edx, dword [esp + 0x28]
add esp, 0x4c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x41d1c0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov ebx, dword [esp + 0x20]
mov dword [esp + 8], 0x29
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], str._________________________________________n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x24
mov dword [esp + 4], 1
mov dword [esp], str.Copyright__C__2010_2021_Tuxera_Inc._n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x15
mov dword [esp + 4], 1
mov dword [esp], str.All_rights_reserved._n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x29
mov dword [esp + 4], 1
mov dword [esp], str._________________________________________n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 9
mov dword [esp + 4], 1
mov dword [esp], str.Authors:_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x1e
mov dword [esp + 4], 1
mov dword [esp], str.____Erik_Larsson__Tuxera_Inc._n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x20
mov dword [esp + 4], 1
mov dword [esp], str.____Sougata_Santra__Tuxera_Inc._n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x23
mov dword [esp + 4], 1
mov dword [esp], str.____Rostislav_Skudnov__Tuxera_Inc._n
call sub.msvcrt.dll_fwrite
add esp, 0x18
pop ebx
ret
Function at 0x4270d0
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [esp + 0x54]
mov dword [esp], 1
mov dword [esp + 4], eax
call sub.msvcrt.dll_calloc
test eax, eax
je 0x427110
mov edx, dword [esp + 0x58]
mov dword [esp + 0x28], 0
mov dword [edx], eax
mov eax, dword [esp + 0x28]
add esp, 0x3c
xor edx, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [sym.imp.msvcrt.dll__errno]
xor ebx, ebx
call esi
mov eax, dword [eax]
test eax, eax
sete bl
call esi
mov edx, ebx
mov esi, dword [eax]
mov dword [esp + 4], edx
mov dword [esp + 0x2c], edx
mov dword [esp], esi
mov dword [esp + 0x28], esi
call fcn.0041d490
mov ebp, dword [fcn.004a1b90]
mov dword [esp], 2
mov ebx, eax
call ebp
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0x4b89ba
mov dword [esp + 4], str.__s__calloc_failed_for__Iu_bytes:__lu___s_
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call ebp
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4b89f6
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call ebp
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4271c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, eax
push edi
push esi
push ebx
xor ebx, ebx
sub esp, 0x3c
mov esi, dword [sym.imp.msvcrt.dll__errno]
call esi
mov eax, dword [eax]
test eax, eax
sete bl
call esi
xor edx, edx
mov eax, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp + 0x24], edx
mov dword [esp], eax
mov dword [esp + 0x20], eax
call fcn.0041d490
mov edi, dword [fcn.004a1b90]
mov dword [esp], 2
mov dword [esp + 0x2c], eax
call edi
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0x4b89ba
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 4], str.__s__malloc_failed_for__Iu_bytes:__lu___s_
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call edi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4b89f6
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call edi
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov eax, dword [esp + 0x20]
add esp, 0x3c
mov edx, ebx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x427280
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov dword [esp], ebx
call sub.msvcrt.dll_malloc
test eax, eax
je 0x4272a5
mov dword [esi], eax
add esp, 0x14
xor eax, eax
xor edx, edx
pop ebx
pop esi
ret
add esp, 0x14
mov eax, ebx
pop ebx
pop esi
jmp fcn.004271c0
Function at 0x427410
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll_realloc
test eax, eax
je 0x427440
mov dword [esi], eax
add esp, 0x14
xor eax, eax
xor edx, edx
pop ebx
pop esi
ret
add esp, 0x14
mov eax, ebx
pop ebx
pop esi
jmp fcn.00427350
Function at 0x429080
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 8], edx
xor edx, edx
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x10], ebx
pop ebx
jmp 0x427d70
Function at 0x42b350
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [esp + 0x50]
mov ebx, dword [eax]
mov eax, dword [ebx]
mov esi, dword [ebx + 4]
mov dword [esp + 0x2c], eax
test esi, esi
je 0x42b522
xor esi, esi
jmp 0x42b3be
mov edx, dword [ebx + 0xc]
imul edx, esi
add edx, dword [ebx + 0x10]
mov ecx, dword [edx]
test ecx, ecx
je 0x42b394
mov eax, dword [ecx]
sub dword [ebx], eax
mov dword [esp + 4], edx
mov dword [esp], ecx
call fcn.0041d440
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x42b3b6
mov eax, dword [ebp]
test eax, eax
je 0x42b3b6
mov edx, dword [ebx + 0x24]
test edx, edx
jne 0x42b460
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.0041d440
add esi, 1
cmp dword [ebx + 4], esi
jbe 0x42b3fc
mov eax, dword [ebx + 0x1c]
xor ebp, ebp
test eax, eax
je 0x42b3cf
mov ebp, dword [ebx + 0x18]
imul ebp, esi
add ebp, eax
mov edx, esi
mov ecx, dword [ebx + 0x20]
shr edx, 3
movzx ecx, byte [ecx + edx]
mov edx, esi
and edx, 7
bt ecx, edx
jae 0x42b372
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x42b3f1
mov dword [esp], ebp
call eax
sub dword [ebx], 1
add esi, 1
cmp dword [ebx + 4], esi
ja 0x42b3be
mov esi, dword [ebx]
test esi, esi
jne 0x42b4b0
lea eax, [ebx + 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x20]
mov dword [esp], eax
call fcn.0041d440
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x42b42e
lea edx, [ebx + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0041d440
lea eax, [ebx + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call fcn.0041d440
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0041d440
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [eax]
test ecx, ecx
je 0x42b3aa
mov dword [esp + 0x28], esi
xor edi, edi
mov esi, ebx
mov ebx, eax
jmp 0x42b483
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x18]
imul eax, edi
add edi, 1
lea eax, [ebx + eax + 4]
mov dword [esp], eax
call edx
cmp dword [ebx], edi
ja 0x42b480
mov ebx, esi
mov eax, dword [ebp]
mov esi, dword [esp + 0x28]
jmp 0x42b3aa
mov edi, dword [fcn.004a1b90]
mov dword [esp], 2
call edi
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x535861
mov dword [esp + 0x10], ecx
mov dword [esp + 4], str.__s__Non_zero_hash_set_item_count_after_destroy:__Iu__before:__Iu_
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call edi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x5353f3
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call edi
mov dword [esp], eax
call sub.msvcrt.dll_fflush
jmp 0x42b406
mov esi, dword [esp + 0x2c]
jmp 0x42b3fe
Function at 0x42c2e0
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], 0
test edx, edx
je 0x42c3a0
mov esi, dword [eax + 0x14]
test esi, esi
jne 0x42c310
xor edi, edi
xor edx, edx
add esp, 0x4c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [eax]
mov ebp, dword [eax + 0x10]
mov ebx, eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 8]
xor edx, edx
mov ecx, dword [edi + 0xc]
sub esi, ebp
shld edx, eax, cl
shl eax, cl
test cl, 0x20
je 0x42c337
mov edx, eax
xor eax, eax
mov dword [esp + 0x28], ebp
add eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
lea eax, [ebx + ebp + 0x18]
mov dword [esp + 0x2c], 0
adc edx, dword [esp + 0x2c]
mov dword [esp + 0x10], edx
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00432320
mov edi, eax
mov eax, edx
or eax, edi
jne 0x42c430
mov ebp, dword [esp + 0x3c]
cmp ebp, esi
jne 0x42c3b1
mov dword [ebx + 0x14], 0
mov eax, edi
mov dword [ebx + 0x10], 0
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x4c
mov edi, 0x16
xor edx, edx
pop ebx
mov eax, edi
pop esi
pop edi
pop ebp
ret
mov ebx, dword [fcn.004a1b90]
mov dword [esp], 2
mov edi, 5
call ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0x5361a0
mov dword [esp + 4], str.__s__Incomplete_write:__Iu____Iu_bytes_written.
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call ebx
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x5361e1
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call ebx
mov dword [esp], eax
call sub.msvcrt.dll_fflush
xor edx, edx
jmp 0x42c305
mov dword [esp + 4], edx
mov dword [esp], edi
mov dword [esp + 0x28], edx
call fcn.0041d490
mov ebx, dword [fcn.004a1b90]
mov dword [esp], 2
mov esi, eax
call ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x5361a0
mov dword [esp + 4], str.__s__Error_while_committing_bitmap_cache_entry:__lu___s_
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call ebx
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x5361e1
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call ebx
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov edx, dword [esp + 0x28]
add esp, 0x4c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x42dfc0
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 4], edx
xor edx, edx
jmp fcn.0042c830

Function at 0x42ed10
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
lea ebp, [esp + 0x2c]
mov dword [esp + 4], 0x14
mov dword [esp + 8], ebp
mov dword [esp], 0
mov dword [esp + 0x2c], 0
call fcn.00427280
mov esi, eax
mov eax, edx
or eax, esi
je 0x42edc0
mov ebx, edx
mov edi, dword [fcn.004a1b90]
mov dword [esp], 2
call edi
mov dword [esp + 0xc], 0x14
mov dword [esp + 8], 0x5361a0
mov dword [esp + 4], str.__s__Failed_to_allocate__Iu_bytes_for_exfat_bitmap_cache_struct.
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call edi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x5361e1
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call edi
mov dword [esp], eax
call sub.msvcrt.dll_fflush
add esp, 0x3c
mov eax, esi
mov edx, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
movzx ecx, byte [esp + 0x5c]
mov eax, dword [esp + 0x2c]
mov edi, 4
mov dword [esp], 0
shl edi, cl
add eax, 0x10
mov dword [esp + 8], eax
mov dword [esp + 4], edi
call fcn.00427280
mov esi, eax
mov eax, edx
mov ebx, edx
or eax, esi
je 0x42ee90
mov edx, dword [fcn.004a1b90]
mov dword [esp], 2
mov dword [esp + 0x1c], edx
call edx
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x5361a0
mov dword [esp + 4], str.__s__Failed_to_allocate__Iu_bytes_for_bitmap_cache_entry_array.
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov edx, dword [esp + 0x1c]
mov dword [esp], 2
call edx
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x5361e1
call sub.msvcrt.dll_fwrite
mov edx, dword [esp + 0x1c]
mov dword [esp], 2
call edx
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x10], 0
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.0041d440
add esp, 0x3c
mov eax, esi
mov edx, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x10]
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
mov dword [eax + 4], ecx
movzx ecx, byte [esp + 0x5c]
mov dword [eax], edx
mov edx, 1
shl edx, cl
sub edx, 1
mov dword [eax + 8], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x50]
mov dword [edx], eax
add esp, 0x3c
mov eax, esi
mov edx, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x42eef0
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov edi, dword [esp + 0x30]
mov ebp, dword [edi]
test ebp, ebp
je 0x42ef5e
mov ecx, dword [ebp + 4]
mov esi, 1
shl esi, cl
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x42ef35
xor ebx, ebx
lea edx, [ecx + ebx*4]
mov eax, dword [edx]
test eax, eax
je 0x42ef2e
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041d440
mov ebp, dword [edi]
mov ecx, dword [ebp + 0x10]
add ebx, 1
cmp esi, ebx
jne 0x42ef14
add ebp, 0x10
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.0041d440
mov dword [esp + 4], edi
mov eax, dword [edi]
mov dword [esp], eax
call fcn.0041d440
xor eax, eax
xor edx, edx
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [fcn.004a1b90]
mov dword [esp], 2
call ebx
mov dword [esp + 8], 0x5366e7
mov dword [esp + 4], str.__s__Attempted_to_destroy_NULL_pointer_
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call ebx
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x5361e1
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call ebx
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov eax, 0x16
xor edx, edx
jmp 0x42ef56