joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a3f0
Capabilities:
Access peb ldr_data
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x51de6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov al, byte [esp + 0x40]
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], al
call fcn.0040d460
mov eax, dword [esp + 0x40]
mov dword [esp + 0x38], 0
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jbe 0x40a43c
mov ecx, dword [0x53510c]
add eax, 0x34
push ecx
push 0
jmp 0x40a448
mov edx, dword [0x53510c]
add eax, 0x44
push edx
push 0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040d140
mov al, byte [esp + 0x40]
push ebx
push esi
push 0
lea ecx, [esp + 0xc]
mov byte [esp + 0xc], al
call fcn.0040d630
mov cl, byte [esp + 0x48]
push 0
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 1
call fcn.0040d630
mov eax, dword [esp + 0x1c]
mov bl, 2
test eax, eax
mov byte [esp + 0x40], bl
mov esi, 0x535108
je 0x40a494
mov esi, eax
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x48], eax
test eax, eax
mov byte [esp + 0x40], 3
je 0x40a4b7
push esi
mov ecx, eax
call fcn.0040d500
mov esi, eax
jmp 0x40a4b9
xor esi, esi
test esi, esi
mov byte [esp + 0x40], bl
mov dword [esp + 0x48], esi
jne 0x40a4cf
push 0x8007000e
call fcn.004c7dcc
test esi, esi
mov byte [esp + 0x40], 4
je 0x40a4dc
mov eax, dword [esi]
jmp 0x40a4de
xor eax, eax
lea edx, [esp + 0x28]
lea ecx, [esp + 8]
push edx
push ecx
push eax
call fcn.004a3d50
add esp, 0xc
test eax, eax
je 0x40a506
mov edx, dword [esp + 0x10]
test edx, edx
seta al
test al, al
je 0x40a506
mov bl, 1
jmp 0x40a508
xor bl, bl
test esi, esi
je 0x40a513
mov ecx, esi
call fcn.0040d580
test bl, bl
je 0x40a596
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x40a524
mov eax, 0x535104
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a54e
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x40a53c
mov eax, 0x535104
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x40a54e
mov esi, 1
jmp 0x40a550
xor esi, esi
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 1
call fcn.0040d630
push 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 0
call fcn.0040d630
push 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0xffffffff
call fcn.0040d460
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 1
call fcn.0040d630
push 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 0
call fcn.0040d630
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x40a5eb
mov al, byte [ecx - 1]
test al, al
je 0x40a5e1
cmp al, 0xff
je 0x40a5e1
dec al
pop esi
mov byte [ecx - 1], al
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x38]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x40a600
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x51deab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov al, byte [esp + 0x40]
push esi
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call fcn.0040d460
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x44], 0
call fcn.0040a820
add esp, 8
test eax, eax
jne 0x40a66f
push 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0xffffffff
call fcn.0040d460
xor eax, eax
pop esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
mov al, byte [esp + 0x44]
push ebx
push 0
lea ecx, [esp + 0xc]
mov byte [esp + 0xc], al
call fcn.0040d630
mov cl, byte [esp + 0x48]
push 0
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 1
call fcn.0040d630
mov eax, dword [esp + 0x1c]
mov bl, 2
test eax, eax
mov byte [esp + 0x40], bl
mov esi, 0x535108
je 0x40a6b0
mov esi, eax
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x48], eax
test eax, eax
mov byte [esp + 0x40], 3
je 0x40a6d3
push esi
mov ecx, eax
call fcn.0040d500
mov esi, eax
jmp 0x40a6d5
xor esi, esi
test esi, esi
mov byte [esp + 0x40], bl
mov dword [esp + 0x48], esi
jne 0x40a6eb
push 0x8007000e
call fcn.004c7dcc
test esi, esi
mov byte [esp + 0x40], 4
je 0x40a6f8
mov eax, dword [esi]
jmp 0x40a6fa
xor eax, eax
lea edx, [esp + 0x28]
lea ecx, [esp + 8]
push edx
push ecx
push eax
call fcn.004a3d50
add esp, 0xc
test eax, eax
je 0x40a722
mov edx, dword [esp + 0x10]
test edx, edx
seta al
test al, al
je 0x40a722
mov bl, 1
jmp 0x40a724
xor bl, bl
test esi, esi
je 0x40a72f
mov ecx, esi
call fcn.0040d580
test bl, bl
pop ebx
je 0x40a7b2
mov eax, dword [esp + 8]
test eax, eax
jne 0x40a741
mov eax, 0x535104
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a76b
mov eax, dword [esp + 8]
test eax, eax
jne 0x40a759
mov eax, 0x535104
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x40a76b
mov esi, 1
jmp 0x40a76d
xor esi, esi
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 1
call fcn.0040d630
push 1
lea ecx, [esp + 8]
mov byte [esp + 0x40], 0
call fcn.0040d630
push 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0xffffffff
call fcn.0040d460
mov eax, esi
pop esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 1
call fcn.0040d630
push 1
lea ecx, [esp + 8]
mov byte [esp + 0x40], 0
call fcn.0040d630
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x40a806
mov al, byte [ecx - 1]
test al, al
je 0x40a7fc
cmp al, 0xff
je 0x40a7fc
dec al
pop esi
mov byte [ecx - 1], al
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x34]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x418e20
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x51e83b
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push edi
mov ebx, ecx
call fcn.00494100
mov eax, dword [0x56f078]
test eax, eax
je 0x418fdd
mov ecx, dword [0x56f07c]
mov edx, ecx
sub edx, eax
test edx, 0xfffffffc
je 0x418fdd
mov edi, eax
cmp edi, ecx
mov dword [esp + 8], edi
je 0x418fdd
push ebp
push esi
mov ebp, dword [edi]
test ebp, ebp
je 0x418fc7
mov eax, dword [ebp + 0x4c]
test eax, eax
je 0x418fc7
mov eax, dword [ebp + 0x10]
cmp eax, 3
jne 0x418e98
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x418ea0
test eax, eax
jne 0x418fc7
push 0xac
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov dword [esp + 0x40], 0
je 0x418eff
lea edi, [esi + 0x10]
lea ecx, [edi + 4]
call fcn.00419130
lea ecx, [esi + 0x3c]
call fcn.00419130
lea ecx, [esi + 0x64]
call fcn.00419130
mov edx, 1
xor eax, eax
mov ecx, 0xa
mov dword [esi + 4], edx
mov dword [esi], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
mov dword [esi + 0x88], eax
jmp 0x418f06
xor esi, esi
mov edx, 1
test esi, esi
mov dword [esp + 0x40], 0xffffffff
je 0x418fc7
mov dword [esi + 0x88], ebp
mov eax, dword [ebp + 0x50]
mov ebp, dword [sym.imp.USER32.dll_CopyRect]
lea ecx, [esp + 0x18]
push 0
push ecx
mov dword [esi], eax
mov dword [esi + 0x28], edx
mov dword [esi + 0x24], edx
mov dword [esi + 0x30], 0x3e8
call ebp
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea edx, [esi + 0x8c]
push 0
mov dword [edx], eax
mov eax, dword [esp + 0x24]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea edx, [esp + 0x2c]
push edx
call ebp
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
lea eax, [esi + 0x9c]
push 0
push 0
push 0x1004
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0
push 0
push 0x56f01c
push eax
push 1
mov ecx, ebx
call sub.MFC42.DLL_CListCtrl::InsertItem
push esi
push 0
push 0
push 0
push 0
push 4
push 0
push eax
mov ecx, ebx
call sub.MFC42.DLL_CListCtrl::SetItem
mov eax, dword [0x56f07c]
add edi, 4
cmp edi, eax
mov dword [esp + 0x10], edi
jne 0x418e74
pop esi
pop ebp
mov ecx, dword [ebx + 0x20]
push 0
push 0
push 0x1004
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x418ff8
push 5
jmp 0x418ffa
push 0
mov ecx, ebx
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [esp + 0x30]
pop edi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x41b780
Capabilities:
Get file system object information

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x160
lea eax, [esp]
push esi
push 0x4001
push 0x160
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov esi, dword [esp + 8]
lea ecx, [esp + 0x168]
call sub.MFC42.DLL_CString::CString
mov eax, esi
pop esi
add esp, 0x160
ret 4
Function at 0x41c390
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x51eb88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
push edi
mov esi, ecx
mov edi, dword [esi + 0x58]
mov eax, dword [esp + 0x58]
add edi, 1
mov dword [esp + 0x44], 0
mov dword [esi + 0x58], edi
mov edx, dword [esi + 0x5c]
adc edx, 0
cmp eax, 0xffff0000
mov dword [esi + 0x5c], edx
je 0x41c3f7
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x58]
push 0
push 0
push 0
push edx
push eax
push ecx
push 0x23
mov ecx, esi
call sub.MFC42.DLL_CTreeCtrl::InsertItem
jmp 0x41c458
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 8]
push eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x50]
mov dword [esp + 0xc], 0xffff0000
mov dword [esp + 0x10], 0xffff0002
mov dword [esp + 0x14], 0x63
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [esp + 0x50]
lea ecx, [esp + 8]
mov dword [esp + 0x28], edx
mov edx, dword [esi + 0x20]
push ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x58]
push 0
push 0x1100
push edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 1
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x4c]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret 0x14
Function at 0x41e290
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
mov dword [esp], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esp + 4]
xor eax, eax
cmp ecx, 5
sete al
add esp, 0x94
ret

