joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ee80
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push 0x38
lea eax, [esp + 8]
push 0
push eax
call sub.MSVCR90.dll_memset
mov ecx, dword [esp + 0x4c]
add esp, 0xc
mov dword [esp], 0x3c
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], str.properties
mov dword [esp + 4], 0xc
test esi, esi
jne 0x40eebd
mov dword [esp + 8], esi
jmp 0x40eec4
mov edx, dword [esi + 0x20]
mov dword [esp + 8], edx
lea eax, [esp]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [esp + 0x40]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
add esp, 0x3c
ret 4

Function at 0x411460
Capabilities:
Get file size

Disassembly:
push ecx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4114d5
lea ecx, [esp + 8]
push ecx
push esi
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xffffffff
je 0x4114d5
mov edx, dword [esp + 8]
fild dword [esp + 8]
test edx, edx
jge 0x4114b7
fadd qword [0x42d920]
fmul qword [0x42d920]
mov dword [esp + 8], edi
fild dword [esp + 8]
test edi, edi
jge 0x4114cf
fadd qword [0x42d920]
pop edi
faddp st(1)
pop esi
pop ecx
ret
fldz
pop edi
pop esi
pop ecx
ret
Function at 0x414c10
Capabilities:
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x420239
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x436028]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
call dword [sym.imp.ASOHelper.dll_public_virtual:_int___thiscall_CDlgLeftSideChild::OnInitDialog_void_]
call fcn.00414d80
call sub.mfc90u.dll_AfxGetModuleState
mov eax, dword [eax + 8]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
mov eax, dword [esi + 0x20]
push ebx
push 1
push 0x80
push eax
call edi
mov ecx, dword [esi + 0x20]
push ebx
push 0
push 0x80
push ecx
call edi
push 1
push 1
lea edx, [esi + 0x810]
push edx
mov ecx, esi
call dword [sym.imp.ASOHelper.dll_public:_bool___thiscall_CDlgBaseWnd::ConfigureActionButton_class_CHoverButtonWithText___bool__bool_]
push 0x42508c
push str.IDS_DLG_HEADING_PROCESS
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x440670
call dword [sym.imp.ASOHelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSystweakApp::LoadStringW_wchar_t_const___wchar_t_const__]
mov dword [esp + 0x20], 0
mov eax, dword [eax]
push eax
mov ecx, esi
call sub.mfc90u.dll_CWnd::SetWindowTextW
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
call fcn.004154e0
push 0
push 1
lea ebp, [esi + 0x7bc]
push 3
mov ecx, ebp
call sub.mfc90u.dll_CWnd::ModifyStyle
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0x42508c
push 0
mov ecx, ebp
call sub.mfc90u.dll_CListCtrl::InsertColumn
mov ecx, dword [esi + 0x7dc]
push 0x172
push 0
push 0x101e
push ecx
call edi
mov edx, dword [esi + 0x7dc]
push 0
push 0
push 0x1037
push edx
call edi
or eax, 0x120
push eax
mov eax, dword [esi + 0x7dc]
push 0
push 0x1036
push eax
call edi
mov byte [0x440652], 1
test ebx, ebx
je 0x414d46
push ebx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edi, esi
call fcn.00415f20
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x415450
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [esi + 0x9a8]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x466
push eax
call edi
mov ecx, dword [esi + 0x7dc]
push 0
push 0
push 0x1009
push ecx
call edi
call fcn.00405de0
mov edx, dword [0x440794]
mov eax, dword [edx + 0x14f0]
mov ecx, dword [eax + 0x1000]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
pop edi
jmp fcn.00405de0
Function at 0x41ad60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x421cf4
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x436028]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push esi
mov eax, dword [0x436028]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
lea ecx, [esp + 0x20]
call dword [0x42497c]
xor ebx, ebx
mov dword [esp + 0x138], ebx
mov esi, dword [0x4407e8]
cmp esi, ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebx
jle 0x41aecf
test ebx, ebx
jl 0x41af01
cmp ebx, dword [0x4407e8]
jge 0x41af01
mov eax, dword [0x4407e4]
lea eax, [eax + ebx*4]
push eax
lea ecx, [esp + 0x14]
call dword [0x424970]
mov byte [esp + 0x138], 1
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41aeb0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x20]
call dword [0x424970]
mov byte [esp + 0x138], 2
mov ecx, dword [esp + 0x1c]
push edi
call fcn.0041a1e0
fild dword [esp + 0x18]
fmul qword [0x42d928]
fidiv dword [esp + 0x14]
call fcn.0041e9f0
mov esi, eax
xor eax, eax
push 0xfe
push eax
lea ecx, [esp + 0x2e]
push ecx
mov word [esp + 0x30], ax
call sub.MSVCR90.dll_memset
add esp, 0xc
push esi
lea edx, [esp + 0x28]
push str._d___
push edx
call dword [sym.imp.MSVCR90.dll__swprintf]
mov ecx, dword [edi + 0x8b8]
add esp, 0xc
lea eax, [esp + 0x24]
push eax
add ecx, 0xd0
call sub.mfc90u.dll_CWnd::SetWindowTextW
mov eax, dword [edi + 0x8b8]
mov ecx, dword [eax + 0x9c]
push 0
push esi
add eax, 0x7c
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x10]
mov byte [esp + 0x138], 0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
inc ebx
cmp ebx, esi
mov dword [esp + 0x18], ebx
jl 0x41adc8
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 1
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0041e2f2
mov esp, ebp
pop ebp
ret
call sub.mfc90u.dll_AfxThrowInvalidArgException
int3
Function at 0x41b8e0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41fd09
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x436028]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
call dword [sym.imp.ASOHelper.dll_public_virtual:_int___thiscall_CDlgLeftSideChild::OnInitDialog_void_]
call sub.mfc90u.dll_AfxGetModuleState
mov eax, dword [eax + 8]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
mov eax, dword [esi + 0x20]
push ebx
push 1
push 0x80
push eax
call edi
call fcn.0041ba70
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push 6
push 6
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
mov ecx, dword [esi + 0x20]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowRgn]
push 1
push 1
lea edx, [esi + 0x4bc]
push edx
mov ecx, esi
call dword [sym.imp.ASOHelper.dll_public:_bool___thiscall_CDlgBaseWnd::ConfigureActionButton_class_CHoverButtonWithText___bool__bool_]
push 0x42508c
push str.IDS_DLG_DECRY_HEADING_PROCESS
lea eax, [esp + 0x20]
push eax
mov ecx, 0x440670
call dword [sym.imp.ASOHelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSystweakApp::LoadStringW_wchar_t_const___wchar_t_const__]
mov dword [esp + 0x38], 0
mov eax, dword [eax]
push eax
mov ecx, esi
call sub.mfc90u.dll_CWnd::SetWindowTextW
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
call fcn.0041be60
push 0
push 1
lea ebp, [esi + 0x468]
push 3
mov ecx, ebp
call sub.mfc90u.dll_CWnd::ModifyStyle
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0x42508c
push 0
mov ecx, ebp
call sub.mfc90u.dll_CListCtrl::InsertColumn
mov ecx, dword [esi + 0x488]
push 0x12c
push 0
push 0x101e
push ecx
call edi
mov edx, dword [esi + 0x488]
push 0
push 0
push 0x1037
push edx
call edi
or eax, 0x120
push eax
mov eax, dword [esi + 0x488]
push 0
push 0x1036
push eax
call edi
mov byte [0x440653], 1
test ebx, ebx
je 0x41ba4a
push ebx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edi, esi
call fcn.0041c7d0
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41be00
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [esi + 0x654]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x466
push eax
call edi
mov ecx, dword [esi + 0x488]
push 0
push 0
push 0x1009
push ecx
call edi
call fcn.00405de0
mov edx, dword [0x440794]
mov eax, dword [edx + 0x14f8]
mov ecx, dword [eax + 0x8a8]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
pop edi
jmp fcn.00405de0
Function at 0x41e2f2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x436028]
jne 0x41e2fc
repz ret
jmp fcn.0041e81e
Function at 0x40154b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [0x470198]
xor ebx, ebx
push edi
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov dword [esp + 0x18], eax
mov edi, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add edi, esi
mov dword [esp + 0x14], eax
test eax, eax
je 0x4015bb
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
add eax, esi
push eax
call fcn.004017a5
lea ecx, [esp + 0x1c]
call fcn.00401317
cmp eax, dword [esp + 0x10]
je 0x4015d2
lea ecx, [esp + 0x1c]
add edi, 4
call fcn.00401782
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x40158b
xor edi, edi
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401add
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x1c]
call fcn.00401782
jmp 0x4015bd

