joyce8/EMBER2024-capa huggingface dataset:
Function at 0x76b57c45
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x76b57ca1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x76b57ca1
movzx eax, word [ecx + 0x18]
mov edx, 0x10b
cmp ax, dx
je 0x76b57c91
mov edx, 0x20b
cmp ax, dx
jne 0x76b57ca1
cmp dword [ecx + 0x84], 0xe
jbe 0x76b57ca1
xor eax, eax
cmp dword [ecx + 0xf8], eax
setne al
ret
cmp dword [ecx + 0x74], 0xe
jbe 0x76b57ca1
xor eax, eax
cmp dword [ecx + 0xe8], eax
jmp 0x76b57c8d
xor eax, eax
ret

Function at 0x76b58220
Capabilities:
Create thread
Resume thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
test ebx, ebx
jne 0x76b5824e
call sym.msvcrt.dll__errno
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call sym.msvcrt.dll__invalid_parameter
add esp, 0x14
or eax, 0xffffffff
jmp 0x76b582be
push edi
call sym.msvcrt.dll__CrtDbgReport
push 0x214
push 1
call fcn.76b38729
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x76b582a8
call fcn.76b58023
push dword [eax + 0x6c]
push edi
call fcn.76b580b0
mov eax, dword [ebp + 0x10]
pop ecx
pop ecx
mov dword [edi + 0x58], eax
lea eax, [ebp - 4]
push eax
push 4
push edi
push 0x76b58370
push dword [ebp + 0xc]
mov dword [edi + 0x54], ebx
push esi
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov esi, eax
mov dword [edi + 4], esi
test esi, esi
jne 0x76b582c2
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
push edi
call sym.msvcrt.dll_free
pop ecx
test esi, esi
je 0x76b582ba
push esi
call fcn.76b262a9
pop ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
push esi
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x76b582a0
mov eax, esi
jmp 0x76b582bd