Function at 0x41e2c0
Capabilities:
Get file version info

Disassembly:
mov eax, 0x200c
call fcn.004c79b0
mov al, byte [0x56f01c]
push esi
push edi
mov byte [esp + 0x14], al
mov ecx, 0x7ff
xor eax, eax
lea edi, [esp + 0x15]
mov esi, dword [esp + 0x2018]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0xc]
push ecx
push esi
stosb byte es:[edi], al
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
je 0x41e3a0
cmp eax, 0x1fff
ja 0x41e3a0
lea edx, [esp + 0x14]
push edx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x41e3a0
lea eax, [esp + 0x10]
lea ecx, [esp + 8]
push eax
push ecx
lea edx, [esp + 0x1c]
push 0x561820
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41e3a0
mov edx, dword [esp + 0x2020]
mov esi, dword [esp + 0x201c]
mov ecx, edx
push ebx
mov ebx, ecx
xor eax, eax
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov cx, word [eax + 0xc]
push ecx
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
push ecx
xor ecx, ecx
mov cx, word [eax + 8]
mov eax, dword [eax + 8]
shr eax, 0x10
push ecx
push eax
dec edx
push str._d._d._d._d
push edx
push esi
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x1c
mov eax, 1
pop ebx
pop edi
pop esi
add esp, 0x200c
ret
pop edi
xor eax, eax
pop esi
add esp, 0x200c
ret