Function at 0x401659
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
sub cx, 0x1f9
mul edi
dec cx
mul di
mul ebx
sub ax, 0x22b
or edi, ebx
shr cx, 2
rcl eax, 0x6e
rol ax, 0x19
rcl cx, 0xcb
mul si
mov si, 0x1b0
rcr esi, 0xed
inc si
dec dx
movsx ebx, si
movsx ecx, si
rcl cx, 0x33
mov edx, esi
shr ax, 0xb9
dec cx
ja 0x4016b3
test edx, 0x43
ja 0x4016d4
dec bx
imul eax
jmp 0x4016c3
rol bx, 0x64
sub di, cx
ror esi, 0x18
ror ecx, 0xef
movsx ebx, bx
rcl eax, 0x5b
mul esi
jae 0x4016d4
inc ax
movsx ecx, si
rcr ebx, 0x8e
jmp 0x4016ef
and ecx, 0x33b
ror edx, 0x56
rcr di, 0xc6
or esi, 0x389
movzx edi, ax
movsx edi, si
imul edx
mul cx
ror ax, 0x4e
sub ebx, 0xb9
rcl cx, 0x60
jb 0x40170e
imul si
mul eax
inc esi
xor bx, dx
inc ebx
jmp 0x401720
mul eax
add eax, edi
mov ax, 0x2a4
mul ebx
ror edi, 0xfc
xor di, 0xdb
movsx ecx, di
dec bx
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x470198], eax
push 0x27
mov esi, 0x46f130
mov edx, 0x547
push 0x41b900
mov ecx, esi
call fcn.00401112
pop ecx
pop ecx
mov edx, 0x8aafdc01
call fcn.0040154b
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0x4e4
push esi
call eax
pop edi
pop esi
pop ebx
test eax, eax
je 0x40177c
call fcn.004015f4
xor eax, eax
leave
ret 0x10

