joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42bea0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x89c
mov eax, dword [0x466cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x894], ecx
mov dword [ebp - 8], 2
push 0x459068
mov eax, dword [ebp - 0x894]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x894]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42c09a
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x42c08b
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0
mov eax, dword [ebp - 0x260]
and eax, 0x10
jne 0x42c03d
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp - 0x894]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x894]
mov edx, dword [eax + 0x18]
call edx
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0
je 0x42c03d
push 0
lea eax, [ebp - 0x890]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x26c]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x894]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x894]
mov eax, dword [edx + 0x3c]
call eax
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
je 0x42c02b
mov ecx, dword [ebp + 0x18]
and ecx, 4
je 0x42bfee
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x898], edx
mov eax, dword [ebp - 0x898]
mov ecx, dword [eax + 0x614]
cmp ecx, dword [ebp - 0x27c]
jne 0x42bfca
mov edx, dword [ebp - 0x898]
mov eax, dword [edx + 0x618]
cmp eax, dword [ebp - 0x278]
je 0x42bfd6
mov dword [ebp - 0x89c], 1
jmp 0x42bfe0
mov dword [ebp - 0x89c], 0
mov ecx, dword [ebp - 0x89c]
mov dword [ebp - 0x268], ecx
jmp 0x42c01c
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x26c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x894]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x894]
mov edx, dword [eax + 0x40]
call edx
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x264]
add eax, 1
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x26c]
push ecx
mov ecx, dword [ebp - 0x894]
call fcn.0042bbd0
cmp dword [ebp - 0x268], 0
jne 0x42c05f
lea edx, [ebp - 0x260]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42bf17
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x268], 0
je 0x42c07b
mov dword [ebp - 8], 0x50
jmp 0x42c08b
cmp dword [ebp - 0x264], 0
jbe 0x42c08b
mov dword [ebp - 8], 0
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 0x894]
call fcn.0042bbd0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00414810
mov esp, ebp
pop ebp
ret 0x14
Function at 0x42c4c0
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
push 0x459020
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x42c4ec
push 0x7e
mov ecx, dword [ebp - 0x14]
call fcn.00404e10
jmp 0x42c5aa
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
and ecx, 0xfffffffc
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
or edx, 0x80
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x45903c
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x42c55c
push 0
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.0042bb50
add esp, 4
push eax
call dword [ebp - 0xc]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00404e10
jmp 0x42c5a0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x34]
call edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x30]
call eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00404e10
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esp, ebp
pop ebp
ret 4
Function at 0x42c9d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x890
mov eax, dword [0x466cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x890], ecx
mov dword [ebp - 8], 2
push 0x4590b0
mov eax, dword [ebp - 0x890]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x890]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42cb59
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x42cb4a
mov dword [ebp - 0x264], 0
mov eax, dword [ebp - 0x260]
and eax, 0x10
jne 0x42cb1e
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp - 0x890]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x890]
mov edx, dword [eax + 0x18]
call edx
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
je 0x42cb1e
push 0
lea eax, [ebp - 0x888]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x268]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x890]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x890]
mov eax, dword [edx + 0x38]
call eax
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0
je 0x42cb0c
push 0x7fffffff
lea ecx, [ebp - 0x87c]
push ecx
call fcn.0042c9a0
add esp, 8
mov dword [ebp - 0x88c], eax
mov edx, dword [ebp + 0xc]
add edx, 0xc
push edx
lea eax, [ebp - 0x87c]
push eax
call fcn.00414f22
add esp, 8
test eax, eax
je 0x42cb0c
cmp dword [ebp + 0x14], 0
je 0x42cb05
push 0x61c
lea ecx, [ebp - 0x888]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call fcn.004153d0
add esp, 0xc
mov dword [ebp - 8], 0x50
mov eax, dword [ebp - 0x268]
push eax
mov ecx, dword [ebp - 0x890]
call fcn.0042bbd0
cmp dword [ebp - 0x264], 0
jne 0x42cb40
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42ca3d
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x890]
call fcn.0042bbd0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00414810
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42cd70
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
push 0x7fffffff
mov eax, dword [ebp + 8]
push eax
call fcn.0042c9a0
add esp, 8
add eax, 0x104
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004056cd
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42cdce
push 8
mov ecx, dword [ebp - 0x1c]
call fcn.00404e10
xor eax, eax
jmp 0x42cedb
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004018f0
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
jmp 0x42cdf4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
test ecx, ecx
je 0x42ce00
jmp 0x42cde7
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 4]
jae 0x42ce3c
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
cmp ecx, 0x2e
je 0x42ce3c
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x5c
je 0x42ce3c
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
cmp edx, 0x2f
je 0x42ce3c
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_CharPrevW]
mov dword [ebp - 4], eax
jmp 0x42ce00
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x2e
jne 0x42ce62
push 0x459054
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
push eax
call fcn.004018f0
jmp 0x42ce86
push 0x45905c
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004019a0
push 0x459060
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004019a0
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
and edx, 0xfffffffc
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
or eax, 0x80
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.00404e10
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x4333b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x466cc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0x10
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x1c], 0
jbe 0x4334dc
cmp dword [ebp - 0x1c], 4
jb 0x43343c
push 4
push 0x4593c0
call fcn.00433320
add esp, 8
push eax
push 0x4593c4
lea eax, [ebp - 0x14]
push eax
call fcn.004158cc
add esp, 0xc
test eax, eax
jne 0x43343c
push 4
push 0x4593c8
call fcn.00433320
add esp, 8
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ebp - 0x18], 2
jmp 0x4334dc
cmp dword [ebp - 0x1c], 3
jb 0x433484
push 3
push 0x4593cc
call fcn.00433320
add esp, 8
push eax
push 0x4593d0
lea edx, [ebp - 0x14]
push edx
call fcn.004158cc
add esp, 0xc
test eax, eax
jne 0x433484
push 3
push 0x4593d4
call fcn.00433320
add esp, 8
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ebp - 0x18], 3
jmp 0x4334dc
cmp dword [ebp - 0x1c], 3
jb 0x4334cc
push 3
push 0x4593d8
call fcn.00433320
add esp, 8
push eax
push 0x4593dc
lea edx, [ebp - 0x14]
push edx
call fcn.004158cc
add esp, 0xc
test eax, eax
jne 0x4334cc
push 3
push 0x4593e0
call fcn.00433320
add esp, 8
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ebp - 0x18], 4
jmp 0x4334dc
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00414810
mov esp, ebp
pop ebp
ret 0xc
Function at 0x433940
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 8], 0xffffffff
je 0x433ae5
push 2
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + 0xb0]
call eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x433adb
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x24], 2
jne 0x4339f3
mov dword [ebp - 0x28], 0x432a50
mov ecx, dword [ebp - 0x14]
shl ecx, 1
mov dword [ebp - 0x10], ecx
jmp 0x433a2c
cmp dword [ebp - 0x24], 3
jne 0x433a08
mov dword [ebp - 0x28], fcn.00432830
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x433a2c
cmp dword [ebp - 0x24], 4
jne 0x433a1d
mov dword [ebp - 0x28], 0x4338d0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
jmp 0x433a2c
mov dword [ebp - 0x28], 0x432a70
mov ecx, dword [ebp - 0x14]
shl ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
lea ecx, [eax + edx + 6]
push ecx
call fcn.004056cd
add esp, 4
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
je 0x433adb
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x20]
mov dword [ebp - 0x14], edx
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x14]
jne 0x433ac9
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.004318d0
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.004056d8
add esp, 4
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x435f60
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0x3e8
jne 0x435fd3
push 0x23
push str.ProviderMicrosoft.Networking.SSDP
mov eax, dword [ebp + 0x18]
push eax
call fcn.00414c79
add esp, 0xc
test eax, eax
jne 0x435f9a
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x34], 1
push str._OnEvent_:SEARCHCOMPLETE_SSDP_Provider._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x435fd3
push 0x23
push str.ProviderMicrosoft.Networking.WSD
mov edx, dword [ebp + 0x18]
push edx
call fcn.00414c79
add esp, 0xc
test eax, eax
jne 0x435fc8
mov eax, dword [ebp + 8]
mov dword [eax + 0x38], 1
push str._OnEvent_:SEARCHCOMPLETE_WSD_Provider._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x435fd3
push str._OnEvent_:SEARCHCOMPLETE_Unknown_Provider._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x38], 0
je 0x435fe9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
pop ebp
ret 0x14