Function at 0x41e3b0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 8]
push esi
push edx
push str.ProgramFilesDir
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
je 0x41e3ff
mov eax, dword [esp + 0x10]
push eax
push esi
push str.ProgramFiles
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x41e425
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
mov dword [esp + 0x10], ecx
cmp byte [ecx + esi - 1], 0x5c
jne 0x41e41d
mov byte [ecx + esi - 1], 0
mov eax, 1
pop esi
pop ecx
ret
xor eax, eax
pop esi
pop ecx
ret
Function at 0x41e430
Capabilities:
Delete file

Disassembly:
sub esp, 0x104
push ebx
push esi
mov esi, dword [esp + 0x110]
xor ebx, ebx
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x41e4a9
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], bl
push str.360softmgr_testdir.dat
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
push ebx
push 0x80
push 2
push ebx
push ebx
lea ecx, [esp + 0x20]
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
pop edi
je 0x41e49e
push eax
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, ebx
pop esi
pop ebx
add esp, 0x104
ret

Function at 0x41e5c0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x14
xor eax, eax
lea ecx, [esp]
mov dword [esp + 8], eax
push esi
xor esi, esi
mov dword [esp + 0x10], eax
push ecx
push 0xf01ff
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41e63a
lea edx, [esp + 0xc]
mov dword [esp + 8], 1
push edx
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov ecx, dword [esp + 4]
push esi
push esi
lea eax, [esp + 0x10]
push 0x10
push eax
push esi
push ecx
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov edx, dword [esp + 4]
mov esi, eax
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x14
ret
Function at 0x41e650
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535a30
push 0x4c7a62
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x834
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 5
xor ebx, ebx
push ebx
push ebx
mov esi, dword [ebp + 8]
push esi
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jle 0x41e6a6
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x1c]
push eax
push 0x53b81c
push 0x15
push ebx
push 0x53b7ec
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x41e7df
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x41e7b9
mov dword [ebp - 0x830], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x830]
push edx
push eax
call dword [ecx + 0x94]
mov eax, dword [ebp - 0x830]
cmp eax, ebx
je 0x41e70c
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 3
mov eax, dword [ebp - 0x830]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41e7b0
mov ecx, 0x200
lea edi, [ebp - 0x81c]
rep stosd dword es:[edi], eax
push 0x7ff
lea ecx, [ebp - 0x81c]
push ecx
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov word [ebp - 0x82c], bx
mov word [ebp - 0x840], 8
lea edx, [ebp - 0x81c]
push edx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x838], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x82c]
push edx
lea edx, [ebp - 0x82c]
push edx
lea edx, [ebp - 0x82c]
push edx
lea edx, [ebp - 0x82c]
push edx
lea edx, [ebp - 0x840]
push edx
push eax
call dword [ecx + 0xd0]
mov dword [ebp - 0x844], eax
mov eax, dword [ebp - 0x838]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e800
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x10c
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x11c]
mov dword [esp + 8], 0
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41e872
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
push ecx
push 4
push edx
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x41e86b
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push 0x104
push eax
push ecx
push esi
call sub.PSAPI.DLL_GetModuleBaseNameA
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x118]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov eax, esi
pop edi
pop esi
add esp, 0x10c
ret