Function at 0x76b583e0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
test ebx, ebx
jne 0x76b5840e
call sym.msvcrt.dll__errno
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call sym.msvcrt.dll__invalid_parameter
add esp, 0x14
or eax, 0xffffffff
jmp 0x76b58486
push edi
call sym.msvcrt.dll__CrtDbgReport
push 0x214
push 1
call fcn.76b38729
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x76b58471
call fcn.76b58023
push dword [eax + 0x6c]
push edi
call fcn.76b580b0
mov eax, dword [ebp + 0x14]
or dword [edi + 4], 0xffffffff
mov dword [edi + 0x58], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x54], ebx
pop ecx
pop ecx
test eax, eax
jne 0x76b5844f
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x18]
push edi
push 0x76b58520
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
test eax, eax
jne 0x76b58485
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
push edi
call sym.msvcrt.dll_free
pop ecx
test esi, esi
je 0x76b58483
push esi
call fcn.76b262a9
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x76b59790
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
mov esi, ebx
cmp edi, dword [esi*8 + 0x76af1620]
je 0x76b597af
inc esi
cmp esi, 0x17
jb 0x76b597a0
cmp esi, 0x17
jae 0x76b598ef
push 3
call sym.msvcrt.dll__set_error_mode
pop ecx
cmp eax, 1
je 0x76b598b9
push 3
call sym.msvcrt.dll__set_error_mode
pop ecx
test eax, eax
jne 0x76b597e2
cmp dword [0x76baaac8], 1
je 0x76b598b9
cmp edi, 0xfc
je 0x76b598ef
push 0x76af6f58
push 0x314
mov edi, 0x76bab5e8
push edi
call sym.msvcrt.dll_strcpy_s
add esp, 0xc
test eax, eax
je 0x76b59817
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.76b4977b
add esp, 0x14
push 0x104
push 0x76bab601
push ebx
mov byte [0x76bab705], bl
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameA]
test eax, eax
jne 0x76b5985a
push 0x76af5adc
push 0x2fb
push 0x76bab601
call sym.msvcrt.dll_strcpy_s
add esp, 0xc
test eax, eax
je 0x76b5985a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.76b4977b
add esp, 0x14
push 0x76af5ab8
push 0x314
push edi
call sym.msvcrt.dll_strcat_s
add esp, 0xc
test eax, eax
je 0x76b5987e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.76b4977b
add esp, 0x14
push dword [esi*8 + 0x76af1624]
push 0x314
push edi
call sym.msvcrt.dll_strcat_s
add esp, 0xc
test eax, eax
je 0x76b598a4
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.76b4977b
add esp, 0x14
push 0x12010
push 0x76af5bc8
push edi
call fcn.76b5039d
add esp, 0xc
jmp 0x76b598ef
push 0xfffffffffffffff4
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetStdHandle]
mov edx, eax
test edx, edx
je 0x76b598ef
cmp edx, 0xffffffff
je 0x76b598ef
mov esi, dword [esi*8 + 0x76af1624]
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x76b598d8
push ebx
lea eax, [ebp - 4]
sub ecx, edi
push eax
push ecx
push esi
push edx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x76b59a0a
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x76b59a67
mov eax, dword [0x76bab908]
test eax, eax
jne 0x76b59a32
push 0x244
call fcn.76b38776
mov dword [0x76bab908], eax
pop ecx
test eax, eax
je 0x76b59a63
mov ecx, dword [0x76bab904]
test ecx, ecx
je 0x76b59a4f
push ecx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
and dword [0x76bab904], 0
mov eax, dword [0x76bab908]
push eax
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileA]
mov dword [0x76bab904], eax
cmp eax, 0xffffffff
jne 0x76b59a92
xor eax, eax
pop ebp
ret
push dword [0x76bab908]
push dword [0x76bab904]
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileA]
test eax, eax
jne 0x76b59a92
push dword [0x76bab904]
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
and dword [0x76bab904], 0
jmp 0x76b59a63
mov eax, dword [0x76bab908]
add eax, 0x2c
pop ebp
ret
Function at 0x76b59d97
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x76b59df4
mov eax, dword [0x76bab918]
test eax, eax
jne 0x76b59dbf
push 0x354
call fcn.76b38776
mov dword [0x76bab918], eax
pop ecx
test eax, eax
je 0x76b59df0
mov ecx, dword [0x76bab914]
test ecx, ecx
je 0x76b59ddc
push ecx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
and dword [0x76bab914], 0
mov eax, dword [0x76bab918]
push eax
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
mov dword [0x76bab914], eax
cmp eax, 0xffffffff
jne 0x76b59e1f
xor eax, eax
pop ebp
ret
push dword [0x76bab918]
push dword [0x76bab914]
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
jne 0x76b59e1f
push dword [0x76bab914]
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
and dword [0x76bab914], 0
jmp 0x76b59df0
mov eax, dword [0x76bab918]
add eax, 0x2c
pop ebp
ret
Function at 0x76b6352e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x14]
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
mov eax, ebx
and al, 8
movzx eax, al
neg eax
sbb eax, eax
dec dword [edi]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
movzx eax, word [eax]
push eax
call fcn.76b6498f
pop ecx
mov edx, ebx
mov ecx, ebx
and edx, 4
and ecx, 0x10
mov eax, ebx
mov dword [ebp - 8], edx
and eax, 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x76b63591
mov ecx, dword [ebp + 0x1c]
mov eax, ecx
dec ecx
mov dword [ebp + 0x1c], ecx
test eax, eax
je 0x76b6367e
inc dword [edi]
call fcn.76b3b966
cmp dword [ebp - 0x14], 0
mov di, ax
mov eax, dword [ebp + 0x10]
mov word [eax], di
jne 0x76b635f2
test bl, 0x20
je 0x76b635be
cmp di, 9
jb 0x76b635b8
cmp di, 0xd
jbe 0x76b635be
cmp di, 0x20
jne 0x76b635f2
test bl, 0x40
je 0x76b63665
movzx eax, di
mov ecx, eax
shr ax, 3
movzx eax, ax
cmp cx, ax
jb 0x76b63665
xor edx, edx
and ecx, 7
inc edx
shl edx, cl
mov ecx, dword [ebp + 0xc]
movsx eax, byte [eax + ecx]
xor eax, dword [ebp - 0x18]
test eax, edx
je 0x76b63665
mov edx, dword [ebp - 8]
test edx, edx
jne 0x76b63656
mov eax, dword [esi]
test bl, 2
je 0x76b63608
mov word [eax], di
add dword [esi], 2
jmp 0x76b6365a
and dword [ebp - 0x10], 0
push edi
push 5
push eax
lea eax, [ebp - 0x10]
push eax
call sym.msvcrt.dll_wctomb_s
add esp, 0x10
test eax, eax
je 0x76b63640
cmp eax, 0x16
je 0x76b6362a
cmp eax, 0x22
jne 0x76b6363e
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.76b4977b
mov edx, dword [ebp - 8]
add esp, 0x14
jmp 0x76b6365a
test eax, eax
mov edi, dword [ebp + 0x14]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
jne 0x76b6357c
mov eax, dword [ebp - 0x10]
add dword [esi], eax
jmp 0x76b6365d
add dword [ebp - 0xc], 2
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp - 4]
jmp 0x76b6357c
mov eax, dword [ebp + 0x14]
dec dword [eax]
mov eax, dword [ebp + 0x10]
movzx eax, word [eax]
push eax
call fcn.76b6498f
mov edx, dword [ebp - 8]
pop ecx
xor ecx, ecx
jmp 0x76b63681
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
cmp eax, dword [esi]
je 0x76b636a8
test edx, edx
jne 0x76b636a4
mov eax, dword [ebp + 0x24]
inc dword [eax]
test ecx, ecx
jne 0x76b636a4
mov eax, dword [esi]
test bl, 2
je 0x76b636a1
mov word [eax], cx
jmp 0x76b636a4
mov byte [eax], 0
xor eax, eax
jmp 0x76b636ab
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x76b649e6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x18]
mov eax, dword [edi]
mov dword [ebp - 4], eax
mov eax, ebx
and al, 8
movzx eax, al
neg eax
sbb eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
dec dword [eax]
mov eax, dword [ebp + 0x10]
movzx eax, word [eax]
push eax
call fcn.76b6498f
mov esi, dword [ebp + 0x20]
mov edx, ebx
and edx, 0x10
pop ecx
mov dword [ebp - 0x14], edx
jne 0x76b64a2a
dec esi
mov ecx, ebx
mov edx, ebx
and ecx, 4
and edx, 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
test edx, edx
je 0x76b64a4f
mov edx, dword [ebp + 0x1c]
mov eax, edx
dec edx
mov dword [ebp + 0x1c], edx
test eax, eax
je 0x76b64b24
mov eax, dword [ebp + 0x14]
inc dword [eax]
call fcn.76b3b966
cmp dword [ebp - 0x14], 0
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov word [ecx], ax
jne 0x76b64ab2
test bl, 0x20
je 0x76b64a7f
cmp ax, 9
jb 0x76b64a79
cmp ax, 0xd
jbe 0x76b64a7f
cmp ax, 0x20
jne 0x76b64ab2
test bl, 0x40
je 0x76b64b0f
movzx eax, ax
mov ecx, eax
shr ax, 3
movzx eax, ax
cmp cx, ax
jb 0x76b64b0f
xor edx, edx
and ecx, 7
inc edx
shl edx, cl
mov ecx, dword [ebp + 0xc]
movsx eax, byte [eax + ecx]
xor eax, dword [ebp - 0x18]
test eax, edx
je 0x76b64b0f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
jne 0x76b64b03
test esi, esi
je 0x76b64b4c
mov edx, dword [edi]
test bl, 2
je 0x76b64ad1
mov word [edx], ax
add dword [edi], 2
dec esi
jmp 0x76b64b07
and dword [ebp - 0x10], 0
push eax
push esi
push edx
lea eax, [ebp - 0x10]
push eax
call sym.msvcrt.dll_wctomb_s
add esp, 0x10
cmp eax, 0x22
je 0x76b64b4c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
test eax, eax
jle 0x76b64a3a
add dword [edi], eax
sub esi, eax
jmp 0x76b64a3a
add dword [ebp - 4], 2
mov edx, dword [ebp - 8]
jmp 0x76b64a3a
mov eax, dword [ebp + 0x14]
dec dword [eax]
mov eax, dword [ebp + 0x10]
movzx eax, word [eax]
push eax
call fcn.76b6498f
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
cmp eax, dword [edi]
je 0x76b64b69
test ecx, ecx
jne 0x76b64b48
mov eax, dword [ebp + 0x28]
inc dword [eax]
cmp dword [ebp - 0x14], ecx
jne 0x76b64b48
mov eax, dword [edi]
test bl, 2
je 0x76b64b45
mov word [eax], cx
jmp 0x76b64b48
mov byte [eax], 0
xor eax, eax
jmp 0x76b64b6c
call sym.msvcrt.dll__errno
mov dword [eax], 0xc
mov eax, dword [ebp - 4]
test bl, 2
je 0x76b64b66
xor ecx, ecx
mov word [eax], cx
jmp 0x76b64b69
mov byte [eax], 0
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x76b7711a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x18]
push dword [ebp + 0x20]
mov eax, dword [edi]
mov dword [ebp - 0x10], eax
mov eax, ebx
and al, 8
movzx eax, al
neg eax
sbb eax, eax
dec dword [esi]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
movzx eax, word [eax]
push eax
call fcn.76b51e20
pop ecx
pop ecx
mov ecx, ebx
mov edx, ebx
mov eax, ebx
and ecx, 4
and edx, 0x10
mov dword [ebp - 0xc], ecx
and eax, 1
mov dword [ebp - 4], edx
and dword [ebp - 0x1c], 0
mov dword [ebp - 8], eax
test eax, eax
je 0x76b77182
mov eax, dword [ebp + 0x1c]
dec dword [ebp + 0x1c]
test eax, eax
je 0x76b7728c
push dword [ebp + 0x20]
inc dword [esi]
call fcn.76b6ba1d
pop ecx
mov ecx, dword [ebp + 0x10]
movzx esi, ax
mov word [ecx], ax
mov ecx, 0xffff
cmp cx, ax
je 0x76b77270
mov edx, dword [ebp - 4]
test edx, edx
jne 0x76b771f6
test bl, 0x20
je 0x76b771bf
cmp esi, 9
jb 0x76b771ba
cmp esi, 0xd
jbe 0x76b771bf
cmp esi, 0x20
jne 0x76b771f6
test bl, 0x40
je 0x76b77270
mov ax, si
shr ax, 3
movzx eax, ax
cmp si, ax
jb 0x76b77270
xor edx, edx
mov ecx, esi
and ecx, 7
inc edx
shl edx, cl
mov ecx, dword [ebp + 0xc]
movsx eax, byte [eax + ecx]
xor eax, dword [ebp - 0x18]
test eax, edx
je 0x76b77270
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
jne 0x76b77261
mov eax, dword [edi]
test bl, 2
je 0x76b7720c
mov word [eax], si
add dword [edi], 2
jmp 0x76b77265
and dword [ebp - 0x14], 0
push esi
push 5
push eax
lea eax, [ebp - 0x14]
push eax
call sym.msvcrt.dll_wctomb_s
add esp, 0x10
test eax, eax
je 0x76b77248
cmp eax, 0x16
je 0x76b7722e
cmp eax, 0x22
jne 0x76b77246
mov eax, dword [ebp - 0x1c]
push eax
push eax
push eax
push eax
push eax
call fcn.76b4977b
mov ecx, dword [ebp - 0xc]
add esp, 0x14
mov edx, dword [ebp - 4]
jmp 0x76b77265
test eax, eax
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
jne 0x76b77170
mov eax, dword [ebp - 0x14]
add dword [edi], eax
jmp 0x76b77268
add dword [ebp - 0x10], 2
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp - 8]
jmp 0x76b77170
mov eax, dword [ebp + 0x14]
push dword [ebp + 0x20]
dec dword [eax]
mov eax, dword [ebp + 0x10]
movzx eax, word [eax]
push eax
call fcn.76b51e20
mov edx, dword [ebp - 4]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
cmp eax, dword [edi]
je 0x76b772b3
test ecx, ecx
jne 0x76b772af
mov eax, dword [ebp + 0x28]
inc dword [eax]
test edx, edx
jne 0x76b772af
mov eax, dword [edi]
test bl, 2
je 0x76b772ac
mov word [eax], cx
jmp 0x76b772af
mov byte [eax], 0
xor eax, eax
jmp 0x76b772b6
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x76b785db
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x18]
push dword [ebp + 0x20]
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov eax, ebx
and al, 8
movzx eax, al
neg eax
sbb eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
dec dword [eax]
mov eax, dword [ebp + 0x10]
movzx eax, word [eax]
push eax
call fcn.76b51e20
mov esi, dword [ebp + 0x24]
mov edx, ebx
pop ecx
and edx, 0x10
pop ecx
mov dword [ebp - 4], edx
jne 0x76b78623
dec esi
mov ecx, ebx
and ecx, 4
mov dword [ebp - 0x10], ecx
mov ecx, ebx
and ecx, 1
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x76b78648
mov ecx, dword [ebp + 0x1c]
mov eax, ecx
dec ecx
mov dword [ebp + 0x1c], ecx
test eax, eax
je 0x76b7875d
mov eax, dword [ebp + 0x14]
push dword [ebp + 0x20]
inc dword [eax]
call fcn.76b6ba1d
pop ecx
mov ecx, dword [ebp + 0x10]
mov edx, 0xffff
mov word [ecx], ax
movzx ecx, ax
mov dword [ebp - 0x14], ecx
cmp dx, ax
je 0x76b78744
mov edx, dword [ebp - 4]
test edx, edx
jne 0x76b786c7
test bl, 0x20
je 0x76b7868b
cmp ecx, 9
jb 0x76b78686
cmp ecx, 0xd
jbe 0x76b7868b
cmp ecx, 0x20
jne 0x76b786c7
test bl, 0x40
je 0x76b78744
mov ax, cx
shr ax, 3
movzx eax, ax
cmp cx, ax
jb 0x76b78744
xor edx, edx
and ecx, 7
inc edx
shl edx, cl
mov ecx, dword [ebp + 0xc]
movsx eax, byte [eax + ecx]
xor eax, dword [ebp - 0x18]
test eax, edx
je 0x76b78744
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
cmp dword [ebp - 0x10], 0
jne 0x76b78713
test esi, esi
je 0x76b7871f
mov eax, dword [edi]
test bl, 2
je 0x76b786e1
mov word [eax], cx
add dword [edi], 2
dec esi
jmp 0x76b78717
and dword [ebp - 0x14], 0
push ecx
push esi
push eax
lea eax, [ebp - 0x14]
push eax
call sym.msvcrt.dll_wctomb_s
add esp, 0x10
cmp eax, 0x22
je 0x76b7871f
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
test eax, eax
jle 0x76b78633
add dword [edi], eax
sub esi, eax
jmp 0x76b78633
add dword [ebp - 8], 2
mov ecx, dword [ebp - 0xc]
jmp 0x76b78633
call sym.msvcrt.dll__errno
mov dword [eax], 0xc
mov eax, dword [ebp - 8]
test bl, 2
je 0x76b7873f
xor ecx, ecx
mov word [eax], cx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
mov byte [eax], 0
jmp 0x76b78737
mov eax, dword [ebp + 0x14]
push dword [ebp + 0x20]
dec dword [eax]
mov eax, dword [ebp + 0x10]
movzx eax, word [eax]
push eax
call fcn.76b51e20
mov edx, dword [ebp - 4]
pop ecx
pop ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
cmp eax, dword [edi]
je 0x76b78737
test ecx, ecx
jne 0x76b78783
mov eax, dword [ebp + 0x2c]
inc dword [eax]
test edx, edx
jne 0x76b78783
mov eax, dword [edi]
test bl, 2
je 0x76b78780
mov word [eax], cx
jmp 0x76b78783
mov byte [eax], 0
xor eax, eax
jmp 0x76b7873a

