joyce8/EMBER2024-capa huggingface dataset:
Function at 0x12a217a
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret 4

Function at 0x12a35bd
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push 0x1c
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x12a35f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x12a3676
and eax, 0xffff
or eax, 0x80070000
jmp 0x12a3676
cmp dword [ebp - 0xc], 0x1000000
je 0x12a3606
xor eax, eax
inc eax
jmp 0x12a3676
mov eax, dword [ebp - 0x20]
mov ecx, 0x5a4d
mov dword [ebp - 4], eax
cmp word [eax], cx
jne 0x12a3601
mov esi, dword [eax + 0x3c]
add esi, eax
cmp esi, dword [ebp + 8]
ja 0x12a3601
xor eax, eax
cmp dword [esi], 0x4550
jne 0x12a3603
xor edi, edi
cmp ax, word [esi + 6]
jae 0x12a3601
xor ebx, ebx
movzx eax, word [esi + 0x14]
add eax, ebx
lea eax, [eax + esi + 0x18]
push eax
call fcn.012a3b0d
cmp al, 1
je 0x12a3656
movzx eax, word [esi + 6]
inc edi
add ebx, 0x28
cmp edi, eax
jb 0x12a3634
jmp 0x12a3601
movzx eax, word [esi + 0x14]
imul edi, edi, 0x28
add edi, esi
lea eax, [edi + eax + 0x18]
test eax, eax
je 0x12a3601
mov ecx, dword [ebp - 8]
push eax
push dword [esi + 0x50]
push dword [ebp - 4]
call fcn.012a3480
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x12a39b9
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x12d3ad4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
mov byte [esi + 0x100], 0
mov byte [esi + 0x101], 0
mov edx, 0x3020100
xor ecx, ecx
mov dword [esi + ecx*4], edx
add edx, 0x4040404
inc ecx
cmp ecx, 0x40
jb 0x12a39ee
push edi
push eax
lea eax, [ebp - 0x14]
push eax
call sub.msvcrt.dll_memcpy
push dword [ebp + 0x14]
lea eax, [ebp + edi - 0x14]
push ebx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0x18
xor ecx, ecx
xor eax, eax
movzx edi, byte [esi + eax]
mov bl, byte [esi + eax]
mov edx, eax
and edx, 0xf
movzx edx, byte [ebp + edx - 0x14]
add edx, ecx
add edi, edx
and edi, 0xff
mov ecx, edi
mov dl, byte [esi + ecx]
mov byte [esi + ecx], bl
mov byte [esi + eax], dl
inc eax
cmp eax, 0x100
jb 0x12a3a1d
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0128e47a
leave
ret 0x10

Function at 0x12a3aa6
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
jbe 0x12a3ac8
push esi
mov eax, dword [ebp + 8]
lea esi, [eax + edi]
call fcn.012a3a5e
xor byte [esi], al
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x12a3ab4
pop esi
pop edi
pop ebp
ret 8
Function at 0x401700
Capabilities:
Create thread
Terminate thread

