joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1ce9fa0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
mov edi, ecx
mov eax, dword [0x1d18014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x1ce9fc2
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test eax, eax
jne 0x1ce9fdd
push 2
call fcn.01c83cc0
add esp, 4
test al, al
jne 0x1ce9ff9
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c9ca53
mov eax, ebx
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.01ce3050
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x30
push str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
call fcn.01ce3180
lea eax, [ebp - 0xb0]
push 0x10
push str.RemoveDirectory
push eax
call fcn.01cc91b0
add esp, 0xc
movzx ecx, byte [edi + 0xb]
test cl, cl
mov dword [ebp - 0xc8], eax
jns 0x1cea03e
mov ecx, dword [edi + 4]
mov edi, dword [edi]
jmp 0x1cea041
and ecx, 0x7f
lea ebx, [ebp - 0xc4]
push ecx
push edi
push ebx
call fcn.01c7c370
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1cea068
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
jmp 0x1cea06b
and eax, 0x7f
mov ecx, dword [ebp - 0xc8]
push eax
push ebx
push ecx
call fcn.01cc91b0
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x1cea093
push dword [ebp - 0xc4]
call fcn.01c9ba37
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.01ce31e0
jmp 0x1ce9fdd
Function at 0x1cf3920
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.01ce9e60

Function at 0x1cf8340
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, edx
mov edi, ecx
mov eax, dword [0x1d18014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x18], eax
add esi, edi
cmp edi, esi
jae 0x1cf839a
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov eax, esi
sub eax, edi
push ebx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
sete dl
mov ecx, dword [ebp - 0x14]
test ecx, ecx
sete al
or al, dl
jne 0x1cf8394
mov ebx, ecx
add edi, ebx
cmp al, 1
jne 0x1cf8364
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c9ca53
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402130
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402149
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402184
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402180
lea ebx, [ebx]
cmp esi, eax
jae 0x402184
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402170
cmp esi, eax
jb 0x40218a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x406ca0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
cmp dword [esi + 0x314], 7
push edi
jge 0x406dad
mov ecx, dword [esi + 0x98]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.004457df
mov ecx, dword [esi + 0x314]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
mov edx, 7
sub edx, ecx
imul eax, edx
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
test ecx, ecx
mov dword [esp + 0x14], 0
jle 0x406dad
lea eax, [esi + 0x78]
lea ebp, [esi + 0x2e0]
mov dword [esp + 0x10], eax
jmp 0x406d16
mov esi, ecx
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x20]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004457df
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
push 0
sub edi, ecx
push edi
sub esi, eax
push esi
push ecx
mov ecx, dword [esp + 0x20]
add eax, ebx
push eax
call fcn.00444122
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp - 0x1c]
push 0
push edi
push esi
push edx
add eax, ebx
push eax
call fcn.00444122
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0
push edi
push esi
push ecx
mov ecx, dword [ebp]
add edx, ebx
push edx
call fcn.00444122
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x10], 0x54
add eax, 1
add ebp, 4
cmp eax, dword [ecx + 0x314]
mov dword [esp + 0x14], eax
jl 0x406d14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x407be0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48a560
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4ceb00]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
call fcn.004454c0
mov ebx, dword [ebp + 8]
xor eax, eax
cmp ebx, eax
mov dword [esp + 0x48], eax
je 0x407c45
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x20]
call fcn.00445a99
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], vtable.CBitmap.0
mov byte [esp + 0x48], 1
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
push eax
push ecx
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x18]
call fcn.00445d4a
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.00445dcf
cmp byte [edi + 0xf4], 1
mov dword [esp + 0x10], eax
jne 0x407cb0
lea ecx, [edi + 0xdc]
jmp 0x407cc8
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x10], 0
je 0x407cc2
lea eax, [edi + 0xe4]
push eax
jmp 0x407cc9
lea ecx, [edi + 0xd4]
push ecx
mov ecx, ebx
call fcn.00445762
push 1
lea ecx, [esp + 0x20]
call fcn.0044522c
mov eax, dword [ebp + 0x10]
mov edx, dword [edi]
mov edx, dword [edx + 0x144]
push eax
lea ecx, [esp + 0x30]
push ecx
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call edx
cmp dword [edi + 0x7c], 0
je 0x407d15
mov ecx, dword [ebp + 0x10]
mov eax, dword [edi]
push ecx
lea edx, [esp + 0x30]
push edx
mov edx, dword [eax + 0x15c]
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call edx
mov ecx, dword [ebp + 0x10]
mov eax, dword [edi]
push ecx
lea edx, [esp + 0x30]
push edx
mov edx, dword [eax + 0x158]
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call edx
mov ecx, dword [ebp + 0x10]
mov eax, dword [edi]
push ecx
lea edx, [esp + 0x30]
push edx
mov edx, dword [eax + 0x160]
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call edx
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
mov edx, dword [esp + 0x20]
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [ebx + 4]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x407d88
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.00445dcf
mov byte [esp + 0x48], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.CBitmap.0
call fcn.00403000
lea ecx, [esp + 0x1c]
mov dword [esp + 0x48], 0xffffffff
call fcn.00445afd
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x408c70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48a560
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4ceb00]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
call fcn.004454c0
mov ebx, dword [ebp + 8]
xor eax, eax
cmp ebx, eax
mov dword [esp + 0x48], eax
je 0x408cd5
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x20]
call fcn.00445a99
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], vtable.CBitmap.0
mov byte [esp + 0x48], 1
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
push eax
push ecx
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x18]
call fcn.00445d4a
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.00445dcf
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], eax
call fcn.0044522c
cmp dword [edi + 0x9c], 0
je 0x408d5d
mov eax, dword [ebp + 0x10]
mov edx, dword [edi]
mov edx, dword [edx + 0x144]
push eax
lea ecx, [esp + 0x30]
push ecx
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call edx
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x408d74
push 1
push 1
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
cmp dword [edi + 0x7c], 0
je 0x408d94
mov eax, dword [ebp + 0x10]
mov edx, dword [edi]
mov edx, dword [edx + 0x154]
push eax
lea ecx, [esp + 0x30]
push ecx
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call edx
mov ecx, dword [ebp + 0x10]
mov eax, dword [edi]
push ecx
lea edx, [esp + 0x30]
push edx
mov edx, dword [eax + 0x150]
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call edx
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
mov edx, dword [esp + 0x20]
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [ebx + 4]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x408ded
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.00445dcf
mov byte [esp + 0x48], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.CBitmap.0
call fcn.00403000
lea ecx, [esp + 0x1c]
mov dword [esp + 0x48], 0xffffffff
call fcn.00445afd
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x409790
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
sub esp, 0x108
cmp ecx, eax
push edi
jle 0x4097cb
push eax
push ecx
push str._BufferedSocket::Recv__:_Invalid:_m_nReadOffset_d___m_nBufferedSize_d
push 0x100
push 0x3a
push str.....FrameworkCommonFrwk_BufferedSocket.cpp
mov ecx, 0x4db628
call fcn.0042ffb0
add esp, 0x18
xor al, al
pop edi
add esp, 0x108
ret
sub eax, ecx
test eax, eax
mov dword [esi + 0xc], eax
jle 0x40981a
mov edx, dword [esi + 8]
lea edi, [eax + ecx]
cmp edi, edx
jle 0x409809
push edx
push eax
push ecx
push str._BufferedSocket::Recv__:_Invalid:_m_nReadOffset_d__m_nBufferedSize_d___m_nAllocSize_d
push 0x100
push 0x41
push str.....FrameworkCommonFrwk_BufferedSocket.cpp
mov ecx, 0x4db628
call fcn.0042ffb0
add esp, 0x1c
xor al, al
pop edi
add esp, 0x108
ret
mov edx, dword [esi + 4]
push eax
lea eax, [edx + ecx]
push eax
push edx
call fcn.00470750
add esp, 0xc
mov ecx, dword [esi]
push 0
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0x40
mov dword [esi + 0x10], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x4097c1
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push 0
sub ecx, eax
push ecx
add edx, eax
mov eax, dword [esi]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
jg 0x4098a8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test edi, edi
je 0x40989a
cmp eax, 0x2746
je 0x40989a
push eax
push str._BufferedSocket::Recv__:_recv___failed__error_d_
push 0x100
push 0x55
push str.....FrameworkCommonFrwk_BufferedSocket.cpp
mov ecx, 0x4db628
call fcn.0042ffb0
add esp, 0x14
mov byte [esi + 0x14], 1
xor al, al
pop edi
add esp, 0x108
ret
add dword [esi + 0xc], edi
mov al, 1
pop edi
add esp, 0x108
ret
Function at 0x40a330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48d7e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
mov eax, dword [0x4ceb00]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
test esi, esi
je 0x40a3bb
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x48], eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
call fcn.00411490
test al, al
jne 0x40a3d0
push str._ComPrfGuids::GetAtGuid_____this__GetElement___failed.
push 0x100
push 0x85
push str.....FrameworkCommonDataConversionFrwk_ComPrfGuids.cpp
mov ecx, 0x4db628
call fcn.0042ffb0
add esp, 0x10
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x34
ret 8
xor eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], vtable.Frwk::DataTypes::ComPrfGuid.0
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
call fcn.00411420
test al, al
jne 0x40a440
push str._ComPrfGuids::GetAtGuid_____cComPrfGuid.Attach___failed.
push 0x100
push 0x8b
push str.....FrameworkCommonDataConversionFrwk_ComPrfGuids.cpp
mov ecx, 0x4db628
call fcn.0042ffb0
add esp, 0x10
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x34
ret 8
mov eax, esi
lea ebx, [esp + 0x20]
call fcn.0040a180
test al, al
jne 0x40a490
push str._ComPrfGuids::GetAtGuid_____cComPrfGuid.GetGuid___failed.
push 0x100
push 0x90
push str.....FrameworkCommonDataConversionFrwk_ComPrfGuids.cpp
mov ecx, 0x4db628
call fcn.0042ffb0
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x34
ret 8
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x34
ret 8

