joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000dee4
Capabilities:
Hash data with crc32
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4008
call fcn.10051170
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, eax
add ebx, 3
push 0
mov esi, ecx
pop ecx
mov edi, edx
adc edi, ecx
and ebx, 0xfffffffc
mov dword [ebp - 8], ebx
cmp eax, ecx
jne 0x1000df16
cmp edx, ecx
je 0x1000df22
cmp edx, dword [esi + 0x14]
jb 0x1000df2d
ja 0x1000df22
cmp eax, dword [esi + 0x10]
jbe 0x1000df2d
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
mov dword [ebp - 8], eax
mov ebx, eax
cmp dword [ebp + 0x10], ecx
je 0x1000df39
or dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x38], ecx
mov eax, dword [esi + 0x38]
cmp ecx, edi
ja 0x1000e0b5
jb 0x1000df4e
cmp eax, ebx
jae 0x1000e0b5
mov eax, dword [esi + 4]
push ecx
push 0x8000000
push 3
push ecx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
lea ecx, [ebp + 0x10]
push ecx
push dword [esi + 0x38]
mov dword [ebp + 0xc], eax
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esi + 0x38]
xor ecx, ecx
cmp ecx, edi
ja 0x1000e098
jb 0x1000df97
cmp eax, ebx
jae 0x1000e098
jmp 0x1000df97
mov ebx, dword [ebp - 8]
mov eax, 0x4000
cmp ebx, eax
jbe 0x1000dfa2
mov ebx, eax
push 0
lea eax, [ebp + 0x10]
push eax
push ebx
lea eax, [ebp - 0x4008]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000e098
cmp dword [ebp + 0x10], 0
jbe 0x1000e098
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1000dfdc
mov eax, dword [eax]
test eax, eax
jne 0x1000e098
xor ebx, ebx
test dword [ebp + 0x10], 0xfffffffc
jbe 0x1000e029
movzx ecx, byte [esi + 0x34]
movzx eax, byte [ebp + ebx*4 - 0x4008]
xor eax, ecx
mov ecx, dword [esi + 0x34]
shr ecx, 8
xor ecx, dword [eax*4 + 0x10062220]
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x34], ecx
test eax, eax
je 0x1000e01c
mov ecx, dword [eax]
add ecx, 4
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
inc ebx
shr ecx, 2
cmp ebx, ecx
jb 0x1000dfe7
jmp 0x1000e02c
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
and edx, 3
je 0x1000e06a
or ebx, 0xffffffff
push 4
pop ecx
sub ecx, edx
shl ecx, 3
shr ebx, cl
movzx ecx, bl
mov ebx, dword [ebp + 0x10]
shr ebx, 2
movzx ebx, byte [ebp + ebx*4 - 0x4008]
and ecx, ebx
movzx ebx, byte [esi + 0x34]
xor ecx, ebx
mov ebx, dword [esi + 0x34]
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10062220]
mov dword [esi + 0x34], ebx
test eax, eax
je 0x1000e07a
mov ecx, dword [eax]
add ecx, edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [ebp + 0x10]
add dword [esi + 0x38], eax
mov eax, dword [esi + 0x38]
xor ecx, ecx
cmp ecx, edi
jb 0x1000df94
ja 0x1000e098
cmp eax, dword [ebp - 8]
jb 0x1000df94
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x38]
xor ecx, ecx
cmp ecx, dword [esi + 0x14]
jb 0x1000e0b5
ja 0x1000e0b2
cmp eax, dword [esi + 0x10]
jb 0x1000e0b5
not dword [esi + 0x34]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x10010581
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
call sym.PCBRhelper.dll_Ordinal_353
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x1001069b
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 0xc], eax
cmp eax, ebx
je 0x1001069b
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebx
je 0x1001069b
push dword [ebp + 0xc]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 8], eax
cmp eax, ebx
je 0x1001069b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x1001068f
push dword [ebp + 0xc]
push edi
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [esi + 8]
mov dword [ebp + 0x10], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x10010686
mov eax, dword [ebp + 0x10]
push 0x10
mov dword [ebp + 8], eax
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
cmp edi, ebx
je 0x10010653
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
mov dword [edi], vtable.Gdiplus::Bitmap.0
mov dword [ebp + 0xc], ebx
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [edi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
jmp 0x10010655
xor edi, edi
mov eax, dword [ebp + 0x10]
mov dword [esi + 4], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x10010686
mov ecx, dword [eax + 8]
mov dword [eax + 8], ebx
cmp ecx, ebx
jne 0x10010676
mov al, 1
jmp 0x1001069d
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x10010683
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 8], ebx
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x100111d1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x100112b1
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push edi
push 1
push dword [esi + 0x10]
push 0x30
push eax
call ebx
movzx eax, word [esi]
push 5
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
mov ecx, ebp
call fcn.10010c8e
xor edi, edi
and dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov eax, 0xffff
cmp word [ebp + 2], ax
lea eax, [ebp + 0x10]
je 0x10011238
lea eax, [ebp + 8]
movzx eax, word [eax]
cmp dword [esp + 0x10], eax
jge 0x1001129a
cmp dword [esp + 0x10], 0
jne 0x1001124f
push 5
push dword [esi + 8]
jmp 0x10011252
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x1001129a
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0x14]
je 0x1001127d
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x1001125e
test edi, edi
je 0x1001129a
push 1
push dword [esi + 0x10]
push 0x30
push edi
call ebx
mov eax, dword [esp + 0x14]
call fcn.10010d0a
inc dword [esp + 0x10]
jmp 0x10011223
push dword [esi + 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
xor eax, eax
pop ebp
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
pop ebx
pop esi
pop ecx
pop ecx
ret
Function at 0x1001361e
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x100693ec
push str.Shell_TrayWnd
mov ebx, ecx
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call sub.mfc90u.dll_CWnd::FromHandle
and dword [ebp - 4], 0
test eax, eax
je 0x1001365d
lea ecx, [ebp - 0x14]
push ecx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x6f0]
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x6f4]
push 0x3b
mov dword [esi + 0x1c], eax
call edi
push 0x3c
mov dword [esi + 0x20], eax
call edi
push 0xfffffffffffffffb
pop ecx
sub ecx, dword [ebp - 4]
add eax, ecx
mov ecx, ebx
mov dword [esi + 0x24], eax
call sub.mfc90u.dll_CWnd::Default
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10014746
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10058026
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x10086038]
xor eax, esp
mov dword [esp + 0x7c], eax
push esi
push edi
mov eax, dword [0x10086038]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, ecx
push esi
lea ecx, [esp + 0x30]
call fcn.100501d0
and dword [esp + 0x98], 0
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0xc]
push eax
push dword [esi + 0x20]
call edi
cmp byte [esi + 0x170], 0
je 0x100147ed
mov eax, dword [esi + 0x16c]
test eax, eax
je 0x100147ed
push 1
push 4
push eax
call sub.mfc90u.dll_AfxIsValidAddress
test eax, eax
je 0x100147ed
lea eax, [esp + 0x1c]
push eax
push dword [esi + 0x20]
call edi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
push dword [esi + 0x174]
push esi
call dword [esi + 0x16c]
add esp, 0x10
jmp 0x100147fe
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call sym.PCBRhelper.dll_Ordinal_881
or dword [esp + 0x98], 0xffffffff
lea ecx, [esp + 0x2c]
call sub.mfc90u.dll_CPaintDC::CPaintDC
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.10050724
mov esp, ebp
pop ebp
ret
Function at 0x10016c71
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10055afa
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x10086038]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
push 0xdedede
push 1
push 0
lea ecx, [esp + 0x30]
call sub.mfc90u.dll_CPen::CPen
mov ebx, dword [ebp + 8]
and dword [esp + 0x58], 0
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call sub.mfc90u.dll_CDC::SelectObject_1
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x18]
lea edi, [esi + eax]
push 0xa
lea eax, [edi + 3]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x14]
pop ecx
mov dword [esp + 0x38], eax
mov eax, ecx
push ecx
push eax
push ebx
lea eax, [esp + 0x38]
mov dword [esp + 0x38], esi
call fcn.10017241
push 0xfbfbfb
lea ecx, [esp + 0x20]
call sub.mfc90u.dll_CBrush::CBrush
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
mov byte [esp + 0x5c], 1
call sub.mfc90u.dll_CDC::SelectObject_2
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
add eax, 0xfffffffe
push eax
mov eax, dword [ebp + 0x10]
add edi, 2
push edi
add eax, 2
push eax
add esi, 2
push esi
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push dword [esp + 0x20]
lea eax, [esp + 0x40]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_FillRect]
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.10010bd0
push dword [esp + 0x18]
mov ecx, ebx
call sub.mfc90u.dll_CDC::SelectObject_1
mov byte [esp + 0x58], 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CBrush.0
call fcn.1000b470
or dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CPen.0
call fcn.1000b470
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001b590
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x100693ec
push str.Shell_TrayWnd
mov ebx, ecx
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call sub.mfc90u.dll_CWnd::FromHandle
and dword [ebp - 4], 0
test eax, eax
je 0x1001b5cf
lea ecx, [ebp - 0x14]
push ecx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x3c4]
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x3c8]
push 0x3b
mov dword [esi + 0x1c], eax
call edi
push 0x3c
mov dword [esi + 0x20], eax
call edi
push 0xfffffffffffffffb
pop ecx
sub ecx, dword [ebp - 4]
add eax, ecx
mov ecx, ebx
mov dword [esi + 0x24], eax
call sub.mfc90u.dll_CWnd::Default
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1001ef30
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x1001ef4c
xor eax, eax
jmp 0x1001f010
push ebx
push edi
xor eax, eax
push eax
push eax
push eax
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCW]
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [esi + 8]
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
push 8
push dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
mov esi, dword [esi + 0xc]
mov dword [ebp - 4], eax
call ebx
push 0xa
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
call ebx
xor ecx, ecx
cmp dword [ebp - 8], ecx
jge 0x1001ef9d
mov dword [ebp - 8], ecx
cmp dword [ebp - 4], ecx
jge 0x1001efa5
mov dword [ebp - 4], ecx
cmp edi, dword [ebp - 0xc]
jle 0x1001efad
mov edi, dword [ebp - 0xc]
cmp esi, eax
jle 0x1001efb3
mov esi, eax
sub esi, dword [ebp - 4]
sub edi, dword [ebp - 8]
push esi
mov ebx, edi
push ebx
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, dword [ebp - 0x10]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
call esi
push 0xcc0020
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp - 0xc]
push ebx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x10]
push edi
call esi
push dword [ebp + 8]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
mov ebx, eax
call esi
push edi
call esi
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4
Function at 0x1002021f
Capabilities:
Inspect load icon resource
Set current directory

