joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463360
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x72232c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov ebx, ecx
push eax
push str.Shell_TrayWnd
mov dword [ebp - 0x48], eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x4633a6
lea ecx, [ebp - 0x24]
push ecx
push eax
call esi
cmp dword [ebp - 0x20], 0
jle 0x4633a6
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x48], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea ecx, [ebp - 0x34]
push ecx
push eax
call esi
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 4]
call esi
lea eax, [ebp - 0x44]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x28]
lea ecx, [ebx + 4]
mov edx, dword [ebp - 0x38]
sub esi, edx
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x3c]
sub edi, eax
sub esi, dword [ebp - 0x48]
add eax, 5
sub edi, 0xa
sub esi, 5
add eax, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], eax
push 1
lea eax, [esi + edx]
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0043115a
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b4733
mov esp, ebp
pop ebp
ret

Function at 0x465c45
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, esi
call fcn.00467ea2
pop esi
ret

Function at 0x467ea2
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00467d59

Function at 0x468203
Capabilities:
Hide graphical window

Disassembly:
push 0xb0
mov eax, 0x654684
call fcn.005b477b
mov esi, ecx
push 1
push 3
lea ecx, [ebp - 0xbc]
call fcn.004078ff
push dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0xac]
push str.ShowActivateButton___:
push eax
call fcn.0040710b
pop ecx
pop ecx
mov ecx, eax
call fcn.00427ada
lea eax, [ebp - 0xbc]
push eax
push str.CWizardSheet::ShowActivateButton
push 0x292
push str.D:_build6c589d3ff8507062_srcuiWizardSheet.cpp
push 1
call fcn.0040b02b
mov ecx, eax
call fcn.0041875b
lea ecx, [ebp - 0xbc]
call fcn.0040843a
push 5
xor eax, eax
cmp byte [ebp + 8], 1
pop ecx
cmove eax, ecx
push eax
push dword [esi + 0x4c4]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.005b4744
ret 4

Function at 0x46926c
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x469289
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop esi
ret
Function at 0x46aea2
Capabilities:
Hide graphical window