Function at 0x40f240
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x19c
mov eax, dword [0x4ceb00]
xor eax, esp
mov dword [esp + 0x194], eax
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x40f29a
push eax
push str.__failed_WSAStartup__d_
push 0x100
push 0x22
push str.....FrameworkCommonFrwk_SockUtil.cpp
mov ecx, 0x4db628
call fcn.0042ffb0
add esp, 0x14
xor al, al
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.0046fe44
add esp, 0x19c
ret
mov ecx, dword [esp + 0x194]
xor ecx, esp
mov al, 1
call fcn.0046fe44
add esp, 0x19c
ret
Function at 0x40f850
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48d3f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4ceb00]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4ceb00]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push str._Enter__UfAuthBase::VerifyDigest__...
push 1
mov esi, ecx
push 0x69
push str.....FrameworkCommonFrwk_UfAuthBase.cpp
mov ecx, 0x4db628
call fcn.0042ffb0
add esp, 0x10
push esi
mov ecx, edi
lea esi, [esp + 0xc]
call fcn.0040f6f0
mov dword [esp + 0x30], 0
cmp dword [esp + 0x1c], 0
jne 0x40f8ed
push str._UfAuthBase::VerifyDigest__:_this__GenerateDigest___failed
push 0x100
push 0x6d
push str.....FrameworkCommonFrwk_UfAuthBase.cpp
mov ecx, 0x4db628
call fcn.0042ffb0
add esp, 0x10
cmp dword [esp + 0x20], 0x10
jb 0x40f8e9
mov eax, dword [esp + 0xc]
push eax
call fcn.0043db3e
add esp, 4
xor al, al
jmp 0x40f95e
lea eax, [esp + 8]
mov edx, ebx
call fcn.004100b0
test al, al
mov ecx, 0x4db628
jne 0x40f932
push str._UfAuthBase:_Invalid_data
push 0x100
push 0x72
push str.....FrameworkCommonFrwk_UfAuthBase.cpp
call fcn.0042ffb0
add esp, 0x10
cmp dword [esp + 0x20], 0x10
jb 0x40f8e9
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0043db3e
add esp, 4
xor al, al
jmp 0x40f95e
push str._Leave__UfAuthBase::VerifyDigest__...
push 1
push 0x76
push str.....FrameworkCommonFrwk_UfAuthBase.cpp
call fcn.0042ffb0
add esp, 0x10
cmp dword [esp + 0x20], 0x10
jb 0x40f95c
mov edx, dword [esp + 0xc]
push edx
call fcn.0043db3e
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0046fe44
add esp, 0x2c
ret
Function at 0x4111f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x489c38
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x4ceb00]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
call fcn.0040ac00
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x411244
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.0040d7d0
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov word [esi + 4], di
call fcn.0040ac00
cmp dword [esp + 0x24], 8
jb 0x41128a
mov eax, dword [esp + 0x10]
push eax
call fcn.0043db3e
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret
Function at 0x412170
Capabilities:
Shutdown system