Function at 0x40238b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4023ca
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4023ca
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4023ca
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4023ca
cmp dword [ecx + 0x74], 0xe
jbe 0x4023ca
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4014b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46acec
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x48b378]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [0x48e27f], 0
je 0x401529
cmp byte [0x48e27a], 0
je 0x4014f3
push 1
call fcn.00401a60
cmp byte [0x48e27b], 0
je 0x401506
push ecx
push 1
mov ecx, esi
call fcn.00401c70
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x48e280], 0
je 0x4016a3
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 1
push 0
push str.wpp_63cc6a8280e3
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
jne 0x40168e
push 4
push str.main
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], eax
mov word [ebp - 0x34], ax
call fcn.00402500
lea edx, [ebp - 0x34]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040b730
push edi
mov byte [ebp - 4], 1
push str.Old_Fullscreen_Wnd_Not_Found___Retry__d__r_n
push dword [eax]
call fcn.0040bb90
add esp, 0xc
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x4015c5
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x4015c5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4015c5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x4015e1
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.00402430
cmp edi, 0xa
jne 0x401678
push str.main
lea ecx, [ebp - 0x4c]
call fcn.00402600
lea edx, [ebp - 0x4c]
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.0040b730
mov byte [ebp - 4], 4
push str.Old_Fullscreen_Wnd_Not_Found___Abort_Now__r_n
push dword [eax]
call fcn.0040bb90
add esp, 8
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x401648
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x401648
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x401648
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
cmp eax, 8
jb 0x401664
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.00402430
xor eax, eax
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
push 0x1f4
call ebx
inc edi
cmp edi, 0xa
jle 0x401541
jmp 0x401506
push 0
push 0
push 0xa404
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401506
mov eax, 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 0x401da0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48b378]
xor eax, ebp
mov dword [ebp - 8], eax
lea eax, [ebp - 0x24]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x401de5
lea eax, [ebp - 0x10]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x401df7
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044e878
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x10]
push 0
push 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
push 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x14], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x24]
test eax, eax
je 0x401ddf
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x514
setne cl
mov eax, ecx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044e878
mov esp, ebp
pop ebp
ret 4

