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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a190
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x469070]
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 edi, ecx
cmp dword [edi + 4], 0
mov esi, dword [ebp + 8]
push 0x208
push 0x46d350
push 0
mov dword [ebp - 0x38], 0
setne bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
mov edx, 0x46d350
mov ecx, str.Unknown_module._GetModuleFileName___failed_too.
cmovne ecx, edx
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x2c], eax
test bl, bl
jne 0x419f8c
push str.NULL_pointer
push 0x84
push str.EncDecWin.h
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push 0x10
push dword [ebp - 0x2c]
push str.Failed_assertion_in__s_at_line__d_n_n_s
call fcn.00427590
add esp, 0x18
push 1
call fcn.004316e6
push 0
sub esp, 0x18
mov dword [ebp - 0x34], esp
sub esp, 0x18
mov dword [ebp - 0x2c], esp
mov dword [ebp - 0x3c], esp
sub esp, 0x18
mov ebx, esp
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x419fbf
mov eax, dword [ecx]
jmp 0x419fc1
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
push edx
mov word [eax], dx
lea edx, [edi + 0x38]
push edx
call fcn.0040c0c0
push ebx
call fcn.0041a140
push dword [ebp - 0x2c]
call fcn.004190a0
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
lea edx, [edi + 8]
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x41a007
mov eax, dword [ecx]
jmp 0x41a009
mov eax, ecx
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push edx
mov word [eax], bx
call fcn.0040c0c0
push dword [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.00418d50
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00419140
add edi, 0x20
mov dword [ebp - 4], 1
cmp edi, eax
je 0x41a04a
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
call fcn.0040c0c0
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.0040c0c0
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x41a07d
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0040f960
mov eax, esi
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.00429d08
mov esp, ebp
pop ebp
ret 4
Function at 0x41a0a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ecx + 4], 0
push ebx
push esi
push edi
push 0x208
push 0x46d350
push 0
mov dword [ebp - 4], 0
setne bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
mov edx, 0x46d350
mov ecx, str.Unknown_module._GetModuleFileName___failed_too.
cmovne ecx, edx
push ecx
call esi
mov edi, eax
test bl, bl
je 0x41a113
mov esi, dword [ebp + 8]
xor eax, eax
push eax
push 0x45cf74
mov ecx, esi
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
call fcn.0040ad40
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.NULL_pointer
push 0x8c
push str.EncDecWin.h
call esi
push eax
push 0x10
push edi
push str.Failed_assertion_in__s_at_line__d_n_n_s
call fcn.00427590
add esp, 0x18
push 1
call fcn.004316e6
int3
Function at 0x41f490
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp byte [ecx + 0x70], 0
je 0x41f49f
pop ebp
jmp fcn.00426130
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
je 0x41f4ac
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0x20]
push esi
mov esi, dword [ebp + 8]
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41f4ca
test esi, esi
je 0x41f4ca
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
pop esi
pop ebp
ret 4

Function at 0x41f570
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a738
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x469070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 0x48]
mov dword [ebp - 0x14], edi
test edi, edi
je 0x41f5b1
lea eax, [edi + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [edi + 0x64]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
mov eax, dword [esi + 0x48]
push ecx
push 0
push 0
mov eax, dword [eax + 0xc]
push 0x66
push eax
mov eax, dword [eax + 0xc]
call eax
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
test edi, edi
je 0x41f5eb
dec dword [edi + 0x64]
lea ecx, [edi + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
cmp eax, 0x38a
jne 0x41f68c
push 0x800
call fcn.00429fed
mov edi, eax
add esp, 4
test edi, edi
je 0x41f678
push 0
push str.User_cancelled_in_AXCL_A_GET_PLAIN_PATH
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [esi + 8]
add esp, 0xc
test ecx, ecx
je 0x41f640
push edi
push 0x65
call fcn.00424760
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x10], 0
je 0x41f663
push edi
call fcn.00429fe8
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 esp, ebp
pop ebp
ret
push dword [esi + 0xc]
call fcn.00429fe8
mov dword [esi + 0xc], edi
add esp, 4
mov dword [esi + 0x10], 0x65
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x41f6b5
push 0
push str.Unexpected_error_in_AXCL_A_GET_PLAIN_PATH
push 0x64
lea ecx, [esi + 8]
call fcn.004247b0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp word [ebx], 0
jne 0x41f6bf
xor ecx, ecx
jmp 0x41f6d3
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f6c4
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [esi + 0x30]
call fcn.0040ad40
push ecx
push ebx
mov ecx, esi
call fcn.00423cb0
mov ecx, esi
call fcn.00423ec0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41f700
Capabilities:
Clear file content

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x40], 0
jne 0x41f770
push edi
push 0x800
call fcn.00429fed
mov edi, eax
add esp, 4
test edi, edi
je 0x41f76b
push 0
push 0x45cf74
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [esi + 8]
add esp, 0xc
test ecx, ecx
je 0x41f742
push edi
push 0x65
call fcn.00424760
pop edi
xor al, al
pop esi
ret
cmp dword [esi + 0x10], 0
je 0x41f756
push edi
call fcn.00429fe8
add esp, 4
xor al, al
pop edi
pop esi
ret
push dword [esi + 0xc]
call fcn.00429fe8
mov dword [esi + 0xc], edi
add esp, 4
mov dword [esi + 0x10], 0x65
pop edi
xor al, al
pop esi
ret
pop esi
jmp fcn.00423d10
Function at 0x422290
Capabilities:
Clear file content