Disassembly:
push 0xffffffffffffffff
push 0x48c408
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
mov eax, dword [0x4ceb00]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0xa
call fcn.00433ba0
add esp, 4
cmp al, 1
jne 0x4122fc
lea ecx, [esp + 0x18]
push ecx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4122c0
push 0x13
xor ebx, ebx
push str.SeShutdownPrivilege
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.0040acb0
mov dword [esp + 0x40], ebx
mov edx, dword [esp + 0x18]
push edx
mov eax, esi
call fcn.00412360
add esp, 4
cmp al, 1
sete byte [esp + 0x13]
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x34], 8
jb 0x412227
mov eax, dword [esp + 0x20]
push eax
call fcn.0043db3e
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
je 0x41228b
push ebx
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x412346
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._::ExitWindowsEx___failed.__0x_08x_
push 0x100
push 0x32d
push str...CommonInstComn_Utility.cpp
mov ecx, 0x4db628
call fcn.0042ffb0
add esp, 0x14
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x38
ret
push str._InstCommon::Utility::SetPrivilege___failed.
push 0x100
push 0x333
push str...CommonInstComn_Utility.cpp
mov ecx, 0x4db628
call fcn.0042ffb0
add esp, 0x10
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x38
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._::OpenProcessToken___failed.__0x_08x_
push 0x100
push 0x339
push str...CommonInstComn_Utility.cpp
mov ecx, 0x4db628
call fcn.0042ffb0
add esp, 0x14
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x38
ret
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x412346
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._::ExitWindowsEx___failed.__0x_08x_
push 0x100
push 0x341
push str...CommonInstComn_Utility.cpp
mov ecx, 0x4db628
call fcn.0042ffb0
add esp, 0x14
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x38
ret
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x38
ret
Function at 0x4182b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48c2c8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4ceb00]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov eax, dword [0x4ceb00]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x54], 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x20]
lea edx, [esp + 0x14]
push edx
push 0
push 0x4a8764
push esi
call eax
test eax, eax
jge 0x418366
push eax
push str._CMiniBrowser::OpenBrowser_____pElement__getAttribute_url_...__and_the_hresult_is__0x_08x_
push 0x100
push 0x35e
push str..MiniBrowser.cpp
mov ecx, 0x4db628
call fcn.0042ffb0
add esp, 0x14
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [esp + 0x40], 8
jb 0x41847e
mov edx, dword [esp + 0x2c]
push edx
jmp 0x418476
mov ebx, 8
cmp word [esp + 0x14], bx
jne 0x41843f
mov edx, dword [esp + 0x1c]
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418380
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x30]
call fcn.0040acb0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [esp + 0x40], ebx
mov eax, dword [esp + 0x2c]
jae 0x4183b3
lea eax, [esp + 0x2c]
push eax
push str._CMiniBrowser::OpenBrowser_____pElement__getAttribute_url_...__the_URL_is__s
push 1
push 0x365
push str..MiniBrowser.cpp
mov ecx, 0x4db628
call fcn.0042ffb0
mov eax, dword [esp + 0x40]
add esp, 0x14
cmp dword [esp + 0x40], ebx
jae 0x4183e0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
call fcn.00401ea0
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
je 0x41840c
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418428
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x40], ebx
jb 0x41843b
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0043db3e
add esp, 4
xor eax, eax
jmp 0x418483
push str._CMiniBrowser::OpenBrowser_____v_url_value.vt___VT_BSTR
push 0x100
push 0x368
push str..MiniBrowser.cpp
mov ecx, 0x4db628
call fcn.0042ffb0
add esp, 0x10
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [esp + 0x40], ebx
jb 0x41847e
mov eax, dword [esp + 0x2c]
push eax
call fcn.0043db3e
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0046fe44
add esp, 0x48
ret