Disassembly:
push 0x28
mov eax, 0x100569dd
call fcn.100514bc
mov esi, ecx
mov eax, 0x507
push eax
push 0xe
push eax
mov byte [sym.PCBRhelper.dll_Ordinal_1270], 1
call sub.mfc90u.dll_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [sym.PCBRhelper.dll_Ordinal_1264], eax
lea eax, [ebp - 0x10]
push eax
call sym.PCBRhelper.dll_Ordinal_397
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
call sym.PCBRhelper.dll_Ordinal_467
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call sym.PCBRhelper.dll_Ordinal_981
add esp, 0x10
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 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]
lea eax, [ebp - 0x18]
push eax
call sym.PCBRhelper.dll_Ordinal_381
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 2
call sym.PCBRhelper.dll_Ordinal_981
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 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]
push dword [sym.PCBRhelper.dll_Ordinal_1262]
mov ecx, esi
call sub.mfc90u.dll_Ordinal_12981
push dword [ebp - 0x10]
mov ecx, esi
call sub.mfc90u.dll_CWinApp::SetRegistryKey
push dword [sym.PCBRhelper.dll_Ordinal_1262]
call fcn.1000f771
pop ecx
lea ecx, [ebp - 0x14]
mov dword [esi + 0x10c], eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov byte [ebp - 4], 3
call sub.mfc90u.dll_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x14]
push ecx
push eax
call sym.PCBRhelper.dll_Ordinal_376
pop ecx
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call sym.PCBRhelper.dll_Ordinal_641
test al, al
je 0x10020362
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], SysStringLen
call sym.PCBRhelper.dll_Ordinal_62
xor esi, esi
inc esi
mov byte [ebp - 4], 4
push esi
mov dword [ebp - 0x30], 0x2001f
call sym.PCBRhelper.dll_Ordinal_522
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x34]
call sym.PCBRhelper.dll_Ordinal_872
test eax, eax
je 0x10020352
lea eax, [ebp - 0x18]
push eax
push str.REGISTEREDVERFOUNINSTALL
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], esi
call sym.PCBRhelper.dll_Ordinal_1136
lea ecx, [ebp - 0x34]
call sym.PCBRhelper.dll_Ordinal_265
lea ecx, [ebp - 0x34]
call sym.PCBRhelper.dll_Ordinal_124
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x10]
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.10051594
ret
Function at 0x10022814
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push dword [ecx + 0x108]
xor ebx, ebx
inc ebx
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1002283e
cmp eax, 5
je 0x1002283e
xor bl, bl
test esi, esi
je 0x10022849
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop esi
mov al, bl
pop ebx
ret