Disassembly:
push esi
mov esi, ecx
call fcn.00421e20
mov ecx, esi
pop esi
jmp fcn.00423d10

Function at 0x422690
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44aad8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x469070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x422706
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x422706
xor ecx, ecx
call fcn.00427470
mov esi, eax
mov dword [ebp - 0x14], esi
push esi
push str.CSinkFileIO::Cant_get_size_of_file___s_
push 2
lea ecx, [ebx + 8]
mov dword [ebp - 4], 0
call fcn.004247b0
push 2
push esi
call fcn.00429fda
add esp, 8
mov eax, edi
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423830
Capabilities:
Get file size

Disassembly:
cmp byte [ecx + 0x48], 0
jne method.AxPipe::CSourceFileIO.virtual_48
mov al, 1
ret
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ad28
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x469070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x20], 0xffffffff
jne 0x4238c6
push 0
push 0x8000000
push 3
push 0
push 1
push 0x80000000
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi + 0x20], eax
cmp eax, 0xffffffff
jne 0x4238c6
mov ecx, dword [edi + 0x38]
call fcn.00427470
mov esi, eax
mov dword [ebp - 0x14], esi
push esi
mov dword [ebp - 4], 0
push str.CSourceFileIO::CSourceFileIO_open_error___s_
push 2
lea ecx, [edi + 8]
call fcn.004247b0
push 2
push esi
call fcn.00429fda
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
push eax
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x42391c
call ebx
test eax, eax
je 0x42391c
xor ecx, ecx
call fcn.00427470
mov esi, eax
mov dword [ebp - 0x18], esi
push esi
push str.CSinkFileIO::Cant_get_size_of_file___s_
push 2
lea ecx, [edi + 8]
mov dword [ebp - 4], 1
call fcn.004247b0
push 2
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.00429fda
add esp, 8
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], eax
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x423936
call fcn.00424840
jmp 0x423939
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4238b2
push 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x423982
call ebx
test eax, eax
je 0x423982
mov ecx, dword [edi + 0x38]
call fcn.00427470
mov esi, eax
mov dword [ebp - 0x18], esi
push esi
mov dword [ebp - 4], 2
push str.CSourceFileIO::CSourceFileIO_SetFilePointer_error___s_
jmp 0x42389d
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x34], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423a50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ada6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x469070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x30]
mov ebx, dword [edi + 0x34]
mov edx, dword [edi + 0x2c]
cmp eax, dword [edi + 0x28]
jne 0x423ac5
cmp ebx, edx
jne 0x423ac5
push 0x3c
call fcn.00429f84
mov esi, eax
mov dword [ebp - 0x18], esi
sub esp, 8
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [esi], vtable.AxPipe::CSeg.0
push 0
call fcn.004233b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 0x24]
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x10], esi
add ecx, dword [edi + 0x30]
adc eax, ebx
cmp eax, edx
jl 0x423ae8
jg 0x423adf
cmp ecx, dword [edi + 0x28]
jbe 0x423ae8
mov esi, dword [edi + 0x28]
sub esi, dword [edi + 0x30]
mov dword [ebp - 0x10], esi
push 0x3c
mov dword [ebp - 0x14], 0
call fcn.00429f84
mov ebx, eax
mov dword [ebp - 0x18], ebx
sub esp, 8
mov dword [ebp - 4], 1
mov ecx, ebx
mov dword [ebx], vtable.AxPipe::CSeg.0
push esi
call fcn.004233b0
push 0x208
push 0x46d350
push 0
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
mov edx, 0x46d350
mov ecx, str.Unknown_module._GetModuleFileName___failed_too.
cmovne ecx, edx
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp byte [ebx + 0x2d], 0
je 0x423b4c
xor eax, eax
jmp 0x423b6c
lea esi, [ebx + 8]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x34]
add eax, dword [ebx + 0x20]
push esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
push 0
lea ecx, [ebp - 0x14]
push ecx
push esi
push eax
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x423baf
xor ecx, ecx
call fcn.00427470
mov esi, eax
mov dword [ebp - 0x18], esi
push esi
push str.CSourceFileIO::In___failed_to_read_file___s_
push 2
lea ecx, [edi + 8]
mov dword [ebp - 4], 2
call fcn.004247b0
push 2
push esi
call fcn.00429fda
add esp, 8
mov eax, dword [ebp - 0x14]
add dword [edi + 0x30], eax
mov eax, ebx
adc dword [edi + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423d10
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ade0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x469070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x1c]
cmp eax, 0xffffffff
je 0x423dba
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x423d8b
xor ecx, ecx
call fcn.00427470
mov esi, eax
mov dword [ebp - 0x10], esi
push esi
mov dword [ebp - 4], 0
push str.CSinkFileIO::Close_cant_set_end_of_file___s_
push 2
lea ecx, [edi + 8]
call fcn.004247b0
push 2
push esi
call fcn.00429fda
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x423db3
xor ecx, ecx
call fcn.00427470
mov esi, eax
mov dword [ebp - 0x10], esi
push esi
mov dword [ebp - 4], 1
push str.CSinkFileIO::Close_failed_to_close_file___s_
jmp 0x423d63
mov dword [edi + 0x1c], 0xffffffff
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x423dd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4499d8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x469070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
lea esi, [ebx + 8]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebx + 0x38]
sub edi, dword [ebx + 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebx + 0x20]
lea eax, [ebx + 8]
add esi, dword [ebx + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
lea eax, [ebp + 8]
push eax
push edi
mov edi, dword [ebp - 0x10]
push esi
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x423e70
xor ecx, ecx
call fcn.00427470
mov esi, eax
mov dword [ebp - 0x10], esi
push esi
push str.CSinkFileIO::Out___failed_to_write_file___s_
push 2
lea ecx, [edi + 8]
mov dword [ebp - 4], 0
call fcn.004247b0
push 2
push esi
call fcn.00429fda
add esp, 8
lea eax, [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebx + 0x38]
lea eax, [ebx + 8]
sub esi, dword [ebx + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add dword [edi + 0x28], esi
lea eax, [ebx + 4]
push eax
adc dword [edi + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x423ea7
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x424010
Capabilities:
Access peb ldr_data
Create new key via cryptacquirecontext
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ae10
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x469070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov word [edi + 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], 0
mov byte [edi + 0x14], 0
mov dword [edi + 0x1c], 0
push 0xf0000020
push 1
push 0
mov dword [ebp - 4], 0
lea eax, [edi + 0x28]
mov dword [edi], vtable.AxPipe::Stock::CPipeSHA1.0
xorps xmm0, xmm0
push 0
movups xmmword [edi + 0x30], xmm0
push eax
mov dword [edi + 0x40], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x4240c8
xor ecx, ecx
call fcn.00427470
mov esi, eax
mov dword [ebp - 0x14], esi
push esi
push 0x460550
push 5
lea ecx, [edi + 8]
mov byte [ebp - 4], 1
call fcn.004247b0
push 2
push esi
call fcn.00429fda
add esp, 8
mov eax, edi
mov dword [edi + 0x2c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x424180
Capabilities:
Hash data via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ae38
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x469070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
lea esi, [ebx + 8]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebx + 0x38]
sub edi, dword [ebx + 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebx + 0x20]
lea eax, [ebx + 8]
add esi, dword [ebx + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push edi
mov edi, dword [ebp - 0x10]
push esi
push dword [edi + 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x424223
xor ecx, ecx
call fcn.00427470
mov esi, eax
mov dword [ebp + 8], esi
push esi
push str.CPipeSHA1::CPipeSHA1____CryptHashData___failed:__s_
push 5
lea ecx, [edi + 8]
mov dword [ebp - 4], 0
call fcn.004247b0
push 2
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.00429fda
add esp, 8
lea eax, [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebx + 0x38]
lea eax, [ebx + 8]
sub esi, dword [ebx + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add dword [edi + 0x20], esi
mov ecx, dword [edi + 0x1c]
adc dword [edi + 0x24], 0
test ecx, ecx
je 0x424265
mov eax, dword [ecx]
push ebx
call dword [eax + 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42427b
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x424290
Capabilities:
Hash data using sha1
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ad58
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x469070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x2c]
push eax
push 0
push 0
push 0x8004
push dword [edi + 0x28]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x4242ff
xor ecx, ecx
call fcn.00427470
mov esi, eax
mov dword [ebp - 0x10], esi
push esi
push str.CPipeSHA1::CPipeSHA1____CryptCreateHash___failed:__s_
push 5
lea ecx, [edi + 8]
mov dword [ebp - 4], 0
call fcn.004247b0
push 2
push esi
call fcn.00429fda
add esp, 8
mov dword [edi + 0x20], 0
mov al, 1
mov dword [edi + 0x24], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x424320
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44aad8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x469070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x14
push eax
lea eax, [edi + 0x30]
push eax
push 2
push dword [edi + 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x424398
xor ecx, ecx
call fcn.00427470
mov esi, eax
mov dword [ebp - 0x14], esi
push esi
push str.CPipeSHA1::OutClose____CryptGetHashParam___failed:__s_
push 5
lea ecx, [edi + 8]
mov dword [ebp - 4], 0
call fcn.004247b0
push 2
push esi
call fcn.00429fda
add esp, 8
push dword [edi + 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp eax, 1
je 0x4243fb
call fcn.004273e0
push 0x208
push 0x46d350
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
mov edx, 0x46d350
mov ecx, str.Unknown_module._GetModuleFileName___failed_too.
cmovne ecx, edx
push ecx
call esi
push ebx
push 0x67
push str.CPipeSHA1.cpp
mov edi, eax
call esi
push eax
push 0x10
push edi
push str.Failed_assertion_in__s_at_line__d_n_n_s
call fcn.00427590
add esp, 0x18
push 1
call fcn.004316e6
mov dword [edi + 0x2c], 0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424a90
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov esi, ecx
push esi
push str.CSink::CSink___Initating..._this_p_n
mov dword [esi], vtable.AxPipe::CSink.0
call fcn.0040ac50
add esp, 8
cmp byte [esi + 4], 0
je 0x424aee
mov edi, dword [esi + 0x18]
test edi, edi
je 0x424ad5
cmp dword [edi + 0x30], 0
jne 0x424ad5
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x424ad5
test edi, edi
je 0x424ad5
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
push esi
push str.CSink::CSink___...Done._this_p_n
call fcn.0040ac50
push dword [esi + 0xc]
call fcn.00429fe8
add esp, 0xc
pop edi
pop esi
ret
push 0x208
push 0x46d350
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
mov edx, 0x46d350
mov ecx, str.Unknown_module._GetModuleFileName___failed_too.
cmovne ecx, edx
push ecx
call esi
push str.CSink::CSink___called_without_Plug__
push 0x10e
push str.CSink.cpp
mov edi, eax
call esi
push eax
push 0x10
push edi
push str.Failed_assertion_in__s_at_line__d_n_n_s
call fcn.00427590
add esp, 0x18
push 1
call fcn.004316e6
int3

Function at 0x424be0
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
push edi
push dword [esi + 0x1c]
movzx eax, byte [esi + 5]
push eax
push 0x4609a8
call fcn.0040ac50
mov edi, dword [esi + 0x1c]
add esp, 0xc
test edi, edi
je 0x424c3d
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov ecx, dword [esi + 0x1c]
cmp byte [ecx + 4], 0
je 0x424c40
cmp byte [esi + 5], 0
je 0x424c31
test ecx, ecx
je 0x424c36
mov eax, dword [ecx]
push 1
call dword [eax + 0x48]
pop edi
mov dword [esi + 0x1c], 0
pop esi
ret
mov eax, dword [ecx]
call dword [eax + 0x50]
mov dword [esi + 0x1c], 0
pop edi
pop esi
ret
push 0x208
push 0x46d350
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
mov edx, 0x46d350
mov ecx, str.Unknown_module._GetModuleFileName___failed_too.
cmovne ecx, edx
push ecx
call esi
push str.CPipe::DestructSink___without_proper_Plug__
push 0x35
push str.CPipe.cpp
mov edi, eax
call esi
push eax
push 0x10
push edi
push str.Failed_assertion_in__s_at_line__d_n_n_s
call fcn.00427590
add esp, 0x18
push 1
call fcn.004316e6
int3