joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40adb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4339ab
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x455070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [ebp + 8]
test eax, eax
je 0x40adef
mov dword [ebp - 0x440], 0x43afcc
jmp 0x40adf9
mov dword [ebp - 0x440], str._stop
mov ecx, dword [ebp - 0x440]
push ecx
lea ecx, [ebp - 0x438]
call fcn.004065b0
mov dword [ebp - 4], 0
push 1
call fcn.00409af0
add esp, 4
movzx edx, al
test edx, edx
je 0x40ae6c
xor eax, eax
mov word [ebp - 0x420], ax
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x420]
push edx
call fcn.0040aa40
add esp, 8
lea eax, [ebp - 0x420]
push eax
call fcn.0040eeb0
add eax, 0x78
mov ecx, eax
call fcn.004033a0
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call sub.MSVCR110.dll_memset
add esp, 0xc
push 0x43affc
call fcn.0040eeb0
add eax, 0x78
mov ecx, eax
call fcn.004059f0
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40af20
push 0
push 0
push 1
lea ecx, [ebp - 0x438]
call fcn.004059f0
push eax
lea edx, [ebp - 0x218]
push edx
call fcn.00406730
mov ecx, eax
call fcn.004204a0
mov byte [ebp - 0x43b], al
push 0x43b018
call fcn.00406730
mov ecx, eax
call fcn.00420660
mov al, byte [ebp - 0x43b]
mov byte [ebp - 0x43a], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.00405b70
mov al, byte [ebp - 0x43a]
jmp 0x40af3f
mov byte [ebp - 0x439], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.00405b70
mov al, byte [ebp - 0x439]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004314a6
mov esp, ebp
pop ebp
ret

