joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10016cbd
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005f248
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x100a8050]
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.100172ae
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.10010d6f
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.1000b5cb
or dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CPen.0
call fcn.1000b5cb
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 0x1001b56d
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x10074b84
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 0x1001b5ac
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 0x1001ef27
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 0x1001ef43
xor eax, eax
jmp 0x1001f007
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 0x1001ef94
mov dword [ebp - 8], ecx
cmp dword [ebp - 4], ecx
jge 0x1001ef9c
mov dword [ebp - 4], ecx
cmp edi, dword [ebp - 0xc]
jle 0x1001efa4
mov edi, dword [ebp - 0xc]
cmp esi, eax
jle 0x1001efaa
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 0x10022ae9
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 0x10022b13
cmp eax, 5
je 0x10022b13
xor bl, bl
test esi, esi
je 0x10022b1e
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop esi
mov al, bl
pop ebx
ret
Function at 0x10022d2d
Capabilities:
Check if file exists

Disassembly:
push 0x14
mov eax, 0x1005d707
call fcn.100596da
xor esi, esi
mov dword [ebp - 0x14], esi
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + 8]
push 0x100750bc
call dword [0x1006ce70]
push dword [ebp + 0xc]
mov dword [ebp - 0x14], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10022da6
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
lea esi, [ebp - 0x20]
call fcn.1000605f
lea eax, [ebp - 0x18]
push eax
mov eax, esi
push eax
call fcn.10006115
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [ebp - 0x18]
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 byte [ebp - 4], bl
push dword [ebp - 0x20]
call sub.mfc90u.dll_delete__
pop ecx
lea ecx, [ebp + 0xc]
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, dword [ebp + 8]
call fcn.100597b2
ret
Function at 0x10022db8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x100a8050]
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.10024c89
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.1005883e
leave
ret 0x10
Function at 0x10023081
Capabilities:
Compare security identifiers

Disassembly:
push ebp
lea ebp, [esp - 0xf9c]
mov eax, 0x101c
call fcn.100592a0
mov eax, dword [0x100a8050]
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 0x1002310a
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 0x1002310a
mov al, 1
jmp 0x10023197
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 0x10023103
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 0x10023103
push esi
xor esi, esi
mov dword [ebp - 0x80], ebx
cmp dword [ebp - 0x68], ebx
jbe 0x1002317c
push edi
lea edi, [ebp - 0x64]
push dword [edi]
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x10023174
inc esi
add edi, 8
cmp esi, dword [ebp - 0x68]
jb 0x1002315a
jmp 0x1002317b
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.1005883e
add ebp, 0xf9c
leave
ret

Function at 0x100231ad
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.SACOhelper.dll_public:_static_struct_HINSTANCE______cdecl_CDlgBaseWnd::ShellExecuteW_struct_HWND_____wchar_t_const___wchar_t_const___wchar_t_const___wchar_t_const___int_
Function at 0x1002323e
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 4
mov eax, 0x1005b51b
call fcn.100596da
test byte [0x100ac768], 1
jne 0x10023273
or dword [0x100ac768], 1
and dword [ebp - 4], 0
call sym.SACOhelper.dll_public:_static_int___cdecl_CSystweakApp::GetRemainingDays_void_
cdq
mov dword [0x100ac760], eax
mov dword [0x100ac764], edx
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
jne 0x100232b3
test esi, esi
je 0x1002328d
mov eax, dword [0x100ac760]
mov ecx, dword [0x100ac764]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x100ac6f0]
cmp eax, ecx
jbe 0x100232b9
mov edx, eax
sub edx, ecx
cmp edx, 0x4000
jae 0x100232b9
mov eax, dword [0x100a8c90]
jmp 0x1002336d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x100ac6f0], eax
call sym.SACOhelper.dll_public:_static_int___cdecl_CSystweakApp::GetRemainingDays_void_
cdq
mov dword [0x100ac760], eax
mov dword [0x100ac764], edx
call fcn.1002fe0f
mov byte [ebp + 0xf], al
mov eax, dword [0x100ac760]
cmp dword [0x100ac764], 0
jg 0x100232f6
jl 0x100232eb
test eax, eax
ja 0x100232f6
mov al, byte [ebp + 0xf]
test al, al
jne 0x100232f6
mov byte [ebp + 0xf], 1
call fcn.1002fe21
mov byte [ebp - 0xd], al
call dword [sym.imp.sacosys.dll_Ordinal_27]
mov byte [ebp - 0xe], al
test esi, esi
je 0x10023326
push 1
push 4
push esi
call sub.mfc90u.dll_AfxIsValidAddress
test eax, eax
je 0x10023326
mov eax, dword [0x100ac760]
mov ecx, dword [0x100ac764]
mov dword [esi], eax
mov al, byte [ebp + 0xf]
test al, al
je 0x1002333b
mov al, byte [ebp - 0xd]
test al, al
je 0x1002333b
mov eax, 0x278d7
jmp 0x10023368
mov al, byte [ebp + 0xf]
test al, al
jne 0x10023350
mov al, byte [ebp - 0xd]
test al, al
je 0x10023350
mov eax, 0x13c727
jmp 0x10023368
mov al, byte [ebp + 0xf]
test al, al
jne 0x10023363
mov al, byte [ebp - 0xd]
test al, al
mov eax, 0x9e389
je 0x10023368
mov eax, 0x13c69
mov dword [0x100a8c90], eax
call fcn.100597b2
ret
Function at 0x10024550
Capabilities:
Create process on windows