Disassembly:
push 0x4c
mov eax, 0x654bc5
call fcn.005b47af
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x240]
push dword [esi + 0x30]
mov dword [esi + 0x9d0], eax
call fcn.004480b3
push dword [esi + 0x30]
lea ecx, [esi + 0x328]
call fcn.004480b3
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
xor ebx, ebx
push ebx
push dword [esi + 0x76c]
call edi
push ebx
push dword [esi + 0x8ac]
call edi
mov eax, dword [esi + 0x9d0]
test eax, eax
jne 0x46afe1
mov ecx, dword [esi + 0x9c8]
lea eax, [ebp - 0x58]
push eax
call fcn.0043f44d
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push 0x690250
push eax
call fcn.00417d55
add esp, 0xc
inc ebx
lea ecx, [esi + 0x70]
push eax
mov byte [ebp - 4], bl
call fcn.0044804b
push 0
push ebx
lea ecx, [ebp - 0x28]
call fcn.00409de7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
push 0
push ebx
call fcn.00409de7
and dword [ebp - 0x18], 0
xor eax, eax
push 0x6902a8
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.005ff18e
pop ecx
push eax
push 0x6902a8
lea ecx, [ebp - 0x28]
call fcn.0040a315
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
lea ecx, [esi + 0x158]
call fcn.0044804b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push ebx
call fcn.00409de7
push dword [esi + 0x2c]
lea ecx, [esi + 0x240]
call fcn.004480b3
push 5
push dword [esi + 0x76c]
call edi
mov ecx, esi
call fcn.0046c935
movzx eax, byte [esi + 0x73a]
mov ecx, esi
push eax
call fcn.0046c352
push 0
lea eax, [esi + 0x739]
mov ecx, esi
push eax
lea eax, [esi + 0x700]
push eax
call fcn.0046c18a
jmp 0x46b0cf
xor ebx, ebx
inc ebx
cmp eax, ebx
jne 0x46b0cf
mov ecx, dword [esi + 0x9c8]
lea eax, [ebp - 0x28]
push eax
call fcn.0043f44d
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 3
push 0x690348
push eax
call fcn.00417d55
add esp, 0xc
push eax
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 4
call fcn.0044804b
push 0
push ebx
lea ecx, [ebp - 0x58]
call fcn.00409de7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push ebx
call fcn.00409de7
and dword [ebp - 0x30], 0
xor eax, eax
push 0x6903a0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.005ff18e
pop ecx
push eax
push 0x6903a0
lea ecx, [ebp - 0x40]
call fcn.0040a315
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 5
push eax
lea ecx, [esi + 0x158]
call fcn.0044804b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
push 0
push ebx
call fcn.00409de7
push dword [esi + 0x2c]
lea ecx, [esi + 0x328]
call fcn.004480b3
push 5
push dword [esi + 0x8ac]
call edi
mov ecx, esi
call fcn.0046c36f
push 0
lea eax, [esi + 0x738]
mov ecx, esi
push eax
lea eax, [esi + 0x6c8]
push eax
call fcn.0046c18a
movzx eax, byte [esi + 0x73b]
mov ecx, esi
push eax
call fcn.0046c335
push ebx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.005b4759
ret 4
Function at 0x46b0e3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x72232c]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
push edi
mov edi, ecx
cmp byte [edi + 0x9c2], al
je 0x46b1b6
push ebx
push esi
mov byte [edi + 0x9c2], al
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 4]
call fcn.0043191e
cmp byte [edi + 0x9c2], 0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x46b151
sub dword [ebp - 0x10], 0x14
push 0
push dword [edi + 0x244]
call esi
push 0
push dword [edi + 0x32c]
call esi
push 0
jmp 0x46b170
mov eax, dword [edi + 0x9c4]
push 1
push dword [edi + 0x244]
mov dword [ebp - 0x10], eax
call esi
push 1
push dword [edi + 0x32c]
call esi
push 1
push dword [edi + 0x414]
call esi
push 1
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x34]
call fcn.0043115a
inc dword [ebp - 0x14]
lea eax, [ebp - 0x14]
inc dword [ebp - 0x10]
lea ecx, [edi + 0x76c]
dec dword [ebp - 0xc]
dec dword [ebp - 8]
push 1
push eax
call fcn.0043115a
push 1
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x8ac]
call fcn.0043115a
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.005b4733
mov esp, ebp
pop ebp
ret 4
Function at 0x46c18a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x72232c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 0x2c], ebx
je 0x46c29f
cmp byte [esi], 0
jne 0x46c322
lea ecx, [ebp - 0x14]
push ecx
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [edi + 4]
call fcn.0043191e
lea eax, [ebx + 4]
push dword [eax]
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_IsWindow]
xor ebx, ebx
inc ebx
test eax, eax
jne 0x46c249
mov ecx, dword [ebp - 0x2c]
push eax
push dword [edi + 4]
call fcn.0046a1c8
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push dword [eax]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
dec ecx
mov eax, edx
mov dword [edi + 0x73c], ecx
sub eax, ecx
mov dword [ebp - 0x30], edx
mov ecx, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.0043115a
mov eax, dword [ebp - 0x2c]
push 0
push ebx
push 0xf1
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x73c]
lea ecx, [edi + 0x34]
sub dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0043115a
inc dword [ebp - 0x14]
lea eax, [ebp - 0x14]
inc dword [ebp - 0x10]
lea ecx, [edi + 0x76c]
dec dword [ebp - 0xc]
dec dword [ebp - 8]
push ebx
push eax
call fcn.0043115a
push ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x8ac]
call fcn.0043115a
mov eax, dword [ebp - 0x28]
push 5
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi], bl
jmp 0x46c322
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46c322
cmp byte [esi], 0
je 0x46c322
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 4]
call fcn.0043191e
mov eax, dword [edi + 0x73c]
lea ecx, [edi + 0x34]
add dword [ebp - 8], eax
xor ebx, ebx
inc ebx
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0043115a
inc dword [ebp - 0x14]
lea eax, [ebp - 0x14]
inc dword [ebp - 0x10]
lea ecx, [edi + 0x76c]
dec dword [ebp - 0xc]
dec dword [ebp - 8]
push ebx
push eax
call fcn.0043115a
push ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x8ac]
call fcn.0043115a
mov eax, dword [ebp - 0x2c]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, esi
mov byte [eax], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b4733
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46e60f
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x46e775
push ebx
mov edx, 0x10000000
cmp eax, 0x7c
je 0x46e774
cmp eax, 0x29
jne 0x46e647
cmp dword [esi + 0x10], 0
jne 0x46e774
test dword [esi + 0x50], edx
je 0x46e781
cmp eax, 0x2e
jne 0x46e662
push 5
lea ecx, [esi + 0x24]
call fcn.0046f47e
mov ecx, esi
call fcn.0046f4be
jmp 0x46e75f
cmp eax, 0x5c
jne 0x46e6bd
mov ecx, esi
call fcn.0046f4be
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x46e694
cmp byte [esi + 0x48], 0x62
jne 0x46e694
push 4
lea ecx, [esi + 0x24]
call fcn.0046f47e
mov ecx, esi
call fcn.0046f4be
jmp 0x46e766
test eax, eax
je 0x46e6b1
cmp byte [esi + 0x48], 0x42
jne 0x46e6b1
push 4
lea ecx, [esi + 0x24]
call fcn.0046f47e
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x46e688
mov ecx, esi
call fcn.0046e789
jmp 0x46e75f
cmp eax, 0x5b
jne 0x46e6dd
mov ecx, esi
call fcn.0046f4be
mov ecx, esi
call fcn.0046ea75
cmp dword [esi + 0x4c], 0x5d
je 0x46e656
push 4
jmp 0x46e783
cmp eax, 0x28
jne 0x46e705
mov ecx, esi
call fcn.0046f4be
mov ecx, esi
call fcn.0046f8b9
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x46e781
mov ecx, esi
call fcn.0046f4be
jmp 0x46e75b
cmp eax, 0x5e
jne 0x46e711
push 2
jmp 0x46e680
cmp eax, 0x24
jne 0x46e71d
push 3
jmp 0x46e680
cmp eax, 0x2a
je 0x46e77d
cmp eax, 0x2b
je 0x46e77d
cmp eax, 0x3f
je 0x46e77d
cmp eax, 0x7b
je 0x46e77d
cmp eax, 0x7d
jne 0x46e73b
test dword [esi + 0x50], edx
je 0x46e779
cmp eax, 0x5d
jne 0x46e745
test dword [esi + 0x50], edx
je 0x46e6d6
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0046dfc6
mov ecx, esi
call fcn.0046f4be
mov bl, 1
test bl, bl
je 0x46e766
mov ecx, esi
call fcn.0046f4e7
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x46e621
pop ebx
mov al, cl
pop esi
ret
push 6
jmp 0x46e783
push 0xa
jmp 0x46e783
push 5
call fcn.0059cef5
int3
Function at 0x48ef75
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x4c], ebx
jne 0x48ef8d
xor al, al
jmp 0x48f0f4
lea eax, [edi + 0x3c]
mov dword [ebp - 0xc], ebx
cmp dword [eax + 0x14], 8
mov dword [ebp - 8], ebx
jb 0x48ef9e
mov eax, dword [eax]
push esi
push ebx
push ebx
push 0x80
push 2
push 2
push 0x40000000
push eax
lea ecx, [ebp - 0xc]
call fcn.004130cf
mov esi, dword [ebp - 0xc]
test eax, eax
jne 0x48f0e6
cmp dword [edi], 4
jne 0x48efec
push ebx
lea eax, [ebp - 4]
push eax
push 4
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x48efe0
call fcn.00412e32
push ebx
lea eax, [ebp - 4]
push eax
push 5
lea eax, [edi + 8]
jmp 0x48f017
cmp dword [edi], 5
jne 0x48f0d9
push ebx
lea eax, [ebp - 4]
push eax
push 4
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x48f00d
call fcn.00412e32
push ebx
lea eax, [ebp - 4]
push eax
push 8
lea eax, [edi + 0xd]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x48f028
call fcn.00412e32
mov eax, dword [edi + 4]
add eax, 1
je 0x48f05d
mov ecx, ebx
mov dword [ebp - 4], ebx
mov esi, ebx
mov eax, dword [edi + 0x18]
push ebx
add eax, ecx
lea ecx, [ebp - 0xc]
push 6
push eax
call fcn.00413b02
mov ecx, dword [ebp - 4]
inc esi
mov eax, dword [edi + 4]
add ecx, 6
inc eax
mov dword [ebp - 4], ecx
cmp esi, eax
jb 0x48f037
mov esi, dword [ebp - 0xc]
cmp dword [edi], 5
jne 0x48f08a
xor eax, eax
cmp ax, word [edi + 0x13]
jae 0x48f08a
mov esi, ebx
mov eax, dword [edi + 0x24]
lea ecx, [ebp - 0xc]
push ebx
push 4
lea eax, [eax + esi*4]
push eax
call fcn.00413b02
movzx eax, word [edi + 0x13]
inc esi
cmp esi, eax
jl 0x48f06c
mov esi, dword [ebp - 0xc]
mov edx, ebx
mov dword [ebp - 4], edx
cmp dword [edi + 4], ebx
jbe 0x48f0c8
mov esi, ebx
mov ecx, dword [edi + 0x30]
mov eax, dword [esi + ecx + 4]
sub eax, dword [esi + ecx]
je 0x48f0b9
mov eax, dword [esi + ecx + 4]
sub eax, dword [esi + ecx]
push ebx
push eax
push dword [esi + ecx]
lea ecx, [ebp - 0xc]
call fcn.00413b02
mov edx, dword [ebp - 4]
inc edx
add esi, 0xc
mov dword [ebp - 4], edx
cmp edx, dword [edi + 4]
jb 0x48f096
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x48f0d5
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov esi, ebx
mov bl, 1
jmp 0x48f0e6
test esi, esi
je 0x48f0f1
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov esi, ebx
test esi, esi
je 0x48f0f1
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, bl
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a677b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
lea ecx, [eax - 4]
mov dword [ebx], ecx
cmp eax, 4
jne 0x4a679d
mov eax, dword [ebp + 0x10]
and dword [eax], 0
mov al, 1
jmp 0x4a6857
push esi
push ecx
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
test esi, esi
je 0x4a6854
push edi
push dword [ebx]
xor edi, edi
push edi
push esi
call fcn.005f3980
mov eax, dword [ebp + 8]
add esp, 0xc
mov edx, dword [eax]
lea ecx, [eax + 4]
mov eax, dword [ebx]
shr eax, 2
test eax, eax
je 0x4a682a
mov ebx, ecx
mov edi, eax
mov al, byte [ebx]
imul edx, edx, 0x343fd
add edx, 0x269ec3
xor al, dl
mov byte [esi], al
mov eax, edx
sar eax, 8
xor al, byte [ebx + 1]
mov byte [esi + 1], al
mov eax, edx
sar eax, 0x10
xor al, byte [ebx + 2]
mov byte [esi + 2], al
mov eax, edx
mov cl, byte [ebx + 3]
add ebx, 4
sar eax, 0x18
xor al, cl
mov byte [esi + 3], al
add esi, 4
sub edi, 1
jne 0x4a67e1
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
imul eax, edx, 0x343fd
mov edx, dword [ebx]
add eax, 0x269ec3
mov dword [ebp + 0x14], eax
and edx, 3
je 0x4a684f
dec ecx
mov al, byte [ebp + edi + 0x14]
inc ecx
xor al, byte [ecx]
inc edi
mov byte [esi - 1], al
cmp edi, edx
jb 0x4a6840
mov al, 1
pop edi
jmp 0x4a6856
xor al, al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b1e1f
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 4], ecx
push str.SoftwareMicrosoftWindowsCurrentVersionRun_amigo
mov dword [ecx], SysReAllocStringLen
add ecx, 4
call fcn.004078a3
call fcn.004d869b
add esp, 0x1c
mov esp, ebp
pop ebp
ret
Function at 0x4bb6c0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x37c4
call fcn.005b4b80
mov eax, dword [0x72232c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
push esi
lea eax, [ebp - 0x104]
push str..PhysicalDrive_d
push eax
call fcn.004bbd28
add esp, 0xc
lea eax, [ebp - 0x104]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4bb890
and dword [ebp - 0x37c4], 0
lea eax, [ebp - 0x37c0]
push 0xc
push 0
push eax
call fcn.005f3980
xor eax, eax
push 0x2710
push eax
mov dword [ebp - 0x37c0], eax
mov dword [ebp - 0x37bc], eax
lea eax, [ebp - 0x37b4]
push eax
call fcn.005f3980
add esp, 0x18
lea eax, [ebp - 0x37c4]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x37b4]
push eax
push 0xc
lea eax, [ebp - 0x37c0]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
je 0x4bb883
lea eax, [ebp - 0xcbc]
push eax
push 0
push dword [ebp - 0x37a8]
lea eax, [ebp - 0x37b4]
push eax
call fcn.004bb8ad
lea eax, [ebp - 0x8d4]
push eax
push 0
push dword [ebp - 0x37a4]
lea eax, [ebp - 0x37b4]
push eax
call fcn.004bb8ad
lea eax, [ebp - 0x10a4]
push eax
push 0
push dword [ebp - 0x37a0]
lea eax, [ebp - 0x37b4]
push eax
call fcn.004bb8ad
lea eax, [ebp - 0x4ec]
push eax
push 1
push dword [ebp - 0x379c]
lea eax, [ebp - 0x37b4]
push eax
call fcn.004bb8ad
add esp, 0x40
cmp byte [0x7359c8], 0
jne 0x4bb847
movsx eax, byte [ebp - 0x4ec]
push eax
call fcn.006146dd
pop ecx
test eax, eax
jne 0x4bb81f
movsx eax, byte [ebp - 0x4d9]
push eax
call fcn.006146dd
pop ecx
test eax, eax
je 0x4bb847
lea eax, [ebp - 0x4ec]
push eax
push 0x7359c8
call fcn.00626a10
lea eax, [ebp - 0x8d4]
push eax
push 0x735dc8
call fcn.00626a10
xor ebx, ebx
add esp, 0x10
inc ebx
push 0x2710
lea eax, [ebp - 0x37b4]
push 0
push eax
call fcn.005f3980
add esp, 0xc
lea eax, [ebp - 0x37c4]
xor ecx, ecx
push ecx
push eax
push 0x2710
lea eax, [ebp - 0x37b4]
push eax
push ecx
push ecx
push 0x700a0
push edi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
jmp 0x4bb889
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
inc esi
cmp esi, 0x10
jl 0x4bb6de
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b4733
mov esp, ebp
pop ebp
ret
Function at 0x4bca76
Capabilities:
Link many functions at runtime