Function at 0x76b82290
Capabilities:
Timestomp file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp sym.msvcrt.dll__futime32
Function at 0x76b822b0
Capabilities:
Timestomp file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x76baa330]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
cmp esi, 0xfffffffe
jne 0x76b822df
call sym.msvcrt.dll__errno
mov dword [eax], 9
jmp 0x76b8245e
test esi, esi
js 0x76b82444
cmp esi, dword [0x76babb64]
jae 0x76b82444
mov eax, esi
mov edx, esi
and eax, 0x1f
shr edx, 5
imul ecx, eax, 0x24
mov eax, dword [edx*4 + sym.msvcrt.dll___pioinfo]
test byte [eax + ecx + 4], 1
je 0x76b82444
test edi, edi
jne 0x76b82329
lea eax, [ebp - 0x3c]
push eax
call sym.msvcrt.dll__time32
mov eax, dword [ebp - 0x3c]
lea edi, [ebp - 0x40]
pop ecx
mov dword [ebp - 0x40], eax
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0x38]
push eax
call sym.msvcrt.dll__localtime32_s
pop ecx
pop ecx
test eax, eax
je 0x76b8234c
call sym.msvcrt.dll__errno
mov dword [eax], 0x16
jmp 0x76b8245e
mov eax, dword [ebp - 0x24]
add eax, 0x76c
mov word [ebp - 0x14], ax
mov eax, dword [ebp - 0x28]
inc eax
mov word [ebp - 0x12], ax
mov ax, word [ebp - 0x2c]
mov word [ebp - 0xe], ax
mov ax, word [ebp - 0x30]
mov word [ebp - 0xc], ax
mov ax, word [ebp - 0x34]
mov word [ebp - 0xa], ax
mov ax, word [ebp - 0x38]
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNELBASE.dll_SystemTimeToFileTime]
test eax, eax
je 0x76b8233c
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x76b8233c
lea eax, [ebp - 0x38]
push edi
push eax
call sym.msvcrt.dll__localtime32_s
pop ecx
pop ecx
test eax, eax
jne 0x76b8233c
mov eax, dword [ebp - 0x24]
add eax, 0x76c
mov word [ebp - 0x14], ax
mov eax, dword [ebp - 0x28]
inc eax
mov word [ebp - 0x12], ax
mov ax, word [ebp - 0x2c]
mov word [ebp - 0xe], ax
mov ax, word [ebp - 0x30]
mov word [ebp - 0xc], ax
mov ax, word [ebp - 0x34]
mov word [ebp - 0xa], ax
mov ax, word [ebp - 0x38]
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNELBASE.dll_SystemTimeToFileTime]
test eax, eax
je 0x76b8233c
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x76b8233c
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push esi
call sym.msvcrt.dll__get_osfhandle
pop ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFileTime]
test eax, eax
je 0x76b8233c
xor eax, eax
jmp 0x76b82461
call sym.msvcrt.dll__errno
mov dword [eax], 9
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call sym.msvcrt.dll__invalid_parameter
add esp, 0x14
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.76b4dc60
leave
ret
Function at 0x76b82530
Capabilities:
Timestomp file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x76baa330]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
cmp esi, 0xfffffffe
jne 0x76b8255f
call sym.msvcrt.dll__errno
mov dword [eax], 9
jmp 0x76b826e4
test esi, esi
js 0x76b826ca
cmp esi, dword [0x76babb64]
jae 0x76b826ca
mov eax, esi
mov edx, esi
and eax, 0x1f
shr edx, 5
imul ecx, eax, 0x24
mov eax, dword [edx*4 + sym.msvcrt.dll___pioinfo]
test byte [eax + ecx + 4], 1
je 0x76b826ca
test edi, edi
jne 0x76b825af
lea eax, [ebp - 0x40]
push eax
call sym.msvcrt.dll__time64
mov eax, dword [ebp - 0x40]
lea edi, [ebp - 0x48]
pop ecx
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x38]
push eax
call sym.msvcrt.dll__localtime64_s
pop ecx
pop ecx
test eax, eax
je 0x76b825d2
call sym.msvcrt.dll__errno
mov dword [eax], 0x16
jmp 0x76b826e4
mov eax, dword [ebp - 0x24]
add eax, 0x76c
mov word [ebp - 0x14], ax
mov eax, dword [ebp - 0x28]
inc eax
mov word [ebp - 0x12], ax
mov ax, word [ebp - 0x2c]
mov word [ebp - 0xe], ax
mov ax, word [ebp - 0x30]
mov word [ebp - 0xc], ax
mov ax, word [ebp - 0x34]
mov word [ebp - 0xa], ax
mov ax, word [ebp - 0x38]
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNELBASE.dll_SystemTimeToFileTime]
test eax, eax
je 0x76b825c2
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x76b825c2
lea eax, [ebp - 0x38]
push edi
push eax
call sym.msvcrt.dll__localtime64_s
pop ecx
pop ecx
test eax, eax
jne 0x76b825c2
mov eax, dword [ebp - 0x24]
add eax, 0x76c
mov word [ebp - 0x14], ax
mov eax, dword [ebp - 0x28]
inc eax
mov word [ebp - 0x12], ax
mov ax, word [ebp - 0x2c]
mov word [ebp - 0xe], ax
mov ax, word [ebp - 0x30]
mov word [ebp - 0xc], ax
mov ax, word [ebp - 0x34]
mov word [ebp - 0xa], ax
mov ax, word [ebp - 0x38]
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNELBASE.dll_SystemTimeToFileTime]
test eax, eax
je 0x76b825c2
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x76b825c2
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push esi
call sym.msvcrt.dll__get_osfhandle
pop ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFileTime]
test eax, eax
je 0x76b825c2
xor eax, eax
jmp 0x76b826e7
call sym.msvcrt.dll__errno
mov dword [eax], 9
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call sym.msvcrt.dll__invalid_parameter
add esp, 0x14
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.76b4dc60
leave
ret