Function at 0x40b2f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x455070]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
push 0x43c134
mov ecx, dword [ebp + 8]
call fcn.004059f0
push eax
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40b36c
push 0
push 0
push 0
push str._install__noun
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00406730
mov ecx, eax
call fcn.004204a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004314a6
mov esp, ebp
pop ebp
ret
Function at 0x40b380
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x455070]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
push 0x43c21c
mov ecx, dword [ebp + 8]
call fcn.004059f0
push eax
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40b3fc
push 0
push 0
push 1
push str._uninstall
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00406730
mov ecx, eax
call fcn.004204a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004314a6
mov esp, ebp
pop ebp
ret
Function at 0x4110c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434098
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x455070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
push str.ignore
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.0040c630
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004059f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411190
call fcn.0040ba00
lea ecx, [ebp - 0x28]
call fcn.004059f0
mov ecx, eax
call fcn.00424d60
mov byte [ebp - 0x29], al
movzx edx, byte [ebp - 0x29]
test edx, edx
je 0x411152
lea ecx, [ebp - 0x28]
call fcn.004059f0
push eax
push str.CInstalltools::DeleteIgnoreFiles__DeleteFolder_succeed:_path___s_
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 8
jmp 0x411176
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x28]
call fcn.004059f0
push eax
push str.CInstalltools::DeleteIgnoreFiles__DeleteFolder_failed:_path___s__err___d_
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 0xc
mov cl, byte [ebp - 0x29]
mov byte [ebp - 0x2b], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405b70
mov al, byte [ebp - 0x2b]
jmp 0x4111a6
mov byte [ebp - 0x2a], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405b70
mov al, byte [ebp - 0x2a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004314a6
mov esp, ebp
pop ebp
ret

Function at 0x412340
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x412364
xor eax, eax
jmp 0x4123e4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41237b
xor eax, eax
jmp 0x4123e4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x4123c7
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x4123c7
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x41239e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x4123d3
xor eax, eax
jmp 0x4123e4
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x4123e1
xor eax, eax
jmp 0x4123e4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4135c0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 1
push str.SeDebugPrivilege
mov ecx, dword [ebp - 4]
call fcn.00425490
movzx eax, al
mov esp, ebp
pop ebp
ret
Function at 0x4145b0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43435c
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x455070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], ecx
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
push 0
push 0
push 0x104
lea edx, [ebp - 0x218]
push edx
call fcn.0040ba00
mov ecx, eax
call fcn.00424ca0
push 1
lea ecx, [ebp - 0x220]
call fcn.00406860
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x228]
add ecx, 0x48
call fcn.0040f3a0
jmp 0x414654
push 0
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x220]
call fcn.0040f420
lea edx, [ebp - 0x234]
push edx
mov ecx, dword [ebp - 0x228]
add ecx, 0x48
call fcn.0040f3d0
push eax
lea ecx, [ebp - 0x220]
call fcn.004054a0
movzx eax, al
test eax, eax
je 0x4147b8
lea ecx, [ebp - 0x220]
call fcn.0040f400
mov ecx, eax
call fcn.004059f0
push eax
lea ecx, [ebp - 0x21c]
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::constructor_wchar_t_const__]
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x228]
call fcn.004059f0
push eax
push 0x43e718
lea ecx, [ebp - 0x21c]
call dword [sym.imp.ouilibx.dll_public:_int___thiscall_OUI::COString::Replace_wchar_t_const___wchar_t_const__]
lea ecx, [ebp - 0x218]
push ecx
push 0x43e730
lea ecx, [ebp - 0x21c]
call dword [sym.imp.ouilibx.dll_public:_int___thiscall_OUI::COString::Replace_wchar_t_const___wchar_t_const__]
lea ecx, [ebp - 0x21c]
call dword [sym.imp.ouilibx.dll_public:_int___thiscall_OUI::COString::GetLength_void_const]
push eax
lea ecx, [ebp - 0x21c]
call dword [sym.imp.ouilibx.dll_public:_wchar_t____thiscall_OUI::COString::GetBuffer_int_]
mov dword [ebp - 0x224], eax
push 0x43e748
mov edx, dword [ebp - 0x224]
push edx
call fcn.0040f620
add esp, 8
test eax, eax
jne 0x414767
mov eax, dword [ebp - 0x224]
push eax
call fcn.00411320
mov ecx, eax
call fcn.004252c0
movzx ecx, al
test ecx, ecx
jne 0x414765
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x22c], eax
mov edx, dword [ebp - 0x22c]
push edx
mov eax, dword [ebp - 0x224]
push eax
push 0x43e750
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 0xc
push 4
push 0
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x4147a0
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov ecx, dword [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x224]
push edx
mov ecx, dword [ebp - 0x228]
call fcn.00413990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::destructor_void_]
jmp 0x414640
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004314a6
mov esp, ebp
pop ebp
ret
Function at 0x414e40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x455070]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x43c], ecx
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x418], eax
mov ecx, dword [ebp - 0x418]
add ecx, 2
mov dword [ebp - 0x438], ecx
mov edx, dword [ebp - 0x418]
mov ax, word [edx]
mov word [ebp - 0x424], ax
add dword [ebp - 0x418], 2
cmp word [ebp - 0x424], 0
jne 0x414ea5
mov ecx, dword [ebp - 0x418]
sub ecx, dword [ebp - 0x438]
sar ecx, 1
mov dword [ebp - 0x434], ecx
jne 0x414ee3
mov al, 1
jmp 0x414fd5
xor edx, edx
mov word [ebp - 0x414], dx
push 0x206
push 0
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x104
lea edx, [ebp - 0x414]
push edx
call fcn.004136d0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea edx, [ebp - 0x414]
mov dword [ebp - 0x41c], edx
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x420], eax
mov ecx, dword [ebp - 0x420]
mov dx, word [ecx]
mov word [ebp - 0x422], dx
mov eax, dword [ebp - 0x41c]
cmp dx, word [eax]
jne 0x414faf
cmp word [ebp - 0x422], 0
je 0x414fa3
mov ecx, dword [ebp - 0x420]
mov dx, word [ecx + 2]
mov word [ebp - 0x426], dx
mov eax, dword [ebp - 0x41c]
cmp dx, word [eax + 2]
jne 0x414faf
add dword [ebp - 0x420], 4
add dword [ebp - 0x41c], 4
cmp word [ebp - 0x426], 0
jne 0x414f49
mov dword [ebp - 0x42c], 0
jmp 0x414fba
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x42c], ecx
mov edx, dword [ebp - 0x42c]
mov dword [ebp - 0x430], edx
cmp dword [ebp - 0x430], 0
jne 0x414fd3
mov al, 1
jmp 0x414fd5
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004314a6
mov esp, ebp
pop ebp
ret 4
Function at 0x415760
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x455070]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], ecx
push 1
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0xc
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
push ecx
push 0
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4157d8
push 0
call dword [sym.imp.MSVCR110.dll_exit]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xb7
jne 0x4157f2
push 0
call dword [sym.imp.MSVCR110.dll_exit]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004314a6
mov esp, ebp
pop ebp
ret 4
Function at 0x419200
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call dword [sym.imp.ouilibx.dll_public_virtual:_bool___thiscall_OUI::COVDialog::OnInitDialog_void_]
mov byte [ebp - 1], al
movzx eax, byte [ebp - 1]
test eax, eax
jne 0x419224
xor al, al
jmp 0x4192c5
push str.OIVU_Install
mov ecx, dword [ebp - 8]
call dword [sym.imp.ouilibx.dll_public:_struct_HWND____const___thiscall_OUI::COVWnd::GetSafeHwnd_void_]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x82
mov ecx, dword [0x457224]
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
push 1
push 0x80
mov ecx, dword [ebp - 8]
call dword [sym.imp.ouilibx.dll_public:_long_int___thiscall_OUI::COVWnd::SendMessageW_unsigned_int__unsigned_int__long_int_]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ouilibx.dll_public:_static_class_OUI::COUIManager____cdecl_OUI::COUIManager::GetUIManager_void_]
mov ecx, eax
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COUIManager::UpdateMainWnd_class_OUI::COVWnd__]
push 0
push 1
push 0x441e0c
mov ecx, dword [ebp - 8]
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COVDialog::EnableChildWnd_wchar_t_const___bool__bool_]
push 0
call fcn.00409af0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x4192bb
push str.CInstMainDlg::OnInitDialog__call_OnClickInstBtn_NULL__
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 4
mov edx, dword [ebp - 8]
mov byte [edx + 0xc8], 1
push 0
mov ecx, dword [ebp - 8]
call fcn.00419e90
jmp 0x4192c3
mov ecx, dword [ebp - 8]
call fcn.0041a8b0
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x41af80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4348db
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x455070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], ecx
push 0
push 0x455684
push 0x4552e8
push str.IDC_INSTALL_PLUGIN_CHK
mov ecx, dword [ebp - 0x23c]
call dword [sym.imp.ouilibx.dll_public:_class_OUI::COVWnd____thiscall_OUI::COVContainer::GetChildWnd_wchar_t_const__]
push 0
push eax
call sub.MSVCR110.dll___RTDynamicCast
add esp, 0x14
mov dword [ebp - 0x238], eax
push 0
push 0x4555cc
push 0x4552e8
push str.IDC_INSTALL_PLUGIN_SPACE
mov ecx, dword [ebp - 0x23c]
call dword [sym.imp.ouilibx.dll_public:_class_OUI::COVWnd____thiscall_OUI::COVContainer::GetChildWnd_wchar_t_const__]
push 0
push eax
call sub.MSVCR110.dll___RTDynamicCast
add esp, 0x14
mov dword [ebp - 0x234], eax
xor eax, eax
mov word [ebp - 0x444], ax
push 0x206
push 0
lea ecx, [ebp - 0x442]
push ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
lea edx, [ebp - 0x230]
push edx
call dword [sym.imp.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::filepath::getProgramRunDir_void_]
add esp, 4
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
push str.umplugin.exe
lea ecx, [ebp - 0x230]
call fcn.004059f0
push eax
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b0cf
cmp dword [ebp - 0x238], 0
je 0x41b0af
push 1
mov ecx, dword [ebp - 0x238]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x238]
mov eax, dword [edx + 0x40]
call eax
cmp dword [ebp - 0x234], 0
je 0x41b0cd
push 0
mov ecx, dword [ebp - 0x234]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x234]
mov eax, dword [edx + 0x40]
call eax
jmp 0x41b10b
cmp dword [ebp - 0x238], 0
je 0x41b0ed
push 0
mov ecx, dword [ebp - 0x238]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x238]
mov eax, dword [edx + 0x40]
call eax
cmp dword [ebp - 0x234], 0
je 0x41b10b
push 1
mov ecx, dword [ebp - 0x234]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x234]
mov eax, dword [edx + 0x40]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00405b70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004314a6
mov esp, ebp
pop ebp
ret
Function at 0x41f0e0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x455070]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], ecx
push 0
call fcn.00409af0
add esp, 4
mov byte [ebp - 0x415], al
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
movzx edx, byte [ebp - 0x415]
test edx, edx
je 0x41f17a
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.0040aa40
add esp, 8
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0040eeb0
add eax, 0x78
mov ecx, eax
call fcn.004033a0
lea edx, [ebp - 0x20c]
push edx
push 0x444720
lea eax, [ebp - 0x20c]
push eax
call fcn.00412240
add esp, 0xc
jmp 0x41f1e2
xor ecx, ecx
mov word [ebp - 0x414], cx
push 0x206
push 0
lea edx, [ebp - 0x412]
push edx
call sub.MSVCR110.dll_memset
add esp, 0xc
push 0
push 0x26
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4444f4
lea ecx, [ebp - 0x414]
push ecx
push str._s_s
lea edx, [ebp - 0x414]
push edx
call fcn.00412240
add esp, 0x10
lea eax, [ebp - 0x414]
push eax
call fcn.0040eeb0
add eax, 0x78
mov ecx, eax
call fcn.004033a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004314a6
mov esp, ebp
pop ebp
ret
Function at 0x41fe00
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x434fd6
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x455070]
xor eax, esp
mov dword [esp + 0x144], eax
push esi
push edi
mov eax, dword [0x455070]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41ff61
push 0x44983c
lea eax, [esp + 0x14]
push esi
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCR110.dll__wfopen_s]
mov esi, dword [esp + 0x1c]
add esp, 0xc
test esi, esi
je 0x41ff61
push 0x103
lea eax, [esp + 0x49]
push 0
push eax
mov byte [esp + 0x50], 0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x44]
push esi
push 0x104
push 1
push eax
call dword [sym.imp.MSVCR110.dll_fread]
push dword [esp + 0x20]
mov esi, eax
call dword [sym.imp.MSVCR110.dll_fclose]
add esp, 0x14
test esi, esi
je 0x41ff61
lea ecx, [esp + 0x44]
call fcn.0042a780
mov esi, eax
test esi, esi
je 0x41ff61
push esi
lea ecx, [esp + 0x30]
call fcn.0040ec90
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x14]
mov dword [esp + 0x160], 0
call fcn.00420b50
lea ecx, [esp + 0x2c]
mov byte [esp + 0x160], 2
call fcn.00406f00
push esi
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0
call fcn.004059f0
push eax
lea ecx, [esp + 0x10]
call fcn.0041fbf0
lea ecx, [esp + 0x14]
test al, al
je 0x41ff51
call fcn.004059f0
push eax
mov eax, dword [ebp + 0x10]
add eax, eax
push eax
push edi
call fcn.004078a0
lea ecx, [esp + 0x14]
call fcn.00405b70
mov al, 1
jmp 0x41ff74
mov dword [esp + 0x160], 0xffffffff
call fcn.00405b70
mov eax, dword [ebp + 0x10]
push str.0.0.0
add eax, eax
push eax
push edi
call fcn.004078a0
xor al, al
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.004314a6
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4201d0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x455070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov dword [ebp - 0x238], ebx
call fcn.004206f0
mov edi, eax
mov dword [ebp - 0x234], 0
test edi, edi
je 0x4202c3
push edi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x420221
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x4202ad
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x22c
mov ebx, eax
lea eax, [ebp - 0x230]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
lea eax, [ebp - 0x20c]
push ebx
push eax
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x42029a
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x420271
jmp 0x4202a0
mov edi, dword [ebp - 0x228]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x234]
inc eax
mov dword [ebp - 0x234], eax
cmp eax, 0x1e
jl 0x420201
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.004314a6
mov esp, ebp
pop ebp
ret 4