Function at 0x10022a58
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x10086038]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0x68], eax
xor eax, eax
push 0x3e
push eax
mov word [ebp - 0x64], ax
lea eax, [ebp - 0x62]
push eax
call sub.MSVCR90.dll_memset
xor eax, eax
mov word [ebp - 0x24], ax
lea edi, [ebp - 0x22]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x14], ax
lea edi, [ebp - 0x12]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
lea edi, [ebp - 0x7c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
and dword [ebp - 0x80], 0
push 2
lea eax, [ebp - 0x64]
push eax
push 0x12
mov esi, 0x400
push esi
call edi
mov ebx, dword [sym.imp.MSVCR90.dll__wtoi]
lea eax, [ebp - 0x64]
push eax
call ebx
pop ecx
push 4
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x24]
push eax
push 0xe
push esi
mov dword [ebp - 0x78], 3
call edi
lea eax, [ebp - 0x24]
push 4
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x14]
push eax
push 0xf
push esi
call edi
lea eax, [ebp - 0x14]
push 2
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x64]
push eax
push 0x1010
push esi
call edi
lea eax, [ebp - 0x64]
push eax
call ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x6c], eax
push dword [ebp + 8]
lea eax, [ebp - 0x64]
push str._I64d
push eax
call fcn.10025eac
add esp, 0x14
push dword [ebp + 0x14]
lea eax, [ebp - 0x80]
push dword [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x68]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10050724
leave
ret 0x10
Function at 0x10022d21
Capabilities:
Compare security identifiers