Function at 0x41ec70
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
lea eax, [esp]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x41ec8e
test byte [esp], 7
mov eax, 1
jne 0x41ec93
call fcn.0041ebd0
pop ecx
ret
Function at 0x41f6c0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x4c
push ebp
push esi
push edi
mov edi, dword [esp + 0x5c]
xor ebp, ebp
push ebp
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x41f6e0
pop edi
pop esi
pop ebp
add esp, 0x4c
ret
push ebx
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov ebx, eax
push ebx
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x41f815
lea eax, [esp + 0x10]
lea ecx, [esp + 0x60]
push eax
push ecx
push str.VarFileInfoTranslation
push ebx
mov dword [esp + 0x20], 4
mov dword [esp + 0x28], 0x4e40409
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x41f732
lea eax, [esp + 0x18]
mov dword [esp + 0x60], eax
jmp 0x41f736
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
mov ebp, dword [sym.imp.MSVCRT.dll__snprintf]
test esi, esi
je 0x41f79e
xor edx, edx
xor ecx, ecx
mov dx, word [eax + 2]
mov cx, word [eax]
push edx
push ecx
lea edx, [esp + 0x24]
push str.StringFileInfo_04x_04xFileDescription
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push eax
push ecx
push edx
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41f79a
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x14]
push eax
push 0x562168
lea ecx, [edi - 1]
push ecx
push esi
call ebp
add esp, 0x10
mov byte [esi + edi - 1], 0
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x6c]
test esi, esi
je 0x41f7fc
xor edx, edx
xor ecx, ecx
mov dx, word [eax + 2]
mov cx, word [eax]
push edx
push ecx
lea edx, [esp + 0x24]
push str.StringFileInfo_04x_04xCompanyName
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push eax
push ecx
push edx
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41f7fc
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x14]
push eax
push 0x562168
lea ecx, [edi - 1]
push ecx
push esi
call ebp
add esp, 0x10
mov byte [esi + edi - 1], 0
push ebx
mov ebp, 1
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, ebp
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x4c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 1
push 1
call dword [sym.imp.KERNEL32.dll_SleepEx]
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, ebp
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x4c
ret
Function at 0x41fc50
Capabilities:
Get user security identifier

Disassembly:
sub esp, 0x318
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11d]
mov byte [esp + 0x11c], 0
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x220], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x221]
mov ebp, dword [esp + 0x328]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x56f01c
push ebp
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 0x104
mov edi, 0x56221c
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x11c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x220]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x12c]
push edx
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
je 0x41fd54
lea ecx, [esp + 0x18]
push ecx
call sym.SoftManager.exe__IsValidSidEx_4
test eax, eax
je 0x41fd54
lea edx, [esp + 0x32c]
lea eax, [esp + 0x18]
push edx
push ebp
push eax
call fcn.0041f840
add esp, 0xc
test eax, eax
je 0x41fd54
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x318
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x318
ret
Function at 0x41fe60
Capabilities:
Get session user name
Get user security identifier

Disassembly:
sub esp, 0x31c
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11d]
mov byte [esp + 0x11c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x221]
mov byte [esp + 0x220], 0
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x328]
push 0x56f01c
stosw word es:[edi], ax
push esi
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 0x104
lea ecx, [esp + 0x11c]
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x41ff68
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
mov dword [esp + 8], ecx
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0x224]
push eax
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x12c]
push eax
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
je 0x41ff68
lea edx, [esp + 0x18]
push edx
call sym.SoftManager.exe__IsValidSidEx_4
test eax, eax
je 0x41ff68
lea eax, [esp + 0x32c]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
call fcn.0041f840
add esp, 0xc
test eax, eax
je 0x41ff68
pop edi
mov eax, 1
pop esi
add esp, 0x31c
ret
pop edi
xor eax, eax
pop esi
add esp, 0x31c
ret