Disassembly:
sub esp, 0x30
lea eax, [esp + 8]
push eax
call sub.KERNEL32.dll_GetSystemPowerStatus
cmp byte [esp + 8], 1
jne 0x401916
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 1
push 0
call ebx
test eax, eax
mov dword [0x40845c], eax
sete al
test al, al
jne 0x40191e
push ebp
mov ebp, dword [sym.imp.MSVCR90.dll_strstr]
push esi
mov esi, dword [esp + 0x48]
push 0x40549c
push esi
call ebp
add esp, 8
test eax, eax
je 0x40177b
mov ecx, dword [0x40845c]
push 0x3e8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x401927
cmp eax, 0x102
jne 0x401927
push edi
mov edi, dword [esp + 0x44]
lea edx, [esp + 0x4c]
push edx
call fcn.004011d0
add esp, 4
mov dword [0x408458], eax
test eax, eax
je 0x40190a
mov eax, dword [str.Acrobat_Viewer]
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x4018e0
push 0x4010b0
push 0x1f4
push eax
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x4018e0
push 0
push 0
push 1
push 0
call ebx
mov dword [0x40845c], eax
test eax, eax
je 0x4018d7
push 0x408440
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x40549c
push esi
mov byte [0x408464], 0
call ebp
add esp, 8
neg eax
lea ecx, [esp + 0x14]
push ecx
push 0
sbb eax, eax
inc eax
push eax
push 0x4013f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x408460], eax
test eax, eax
je 0x4018ba
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea edx, [esp + 0x30]
push edx
call esi
test eax, eax
je 0x40187e
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
cmp eax, 0xffffffff
je 0x40187a
lea eax, [esp + 0x24]
push eax
call ebp
lea ecx, [esp + 0x24]
push ecx
call edi
push 0
push 0
push 0
lea edx, [esp + 0x30]
push edx
call esi
test eax, eax
jne 0x401856
mov edi, dword [esp + 0x10]
call fcn.004010f0
mov eax, dword [0x408460]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4018a7
mov ecx, dword [0x408460]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [0x408460]
push edx
call ebx
mov dword [0x408460], 0
mov eax, dword [0x40845c]
push eax
call ebx
push 0x408440
mov dword [0x40845c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push edi
push 0
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x408458]
test eax, eax
je 0x4018f0
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp word [esp + 0x4c], 0
je 0x40190a
mov ecx, dword [esp + 0x44]
mov edx, dword [str.AdobeReaderSpeedLaunchCmdWnd]
push ecx
push edx
call dword [sym.imp.USER32.dll_UnregisterClassA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x30
ret 0x10
xor eax, eax
add esp, 0x30
ret 0x10
xor eax, eax
pop ebx
add esp, 0x30
ret 0x10
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x30
ret 0x10
Function at 0x401a10
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x401a33
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 8]
mov dword [esi], ecx
mov eax, ecx
pop esi
add esp, 0x24
ret
mov eax, dword [esi]
pop esi
add esp, 0x24
ret

Function at 0x401b10
Capabilities:
Read file via mapping

Disassembly:
push ecx
push esi
mov esi, eax
cmp byte [esi + 0x1d], 0
jne 0x401b50
cmp dword [esi + 0x20], 0xffffffff
jne 0x401b50
cmp dword [esi + 0x18], 0x10
jb 0x401b2b
mov eax, dword [esi + 4]
jmp 0x401b2e
lea eax, [esi + 4]
push 0
push 0
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 0x20], eax
sete al
mov byte [esi + 0x1d], al
mov esi, dword [esi + 0x20]
cmp esi, 0xffffffff
je 0x401c10
cmp byte [ebx], 0
jne 0x401c10
cmp dword [ebx + 4], 0
jne 0x401b96
cmp byte [esp + 0xc], 0
mov eax, 2
je 0x401b7c
mov eax, 0x1000002
push 0
push 0
push 0
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebx + 4], eax
test eax, eax
jne 0x401b96
mov byte [ebx], 1
mov eax, dword [ebx + 4]
test eax, eax
je 0x401c10
cmp dword [ebx + 8], 0
jne 0x401c10
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx + 8], eax
test eax, eax
jne 0x401bc4
test eax, eax
mov byte [ebx], 1
setne al
pop esi
pop ecx
ret
push edi
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
call fcn.00401a90
add esp, 8
pop edi
test al, al
je 0x401bfc
mov eax, dword [esp + 4]
test eax, eax
je 0x401bfc
mov edx, dword [ebx + 8]
lea eax, [edx + eax - 1]
mov dword [ebx + 0xc], eax
xor eax, eax
test edx, edx
setne al
pop esi
pop ecx
ret
mov ecx, dword [ebx + 8]
push ecx
mov byte [ebx], 1
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebx + 8], 0
xor eax, eax
cmp dword [ebx + 8], eax
pop esi
setne al
pop ecx
ret