Function at 0x402710
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46adf0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x48b378]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0xc]
mov dword [esi], 0x1010101
mov dword [esi + 4], 0x101
xor eax, eax
mov byte [esi + 8], 0
push 0x12
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x481410
mov word [ecx], ax
call fcn.00402500
mov dword [esi + 0x24], 0
mov eax, esi
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0xa
mov dword [esi + 0x54], 0x4b0
mov dword [esi + 0x58], 0x4b0
mov byte [esi + 0x5c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x405510
Capabilities:
Check mutex on windows
Print debug messages

Disassembly:
push esi
push str.MyFullScreenAppMutex7C7B86812584
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x405580
push ebx
push edi
push str.Singleton_App:_App_Is_Already_Running__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
xor edi, edi
nop dword [eax]
push 0
push str.wpp_63cc6a8280e3
push esi
push 0
inc edi
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
je 0x405578
push 0
push 0
push 0xa406
push esi
call ebx
cmp edi, 0xa
jl 0x405550
pop edi
pop ebx
xor eax, eax
pop esi
ret 0x10
mov eax, 1
pop esi
ret 0x10

Function at 0x4055e0
Capabilities:
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x48b378]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push str.Error
push str.Unhandled_exception_
push 0
mov edi, ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00451470
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [0x48e2ec], 8
mov eax, 0x48e2d8
cmovae eax, dword [0x48e2d8]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x4056f5
cmp esi, 0xffffffff
je 0x4056f5
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x224], eax
xor ecx, ecx
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], edi
push eax
push 0
test edi, edi
mov dword [ebp - 0x21c], 0
lea eax, [ebp - 0x224]
mov dword [ebp - 0x218], 0x4055a0
cmove eax, ecx
mov dword [ebp - 0x214], 0
push eax
push 0xdffd
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044e878
mov esp, ebp
pop ebp
ret
Function at 0x4066c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x6b
mov edi, ecx
call fcn.00415e6c
push str.info
lea ecx, [edi + 0x2c]
call fcn.0041031f
push 0x481bdc
lea ecx, [edi + 0x2c]
mov dword [edi + 0x4bc], eax
call fcn.0041031f
push 0x481be4
lea ecx, [edi + 0x2c]
mov dword [edi + 0x4c0], eax
call fcn.0041031f
push 0x481bec
lea ecx, [edi + 0x2c]
mov dword [edi + 0x4c4], eax
call fcn.0041031f
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0xc8
push 0x1594
push dword [edi + 4]
mov dword [edi + 0x4c8], eax
call esi
push 0
push 0x7d0
push 0x1593
push dword [edi + 4]
call esi
push 0x30
call fcn.0044ed59
push 0x30
mov esi, eax
push 0
push esi
mov dword [ebp - 4], esi
call fcn.00451470
add esp, 0x10
mov ecx, esi
call fcn.00407950
mov esi, eax
mov dword [edi + 0x530], esi
test esi, esi
je 0x4067bb
mov edx, dword [edi + 0x524]
mov ecx, dword [edi + 4]
mov eax, dword [esi + 4]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x2c], edx
test eax, eax
je 0x406795
push 0xa
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x4067bb
lea eax, [esi + 8]
mov dword [esi + 4], 0
push eax
push 0
push esi
push 0x40b690
push 0
push 0
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x407d60
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push 0x48e278
lea ecx, [esi + 0x1c]
call fcn.00402660
mov eax, dword [esi + 4]
mov dword [esi + 0x18], 1
mov dword [esi + 0x7c], 0
test eax, eax
je 0x407d9b
push 0xa
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x407d9b
xor eax, eax
pop esi
ret 4
lea eax, [esi + 8]
mov dword [esi + 4], 0
push eax
push 0
push esi
push 0x40b690
push 0
push 0
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi + 4], eax
test eax, eax
pop esi
setne cl
mov eax, ecx
ret 4