Disassembly:
push 4
mov eax, 0x1005df33
call fcn.100596da
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_class]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10024449
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ebx, str.open
test al, al
je 0x100245b5
push 3
mov eax, 0x10074b84
push eax
push eax
push dword [ebp - 0x10]
push ebx
call edi
push eax
call esi
cmp eax, 0x20
jg 0x100245b5
push 0x400
call dword [sym.imp.KERNEL32.dll_Sleep]
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]
mov al, 1
jmp 0x100245dd
push 3
push 0
push 0
push dword [ebp + 8]
push ebx
call edi
push eax
call esi
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
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]
cmp esi, 0x20
setle al
call fcn.100597b2
ret

Function at 0x1002681a
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x10026854
push dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp + 8]
push sym.SACOhelper.dll_private:_static_int___stdcall_CXTTrayIcon::FindTrayWnd_struct_HWND_____long_int_
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov al, 1
jmp 0x100268f1
push edi
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push 5
mov dword [ebp - 0x24], 0x24
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
pop edi
test eax, eax
je 0x100268c3
mov eax, dword [ebp - 0x18]
sub eax, 0
je 0x100268a4
dec eax
je 0x10026888
dec eax
je 0x100268a4
dec eax
jne 0x1002684d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0xc]
lea edx, [ecx - 0x64]
mov dword [eax], edx
add ecx, 0xfffffff0
jmp 0x100268be
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
lea edx, [ecx - 0x64]
add ecx, 0xfffffff0
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
jmp 0x1002684d
mov esi, dword [ebp + 8]
push 0
push esi
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x100268ef
mov eax, dword [esi + 8]
sub eax, 0x96
mov dword [esi], eax
mov eax, dword [esi + 0xc]
sub eax, 0x1e
mov dword [esi + 4], eax
jmp 0x1002684d
xor al, al
pop esi
leave
ret 4
Function at 0x10027291
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100a8050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0xc
xor esi, esi
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x100272f6
mov edx, str.NTFS
lea eax, [ebp - 0x1c]
mov cx, word [eax]
cmp cx, word [edx]
jne 0x100272ea
cmp cx, si
je 0x100272e6
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x100272ea
add eax, 4
add edx, 4
cmp cx, si
jne 0x100272c4
xor eax, eax
jmp 0x100272ef
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x100272f6
xor esi, esi
inc esi
lea ecx, [ebp + 8]
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 ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1005883e
leave
ret 4
Function at 0x10028ae8
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push 0x10
mov eax, 0x10063bef
call fcn.1005970d
and dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
mov esi, 0x10074b84
push esi
call dword [0x1006ce70]
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x18], esp
push esi
call dword [0x1006ce70]
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push dword [ebp + 8]
mov byte [ebp - 4], 2
call dword [0x1006ce70]
mov byte [ebp - 4], 0
call fcn.10027a3b
test eax, eax
jne 0x10028b5a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10028b67
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
jmp 0x10028b69
shr eax, 3
and al, 1
jmp 0x10028b69
xor al, al
call fcn.100597b2
ret
Function at 0x1002a444
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push 0x1b
mov esi, ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1002a46b
push 0
push 0x4a0
push 0x111
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret
push 2
mov ecx, esi
call sym.SACOhelper.dll_public:_void___thiscall_CDlgBaseWndPopupNagBase::ActionOnBtnClick_enum_CDlgBaseWndPopupNagBase::BTN_CLICKED_
pop esi
ret