Function at 0x401c20
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x144
mov eax, dword [0x40840c]
xor eax, esp
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x148]
test edi, edi
jbe 0x401c8d
cmp dword [eax + 0x18], 0x10
jb 0x401c4a
mov eax, dword [eax + 4]
jmp 0x401c4d
add eax, 4
push ebx
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x401c8c
push esi
mov esi, 1
cmp edi, esi
jbe 0x401c84
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [esp + 0xc]
push edx
push ebx
call ebp
test eax, eax
je 0x401c83
inc esi
cmp esi, edi
jb 0x401c72
pop ebp
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.00403be6
add esp, 0x144
ret
Function at 0x401fc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 4], 0
jg 0x401ffe
jl 0x401fe2
mov edx, dword [ebp - 0x1c]
cmp dword [edx], 0x7fffffff
ja 0x401ffe
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 4], 0xffffffff
jg 0x402003
jl 0x401ffe
mov edx, dword [ebp - 0x20]
cmp dword [edx], 0x80000001
jae 0x402003
jmp 0x402095
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 8]
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 2
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test eax, eax
je 0x402095
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0xc]
jae 0x402095
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
sub eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 0x14]
push edx
call fcn.00401e70
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402088
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x10]
jae 0x40208a
jmp 0x402095
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x402038
mov esp, ebp
pop ebp
ret
Function at 0x4033d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x404921
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x40840c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esi + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esi + 0x2c], ebx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x14], ecx
mov cl, byte [esp + 0x48]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x44]
mov byte [esp + 0x20], 1
mov dword [esi + 0xc], ebp
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], cl
mov dword [esi + 0x30], ebx
cmp cl, bl
jne 0x4034b4
xor edi, edi
mov dword [esp + 0x48], edi
cmp eax, ebx
jbe 0x403481
lea ecx, [edx + 0xc]
mov edx, eax
mov eax, dword [ecx]
cmp eax, edi
jbe 0x403468
mov edi, eax
add ecx, 0x10
sub edx, 1
jne 0x403460
mov dword [esp + 0x48], edi
mov eax, 0x405ffc
cmp edi, 0x100000
ja 0x403485
lea eax, [esp + 0x48]
mov eax, dword [eax]
mov dword [esi + 0x28], eax
add eax, 0xa
push eax
call fcn.00403bce
mov edi, eax
mov eax, dword [esi + 0x24]
add esp, 4
cmp eax, edi
je 0x4034ab
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [esi + 0x24], edi
push ebx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
xor ecx, ecx
mov eax, ebp
mov edx, 0x44
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00403bce
add esp, 4
mov dword [esp + 0x48], eax
mov byte [esp + 0x20], 2
cmp eax, ebx
je 0x403502
push 0x402540
push 0x402500
push ebp
lea edi, [eax + 4]
push 0x44
push edi
mov dword [eax], ebp
call fcn.00403d21
jmp 0x403504
xor edi, edi
mov eax, dword [esi + 0x2c]
mov byte [esp + 0x20], 1
cmp eax, edi
je 0x403534
cmp eax, ebx
je 0x403531
mov ecx, dword [eax - 4]
lea ebx, [eax - 4]
push 0x402540
push ecx
push 0x44
push eax
call fcn.00403cbe
push ebx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [esi + 0x2c], edi
mov ecx, esi
call fcn.004030a0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x24
Function at 0x403560
Capabilities:
Get common file path

Disassembly:
sub esp, 0x144
mov eax, dword [0x40840c]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
mov ebp, dword [esp + 0x150]
lea eax, [esp + 8]
push eax
push ecx
push 0
xor bl, bl
mov dword [esp + 0x14], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4035e9
mov eax, dword [esp + 8]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x4035bd
push ebp
lea ecx, [esp + 0x14]
push ecx
push 1
push esi
call edi
add esp, 0x10
mov bl, 1
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], 0
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x4035e5
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
test bl, bl
jne 0x4035f4
push ebp
push 0
push 1
push esi
call edi
add esp, 0x10
mov ecx, dword [esp + 0x148]
pop ebp
pop ebx
xor ecx, esp
call fcn.00403be6
add esp, 0x144
ret