Disassembly:
push 0x164
mov eax, 0x663ecb
call fcn.005b477b
mov edi, ecx
mov dword [ebp - 0x10], edi
xor ebx, ebx
mov dword [edi], ebx
mov dword [edi + 0x2c], ebx
lea eax, [edi + 0x30]
mov dword [ebp - 4], ebx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ebx
cmp dword [eax + 0x14], 8
jb 0x4bcaa9
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov byte [ebp - 4], 1
mov dword [edi + 0x48], ebx
call fcn.0040ff0c
cmp dword [eax + 4], 0
jle 0x4bcbec
push str.wevtapi.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov dword [edi + 0x48], eax
test eax, eax
jne 0x4bcb35
push 1
push 3
lea ecx, [ebp - 0xc0]
call fcn.004078ff
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
lea eax, [ebp - 0xb0]
push str.LoadLibrary_L_wevtapi.dll___error
push eax
call fcn.0040710b
pop ecx
pop ecx
mov ecx, eax
call fcn.004129b9
lea eax, [ebp - 0xc0]
push eax
push str.FileEventJournal::FileEventJournal
push 0x1a
push str.D:_build6c589d3ff8507062_src_systemEventJournal.cpp
push ebx
call fcn.0040b02b
mov ecx, eax
call fcn.0041875b
lea ecx, [ebp - 0xc0]
jmp 0x4bcbe7
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.EvtSubscribe
push eax
call esi
push str.EvtQuery
mov dword [0x736414], eax
push dword [edi + 0x48]
call esi
push str.EvtNext
mov dword [0x736420], eax
push dword [edi + 0x48]
call esi
push str.EvtRender
mov dword [0x736424], eax
push dword [edi + 0x48]
call esi
push str.EvtClose
mov dword [0x736428], eax
push dword [edi + 0x48]
call esi
cmp dword [0x736414], 0
mov dword [0x73642c], eax
jne 0x4bcbec
push 1
push 3
lea ecx, [ebp - 0x170]
call fcn.004078ff
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
lea eax, [ebp - 0x160]
push str.GetProcAddress__wevtapiModule___EvtSubscribe___error
push eax
call fcn.0040710b
pop ecx
pop ecx
mov ecx, eax
call fcn.004129b9
lea eax, [ebp - 0x170]
push eax
push str.FileEventJournal::FileEventJournal
push 0x25
push str.D:_build6c589d3ff8507062_src_systemEventJournal.cpp
push ebx
call fcn.0040b02b
mov ecx, eax
call fcn.0041875b
lea ecx, [ebp - 0x170]
call fcn.0040843a
mov eax, edi
call fcn.005b4744
ret
Function at 0x4bdf6b
Capabilities:
Hash data using sha1
Initialize hashing via wincrypt

