joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002a737
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x100e5038]
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.1002fc7d
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.10074156
leave
ret 0x10
Function at 0x1002aa00
Capabilities:
Compare security identifiers

Disassembly:
push ebp
lea ebp, [esp - 0xf9c]
mov eax, 0x101c
call fcn.10074bb0
mov eax, dword [0x100e5038]
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 0x1002aa89
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 0x1002aa89
mov al, 1
jmp 0x1002ab16
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 0x1002aa82
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 0x1002aa82
push esi
xor esi, esi
mov dword [ebp - 0x80], ebx
cmp dword [ebp - 0x68], ebx
jbe 0x1002aafb
push edi
lea edi, [ebp - 0x64]
push dword [edi]
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x1002aaf3
inc esi
add edi, 8
cmp esi, dword [ebp - 0x68]
jb 0x1002aad9
jmp 0x1002aafa
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.10074156
add ebp, 0xf9c
leave
ret

Function at 0x1002ab2c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.ASOHelper.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 0x1002abbd
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 4
mov eax, 0x10076a7e
call fcn.100751fa
test byte [0x100eb2b8], 1
jne 0x1002abf2
or dword [0x100eb2b8], 1
and dword [ebp - 4], 0
call sym.ASOHelper.dll_public:_static_int___cdecl_CSystweakApp::GetRemainingDays_void_
cdq
mov dword [0x100eb2b0], eax
mov dword [0x100eb2b4], edx
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
jne 0x1002ac32
test esi, esi
je 0x1002ac0c
mov eax, dword [0x100eb2b0]
mov ecx, dword [0x100eb2b4]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x100eb240]
cmp eax, ecx
jbe 0x1002ac38
mov edx, eax
sub edx, ecx
cmp edx, 0x4000
jae 0x1002ac38
mov eax, dword [0x100e6be4]
jmp 0x1002acec
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x100eb240], eax
call sym.ASOHelper.dll_public:_static_int___cdecl_CSystweakApp::GetRemainingDays_void_
cdq
mov dword [0x100eb2b0], eax
mov dword [0x100eb2b4], edx
call fcn.1003e47b
mov byte [ebp + 0xf], al
mov eax, dword [0x100eb2b0]
cmp dword [0x100eb2b4], 0
jg 0x1002ac75
jl 0x1002ac6a
test eax, eax
ja 0x1002ac75
mov al, byte [ebp + 0xf]
test al, al
jne 0x1002ac75
mov byte [ebp + 0xf], 1
call fcn.1003e48d
mov byte [ebp - 0xd], al
call dword [sym.imp.aso3sys.dll_Ordinal_27]
mov byte [ebp - 0xe], al
test esi, esi
je 0x1002aca5
push 1
push 4
push esi
call sub.mfc90u.dll_AfxIsValidAddress
test eax, eax
je 0x1002aca5
mov eax, dword [0x100eb2b0]
mov ecx, dword [0x100eb2b4]
mov dword [esi], eax
mov al, byte [ebp + 0xf]
test al, al
je 0x1002acba
mov al, byte [ebp - 0xd]
test al, al
je 0x1002acba
mov eax, 0x278d7
jmp 0x1002ace7
mov al, byte [ebp + 0xf]
test al, al
jne 0x1002accf
mov al, byte [ebp - 0xd]
test al, al
je 0x1002accf
mov eax, 0x13c727
jmp 0x1002ace7
mov al, byte [ebp + 0xf]
test al, al
jne 0x1002ace2
mov al, byte [ebp - 0xd]
test al, al
mov eax, 0x9e389
je 0x1002ace7
mov eax, 0x13c69
mov dword [0x100e6be4], eax
call fcn.100752d2
ret
Function at 0x1002fa4b
Capabilities:
Create process on windows

Disassembly:
push 4
mov eax, 0x1007adac
call fcn.100751fa
lea ecx, [ebp - 0x10]
call dword [0x10096f98]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.1002f944
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ebx, 0x10098e70
test al, al
je 0x1002fab0
push 3
mov eax, 0x1009f454
push eax
push eax
push dword [ebp - 0x10]
push ebx
call edi
push eax
call esi
cmp eax, 0x20
jg 0x1002fab0
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 0x1002fad8
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.100752d2
ret

Function at 0x10031235
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 0x1003126f
push dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp + 8]
push sym.ASOHelper.dll_private:_static_int___stdcall_CXTTrayIcon::FindTrayWnd_struct_HWND_____long_int_
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov al, 1
jmp 0x1003130c
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 0x100312de
mov eax, dword [ebp - 0x18]
sub eax, 0
je 0x100312bf
dec eax
je 0x100312a3
dec eax
je 0x100312bf
dec eax
jne 0x10031268
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 0x100312d9
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 0x10031268
mov esi, dword [ebp + 8]
push 0
push esi
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x1003130a
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 0x10031268
xor al, al
pop esi
leave
ret 4
Function at 0x10031c88
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100e5038]
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 0x10031ced
mov edx, str.NTFS
lea eax, [ebp - 0x1c]
mov cx, word [eax]
cmp cx, word [edx]
jne 0x10031ce1
cmp cx, si
je 0x10031cdd
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x10031ce1
add eax, 4
add edx, 4
cmp cx, si
jne 0x10031cbb
xor eax, eax
jmp 0x10031ce6
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x10031ced
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.10074156
leave
ret 4
Function at 0x100334df
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push 0x10
mov eax, 0x1008265e
call fcn.1007522d
and dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
mov esi, 0x1009f454
push esi
call dword [0x10096f84]
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x18], esp
push esi
call dword [0x10096f84]
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push dword [ebp + 8]
mov byte [ebp - 4], 2
call dword [0x10096f84]
mov byte [ebp - 4], 0
call fcn.10032432
test eax, eax
jne 0x10033551
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1003355e
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
jmp 0x10033560
shr eax, 3
and al, 1
jmp 0x10033560
xor al, al
call fcn.100752d2
ret
Function at 0x10035ce4
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push 0x1b
mov esi, ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10035d0b
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.ASOHelper.dll_public:_void___thiscall_CDlgBaseWndPopupNagBase::ActionOnBtnClick_enum_CDlgBaseWndPopupNagBase::BTN_CLICKED_
pop esi
ret