Function at 0x403810
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x144
mov eax, dword [0x40840c]
xor eax, esp
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x148]
push ebp
mov ebp, dword [esp + 0x150]
lea ecx, [esp + 4]
push ecx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x403890
mov ecx, dword [esp + 4]
push ebx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push ecx
mov dword [esp + 0x1c], 0x136
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0x403870
xor bl, bl
jmp 0x403880
push ebp
lea edx, [esp + 0x14]
push edx
push 0
push esi
mov bl, 1
call edi
add esp, 0x10
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
pop ebx
jne 0x40389b
push ebp
push 0
push 0
push esi
call edi
add esp, 0x10
mov ecx, dword [esp + 0x144]
pop ebp
xor ecx, esp
call fcn.00403be6
add esp, 0x144
ret

Function at 0x403be6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40840c]
jne 0x403bf0
repz ret
jmp fcn.0040409b
Function at 0x40d970
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4982cc
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4c4014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
lea edi, [ebx + 0x34]
mov byte [ebp - 4], 3
lea ecx, [edi + 4]
mov dword [ebp - 0x14], edi
call fcn.0044e190
push ecx
mov dword [edi], vtable.CryptoPP::Integer.0
push 2
mov dword [edi + 8], 2
call fcn.00453780
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [eax + 4], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
lea edi, [ebx + 0x48]
mov byte [ebp - 4], 4
lea ecx, [edi + 4]
mov dword [ebp - 0x14], edi
call fcn.0044e190
push ecx
mov dword [edi], vtable.CryptoPP::Integer.0
push 2
mov dword [edi + 8], 2
call fcn.00453780
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [eax + 4], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, ebx
mov byte [ebx + 0x5c], 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 0x410610
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 4], esi
call fcn.0040d970
mov byte [esi + 0xb1], 1
lea eax, [esi + 0x70]
mov dword [eax + 0x48], 0x10
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [eax + 0x4c], eax
lea eax, [esi + 0xc0]
mov byte [eax + 0x41], 1
mov dword [eax + 0x48], 0x10
mov dword [eax + 0x4c], eax
mov eax, dword [esi + 0x10c]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov eax, esi
mov dword [esi + 0x60], vtable.CryptoPP::SHA1.0
mov dword [esi], vtable.CryptoPP::PK_MessageAccumulatorImpl_class_CryptoPP::SHA1_.0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x414370
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498a90
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4c4014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004699d8
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004689b4
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 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 0x41da10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4991e5
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4c4014]
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 dword [ebp - 0x18], edx
mov edi, ecx
mov ecx, dword [ebp + 8]
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
cmp byte [edi + 0x38], al
je 0x41dabe
mov esi, dword [ebp + 0xc]
nop dword [eax]
cmp byte [edi + 0x39], 0
je 0x41dabe
push 0
lea edx, [ebp - 0x14]
add eax, ecx
push edx
mov edx, dword [ebp - 0x18]
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x14]
cmp eax, 0x6d
je 0x41da91
test ecx, ecx
jne 0x41da9b
jmp 0x41daaa
cmp dword [ebp - 0x20], 0
je 0x41db5c
cmp ecx, esi
je 0x41dabe
add dword [ebp - 0x1c], ecx
sub esi, ecx
cmp ebx, 0x64
jg 0x41dadc
inc ebx
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [edi + 0x38], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
jne 0x41da60
mov al, 1
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.004699ca
mov esp, ebp
pop ebp
ret
mov esi, dword [0x4c8c94]
test esi, esi
je 0x41db14
push dword [ebp - 0x18]
mov ecx, esi
push eax
push str.Number_of_retries_to_read_pipe_exhausted_with_last_errno___lu._Aborting_read_on_pipe__p
push 0x4aea60
push 0x4aea60
push str.CommBridge
push str.OOBEUtils
push 0x28
call dword [0x49e2d4]
call esi
add esp, 0x20
jmp 0x41db46
mov ecx, dword [0x4c8c98]
test ecx, ecx
je 0x41db46
push dword [ebp - 0x18]
mov esi, dword [ecx]
push eax
push str.Number_of_retries_to_read_pipe_exhausted_with_last_errno___lu._Aborting_read_on_pipe__p
push str.CommBridge
mov esi, dword [esi + 0x34]
push 0x4aea60
push 0x28
push ecx
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x1c
push str.Terminate_channel
lea ecx, [ebp - 0x3c]
call fcn.00402010
mov dword [ebp - 4], 1
jmp 0x41dbda
mov esi, dword [0x4c8c94]
test esi, esi
je 0x41db94
push eax
push dword [ebp - 0x18]
mov ecx, esi
push str.Aborting_read_on_pipe__p___errno:__lu
push 0x4aea60
push 0x4aea60
push str.CommBridge
push str.OOBEUtils
push 0x28
call dword [0x49e2d4]
call esi
add esp, 0x20
jmp 0x41dbc6
mov ecx, dword [0x4c8c98]
test ecx, ecx
je 0x41dbc6
mov esi, dword [ecx]
push eax
push dword [ebp - 0x18]
mov esi, dword [esi + 0x34]
push str.Aborting_read_on_pipe__p___errno:__lu
push str.CommBridge
push 0x4aea60
push 0x28
push ecx
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x1c
push str.Terminate_channel
lea ecx, [ebp - 0x3c]
call fcn.00402010
mov dword [ebp - 4], 0
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
call fcn.0041fc40
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00401fb0
mov ecx, edi
call fcn.0041fb30
xor al, al
jmp 0x41dac0
Function at 0x41f360
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4c4014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, ecx
push edi
xor ebx, ebx
mov dword [ebp - 0x10], edx
push ebx
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], eax
push ecx
push esi
push edx
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41f3d6
cmp dword [ebp - 8], esi
ja 0x41f3d6
jae 0x41f49a
call dword [sym.imp.KERNEL32.dll_GetLastError]
add edi, dword [ebp - 8]
sub esi, dword [ebp - 8]
cmp ebx, 0xbb8
jg 0x41f42c
push 0xa
inc ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push esi
add eax, edi
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41f394
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [0x4c8c94]
mov ecx, eax
test esi, esi
je 0x41f4ad
push ecx
push dword [ebp - 0xc]
mov ecx, esi
push str.Write_failed_or_else__No_of_bytes_written___data_._Aborting_write_on_pipe__p___errno:__lu
push 0x4aea60
push 0x4aea60
push str.CommBridge
push str.OOBEUtils
push 0x28
call dword [0x49e2d4]
call esi
add esp, 0x20
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004699ca
mov esp, ebp
pop ebp
ret
mov esi, dword [0x4c8c94]
test esi, esi
je 0x41f476
push dword [ebp - 0xc]
mov ecx, esi
push eax
push str.Number_of_retries_to_write_to_pipe_exhausted_with_last_error___lu._Aborting_write_on_pipe__p
push 0x4aea60
push 0x4aea60
push str.CommBridge
push str.OOBEUtils
push 0x28
call dword [0x49e2d4]
call esi
add esp, 0x20
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004699ca
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4c8c98]
test ecx, ecx
je 0x41f4de
push dword [ebp - 0xc]
mov esi, dword [ecx]
push eax
push str.Number_of_retries_to_write_to_pipe_exhausted_with_last_error___lu._Aborting_write_on_pipe__p
push str.CommBridge
push 0x4aea60
push 0x28
push ecx
jmp 0x41f4ce
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004699ca
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4c8c98]
test eax, eax
je 0x41f4de
mov esi, dword [eax]
push ecx
push dword [ebp - 0xc]
push str.Write_failed_or_else__No_of_bytes_written___data_._Aborting_write_on_pipe__p___errno:__lu
push str.CommBridge
push 0x4aea60
push 0x28
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x1c
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004699ca
mov esp, ebp
pop ebp
ret