Disassembly:
push 0x6c
mov eax, 0x664300
call fcn.005b47af
mov esi, ecx
push 0x686090
lea ecx, [ebp - 0x44]
call fcn.00407874
lea eax, [ebp - 0x44]
xor edi, edi
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], edi
mov dword [ebp - 0x2c], edi
call fcn.0040784e
mov eax, dword [ebp - 0x2c]
lea ebx, [esi + 4]
mov dword [esi], eax
mov ecx, ebx
lea eax, [ebp - 0x28]
push eax
call fcn.0040d976
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00409d92
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
push edi
push 1
call fcn.00409d92
lea edi, [esi + 0x1c]
xor ecx, ecx
cmp dword [edi], ecx
je 0x4be027
cmp dword [esi + 0x20], ecx
je 0x4be027
push str.Cryptographic_provider_already_acquired_
lea ecx, [ebp - 0x44]
call fcn.00407874
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 1
xor edi, edi
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], edi
call fcn.0040784e
mov eax, dword [ebp - 0x2c]
mov ecx, ebx
mov dword [esi], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040d976
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00409d92
push edi
push 1
lea ecx, [ebp - 0x44]
call fcn.00409d92
xor al, al
jmp 0x4be106
mov eax, dword [esi + 0x24]
push 0xf0000020
push 1
push ecx
push ecx
push edi
mov dword [esi + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x4be08a
push str.Failed_to_acquire_cryptographic_context.
lea ecx, [ebp - 0x44]
call fcn.00407874
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x44]
push eax
call fcn.0040784e
mov eax, dword [ebp - 0x2c]
mov ecx, ebx
mov dword [esi], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040d976
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00409d92
push 0
jmp 0x4be016
lea eax, [esi + 0x20]
push eax
push 0
push 0
push 0x8004
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x4be104
push str.Failed_to_acquire_cryptographic_context.
lea ecx, [ebp - 0x78]
call fcn.00407874
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x5c]
lea eax, [ebp - 0x78]
push eax
call fcn.0040784e
mov eax, dword [ebp - 0x60]
mov ecx, ebx
mov dword [esi], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040d976
xor ebx, ebx
lea ecx, [ebp - 0x5c]
push ebx
push 1
call fcn.00409d92
push ebx
push 1
lea ecx, [ebp - 0x78]
call fcn.00409d92
push ebx
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [edi], ebx
jmp 0x4be020
mov al, 1
call fcn.005b4759
ret