Function at 0x1002a687
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [esi + 2]
mov cx, word [esi]
inc esi
inc esi
test cx, cx
jne 0x1002a695
push 0x3c
pop ebx
sub esi, eax
push ebx
lea eax, [ebp - 0x3c]
push 0
push eax
sar esi, 1
call sub.MSVCR90.dll_memset
add esp, 0xc
push esi
mov ecx, edi
mov dword [ebp - 0x3c], ebx
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
lea ebx, [edi + 8]
push esi
mov ecx, ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], esi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
lea ecx, [edi + 0x10]
push esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
lea ecx, [edi + 0x14]
push esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
lea ecx, [edi + 0x18]
push esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
lea ecx, [edi + 0x1c]
push esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push dword [ebp + 8]
mov dword [ebp - 4], esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
setne byte [ebp + 0xb]
or esi, 0xffffffff
push esi
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push esi
mov ecx, ebx
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push esi
lea ecx, [edi + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push esi
lea ecx, [edi + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push esi
lea ecx, [edi + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push esi
lea ecx, [edi + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov eax, dword [ebp - 0x30]
mov dword [edi + 4], eax
mov ax, word [ebp - 0x24]
pop esi
mov word [edi + 0xc], ax
mov al, byte [ebp + 0xb]
pop ebx
leave
ret 4
Function at 0x1002a8ee
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov eax, dword [0x100a8050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x16c], eax
push 0x1006f084
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
and dword [ebp - 0x184], 0
add esp, 0xc
push 0x10
lea eax, [ebp - 0x24]
push eax
push 0x12
mov esi, 0x400
push esi
call edi
mov ebx, dword [sym.imp.MSVCR90.dll__wtol]
lea eax, [ebp - 0x24]
push eax
call ebx
pop ecx
push 0x10
mov dword [ebp - 0x180], eax
lea eax, [ebp - 0x24]
push eax
push 0x10
push esi
call edi
lea eax, [ebp - 0x24]
push eax
call ebx
pop ecx
push 0x10
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x44]
push eax
push 0xe
push esi
call edi
lea eax, [ebp - 0x44]
push 0x10
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x64]
push eax
push 0xf
push esi
call edi
lea eax, [ebp - 0x64]
push 0x10
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x24]
push eax
push 0x1010
push esi
call edi
lea eax, [ebp - 0x24]
push eax
call ebx
mov edi, dword [ebp - 0x16c]
mov dword [esp], 0x100
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x184]
push eax
push dword [edi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
lea eax, [ebp - 0x168]
push eax
push 0x10076c1c
push edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005883e
leave
ret 8
Function at 0x1002d8ea
Capabilities:
Delete file

Disassembly:
push 4
mov eax, 0x1006242c
call fcn.100596da
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 0x3d4]
mov dword [esi], vtable.CDownloadDlg.0
mov dword [edi], vtable.CDownloadDlg.1.0
mov dword [ebp - 4], 4
mov al, byte [esi + 0x3d8]
test al, al
jne 0x1002d932
cmp byte [0x100a83b5], al
jne 0x1002d932
push dword [esi + 0x404]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x5b4]
call sub.mfc90u.dll_CProgressCtrl::CProgressCtrl
lea ecx, [esi + 0x560]
mov byte [ebp - 4], 3
call sub.mfc90u.dll_CProgressCtrl::CProgressCtrl
lea ecx, [esi + 0x428]
mov byte [ebp - 4], 2
call sym.SACOhelper.dll_public_virtual:_void___thiscall_CHoverButton::destructor_void_
lea ecx, [esi + 0x41c]
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 ecx, edi
mov byte [ebp - 4], 0
call fcn.1002aa27
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call sym.SACOhelper.dll_public_virtual:_void___thiscall_CDlgBaseChildPopUpWndBase::destructor_void_
call fcn.100597b2
ret