Function at 0x10036021
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 0x1003602f
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 0x10036288
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov eax, dword [0x100e5038]
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 0x1009927c
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 0x100a169c
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.10074156
leave
ret 8
Function at 0x100393e8
Capabilities:
Delete file

Disassembly:
push 4
mov eax, 0x1007fbb1
call fcn.100751fa
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 0x580]
mov dword [esi], vtable.CDownloadDlg.0
mov dword [edi], vtable.CDownloadDlg.1.0
mov dword [ebp - 4], 4
mov al, byte [esi + 0x584]
test al, al
jne 0x10039430
cmp byte [0x100e52a9], al
jne 0x10039430
push dword [esi + 0x5b0]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x7a0]
call sub.mfc90u.dll_CProgressCtrl::CProgressCtrl
lea ecx, [esi + 0x74c]
mov byte [ebp - 4], 3
call sub.mfc90u.dll_CProgressCtrl::CProgressCtrl
lea ecx, [esi + 0x5d4]
mov byte [ebp - 4], 2
call sym.ASOHelper.dll_public_virtual:_void___thiscall_CHoverButton::destructor_void_
lea ecx, [esi + 0x5c8]
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.100363c1
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call sym.ASOHelper.dll_public_virtual:_void___thiscall_CDlgBaseChildPopUpWndBase::destructor_void_
call fcn.100752d2
ret

Function at 0x10039683
Capabilities:
Check if file exists

Disassembly:
push 0x14
mov eax, 0x10078ccf
call fcn.100751fa
xor esi, esi
mov dword [ebp - 0x14], esi
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + 8]
push 0x1009fcac
call dword [0x10096f84]
push dword [ebp + 0xc]
mov dword [ebp - 0x14], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100396fc
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.10007731
lea eax, [ebp - 0x18]
push eax
mov eax, esi
push eax
call fcn.100077e7
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
push eax
call dword [0x10096f88]
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.100752d2
ret
Function at 0x1003a927
Capabilities:
Get mac address on windows

Disassembly:
push ebp
lea ebp, [esp - 0x2884]
mov eax, 0x2884
call fcn.10074bb0
push 0xffffffffffffffff
push 0x10075958
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, dword [0x100e5038]
xor eax, ebp
mov dword [ebp + 0x2880], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x10]
call dword [0x10096f98]
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 0x14], 0x2880
call sub.IPHLPAPI.DLL_GetAdaptersInfo
lea esi, [ebp]
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x10]
push str._02X_02X_02X_02X_02X_02X
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov eax, dword [ebp - 0x10]
mov esi, dword [esi]
add esp, 0x20
cmp dword [eax - 0xc], 0
je 0x1003a9e8
push 0x1009f454
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
jne 0x1003a9ec
test esi, esi
jne 0x1003a989
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call dword [0x10096f20]
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 eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x2880]
xor ecx, ebp
call fcn.10074156
add ebp, 0x2884
leave
ret
Function at 0x1003db00
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x2004]
mov eax, 0x2004
call fcn.10074bb0
push 0xffffffffffffffff
push 0x10075927
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x100e5038]
xor eax, ebp
mov dword [ebp + 0x2000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
and dword [ebp - 0x1c], 0
mov eax, dword [ebp + 0x200c]
mov edi, dword [ebp + 0x2010]
mov ebx, dword [ebp + 0x2014]
mov esi, ecx
push dword [esi + 0x10]
mov dword [ebp - 0x18], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1003db7b
mov ecx, dword [ebp - 0x18]
push 0x1009f454
call dword [0x10096f84]
jmp 0x1003dc6f
lea ecx, [ebp - 0x14]
call dword [0x10096f98]
and dword [ebp - 4], 0
push 0x2000
lea eax, [ebp]
push 0
push eax
mov byte [ebp - 4], 1
call sub.MSVCR90.dll_memset
add esp, 0xc
push dword [esi + 0x10]
lea eax, [ebp]
push 0x1000
push eax
push 0x1009f454
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x14]
mov dword [esi + 0xc], eax
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
cmp word [ebp], 0
je 0x1003dc24
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_4]
push 0x1009ac00
push 0x1009ac04
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace_1]
push 0x1009ac0c
push 0x1009ac10
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace_1]
push 0x1009ac18
push 0x1009ac1c
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace_1]
push 0x10098f5c
push 0x1009ac24
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace_1]
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x1c]
mov esi, eax
call dword [0x10096f98]
push esi
lea eax, [ebp - 0x1c]
push 0x100a2840
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov ecx, dword [ebp - 0x18]
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
call dword [0x10096f20]
lea ecx, [ebp - 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]
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]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2000]
xor ecx, ebp
call fcn.10074156
add ebp, 0x2004
leave
ret 0xc