Function at 0x436000
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x38], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x28], 0
je 0x436048
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x30]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x30]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x14]
call ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43608c
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0x14]
call eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x8000000a
jne 0x43609c
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
jne 0x4360be
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x14]
add edx, 0x28
push edx
push 1
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.ole32.dll_CoWaitForMultipleHandles]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x80010115
jne 0x4360d2
push str.CoWaitForMultipleHandles___Timeout_n_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x10], 0
jne 0x4360e3
push str.CoWaitForMultipleHandles___S_OK__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 8], 0
je 0x4360f7
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 4], 0
je 0x43610b
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8
Function at 0x4368b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push str.CErisProbe::Terminate__Start__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x4368cd
jmp 0x436921
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x10]
call edx
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 0x1c]
call ecx
add esp, 4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x20]
call eax
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0
push str.CErisProbe::Terminate__Exit__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esp, ebp
pop ebp
ret

Function at 0x436930
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push str.CErisProbe::Initialize__Start__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
call edx
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 4], 0
je 0x4369ae
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 4]
call ecx
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43698f
push str.CErisProbe::Initialize__Exit__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, 1
jmp 0x4369b0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x20]
call eax
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x436a00
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 1
push str.ENSTRMAPI.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x436a2b
xor eax, eax
jmp 0x436b6f
push str.ENCreateStream
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx], 0
jne 0x436a4e
xor eax, eax
jmp 0x436b6f
push str.ENInitialize
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 4], 0
jne 0x436a73
xor eax, eax
jmp 0x436b6f
push str.ENSetProbeMode
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 8], 0
jne 0x436a98
xor eax, eax
jmp 0x436b6f
push str.ENProbe
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0xc], 0
jne 0x436abd
xor eax, eax
jmp 0x436b6f
push str.ENStopProbe
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x10], 0
jne 0x436ae2
xor eax, eax
jmp 0x436b6f
push str.ENGetDeviceCapability
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x14], 0
jne 0x436b04
xor eax, eax
jmp 0x436b6f
push str.ENDeleteBuffer
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x18], 0
jne 0x436b26
xor eax, eax
jmp 0x436b6f
push str.ENTerminate
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x1c], 0
jne 0x436b48
xor eax, eax
jmp 0x436b6f
push str.ENDeleteStream
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x20], 0
jne 0x436b6a
xor eax, eax
jmp 0x436b6f
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x436f40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x4598e0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
call fcn.004018b0
mov ecx, eax
call fcn.00404190
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov ecx, dword [ebp + 8]
call fcn.00404210
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 0xc], eax
push 0x459920
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4