Disassembly:
push ebp
lea ebp, [esp - 0xf9c]
mov eax, 0x101c
call fcn.10051170
mov eax, dword [0x10086038]
xor eax, ebp
mov dword [ebp + 0xf98], eax
push ebx
xor ebx, ebx
push 0xfff
lea eax, [ebp - 0x67]
push ebx
push eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x78], ebx
mov byte [ebp - 0x70], bl
mov byte [ebp - 0x6f], bl
mov byte [ebp - 0x6e], bl
mov byte [ebp - 0x6d], bl
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], 5
mov byte [ebp - 0x68], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push ebx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x10022daa
lea eax, [ebp - 0x74]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x10022daa
mov al, 1
jmp 0x10022e37
lea ecx, [ebp - 0x7c]
push ecx
mov eax, 0x1000
push eax
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x68]
push eax
push 2
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x10022da3
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x10022da3
push esi
xor esi, esi
mov dword [ebp - 0x80], ebx
cmp dword [ebp - 0x68], ebx
jbe 0x10022e1c
push edi
lea edi, [ebp - 0x64]
push dword [edi]
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x10022e14
inc esi
add edi, 8
cmp esi, dword [ebp - 0x68]
jb 0x10022dfa
jmp 0x10022e1b
mov dword [ebp - 0x80], 1
pop edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp - 0x80], ebx
pop esi
setne al
mov ecx, dword [ebp + 0xf98]
xor ecx, ebp
pop ebx
call fcn.10050724
add ebp, 0xf9c
leave
ret

Function at 0x10022e4d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.PCBRhelper.dll_Ordinal_1055
Function at 0x10022ede
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 4
mov eax, 0x100535b4
call fcn.100514bc
test byte [0x1008a548], 1
jne 0x10022f13
or dword [0x1008a548], 1
and dword [ebp - 4], 0
call sym.PCBRhelper.dll_Ordinal_479
cdq
mov dword [0x1008a540], eax
mov dword [0x1008a544], edx
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
jne 0x10022f53
test esi, esi
je 0x10022f2d
mov eax, dword [0x1008a540]
mov ecx, dword [0x1008a544]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1008a4d4]
cmp eax, ecx
jbe 0x10022f59
mov edx, eax
sub edx, ecx
cmp edx, 0x4000
jae 0x10022f59
mov eax, dword [0x10086bdc]
jmp 0x1002300d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1008a4d4], eax
call sym.PCBRhelper.dll_Ordinal_479
cdq
mov dword [0x1008a540], eax
mov dword [0x1008a544], edx
call fcn.10030605
mov byte [ebp + 0xf], al
mov eax, dword [0x1008a540]
cmp dword [0x1008a544], 0
jg 0x10022f96
jl 0x10022f8b
test eax, eax
ja 0x10022f96
mov al, byte [ebp + 0xf]
test al, al
jne 0x10022f96
mov byte [ebp + 0xf], 1
call fcn.10030617
mov byte [ebp - 0xd], al
call dword [sym.imp.PCBRsys.dll_Ordinal_25]
mov byte [ebp - 0xe], al
test esi, esi
je 0x10022fc6
push 1
push 4
push esi
call sub.mfc90u.dll_AfxIsValidAddress
test eax, eax
je 0x10022fc6
mov eax, dword [0x1008a540]
mov ecx, dword [0x1008a544]
mov dword [esi], eax
mov al, byte [ebp + 0xf]
test al, al
je 0x10022fdb
mov al, byte [ebp - 0xd]
test al, al
je 0x10022fdb
mov eax, 0x278d7
jmp 0x10023008
mov al, byte [ebp + 0xf]
test al, al
jne 0x10022ff0
mov al, byte [ebp - 0xd]
test al, al
je 0x10022ff0
mov eax, 0x13c727
jmp 0x10023008
mov al, byte [ebp + 0xf]
test al, al
jne 0x10023003
mov al, byte [ebp - 0xd]
test al, al
mov eax, 0x9e389
je 0x10023008
mov eax, 0x13c69
mov dword [0x10086bdc], eax
call fcn.10051594
ret