joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446d30
Capabilities:
Check os version
Set global application hook

Disassembly:
sub esp, 0xac
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x7c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebx + 0x80]
mov ebp, dword [ebx + 0x7c]
mov edi, eax
xor eax, eax
inc edi
sub ecx, edi
add edi, ebp
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], 0
call sub.MFC42.DLL_CDialog::PreModal
mov dword [ebx + 0x64], eax
call sub.MFC42.DLL_AfxUnhookWindowCreate
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x446dad
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x446dad
mov eax, dword [ebx + 0x64]
push 0
push eax
mov dword [esp + 0x18], 1
call dword [sym.imp.USER32.dll_EnableWindow]
call sub.MFC42.DLL_AfxGetThreadState
mov ecx, dword [ebx + 0x94]
mov dword [esp + 0x18], eax
test ecx, 0x80000
je 0x446dc9
mov dword [eax + 0x18], ebx
jmp 0x446dcf
push ebx
call sub.MFC42.DLL_AfxHookWindowCreate
lea ebp, [ebx + 0x1fc]
mov ecx, 0x16
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
lea esi, [ebx + 0x60]
mov ecx, 0x13
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, 0x27
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0x9c
push ecx
call esi
test eax, eax
jne 0x446e23
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0x94
push edx
call esi
test eax, eax
je 0x446e3a
mov eax, dword [esp + 0x30]
sub eax, 2
jne 0x446e3a
cmp dword [esp + 0x24], 5
jb 0x446e3a
mov dword [ebp], 0x58
mov dword [0x5cb2d4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x446fa0
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x5cb2d0], eax
mov eax, dword [ebx + 0xac]
test eax, eax
push ebp
je 0x446e72
call dword [sym.imp.comdlg32.dll_GetOpenFileNameA]
jmp 0x446e78
call dword [sym.imp.comdlg32.dll_GetSaveFileNameA]
mov dword [esp + 0x14], eax
mov eax, dword [0x5cb2d0]
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [0x5cb2d4]
test eax, eax
je 0x446e99
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
call dword [sym.imp.comdlg32.dll_CommDlgExtendedError]
lea eax, [ebx + 0x60]
mov ecx, 0x13
mov esi, ebp
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
mov dword [eax], 0x4c
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [ecx + 0x18], 0
je 0x446ed5
mov edx, dword [ebx + 0x200]
push 1
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x446eeb
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, ebx
call sub.MFC42.DLL_CDialog::PostModal
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
jne 0x446f03
mov eax, 2
add esp, 0xac
ret
Function at 0x4470c0
Capabilities:
Check os version
Set global application hook

Disassembly:
sub esp, 0xa0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ecx, dword [esi + 0x24]
mov edi, dword [esi + 0x20]
mov edx, eax
add esp, 4
inc edx
xor eax, eax
sub ecx, edx
shl ecx, 1
lea edi, [edi + edx*2]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [esp + 0x10], eax
xor ebx, ebx
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebp, dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esi + 8], eax
test eax, eax
je 0x447130
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x447130
mov eax, dword [esi + 8]
push 0
push eax
mov ebx, 1
call ebp
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0x9c
call edi
test eax, eax
jne 0x447169
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0x94
push edx
call edi
test eax, eax
je 0x447180
mov eax, dword [esp + 0x24]
sub eax, 2
jne 0x447180
cmp dword [esp + 0x18], 5
jb 0x447180
mov dword [esi + 4], 0x58
mov dword [0x5cb2dc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x447220
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x5cb2d8], eax
mov eax, dword [esi]
test eax, eax
je 0x4471b7
lea eax, [esi + 4]
push eax
call dword [sym.imp.comdlg32.dll_GetOpenFileNameW]
jmp 0x4471c1
lea ecx, [esi + 4]
push ecx
call dword [sym.imp.comdlg32.dll_GetSaveFileNameW]
mov edx, dword [0x5cb2d8]
mov edi, eax
push edx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [0x5cb2dc]
test eax, eax
je 0x4471e1
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
call dword [sym.imp.comdlg32.dll_CommDlgExtendedError]
test ebx, ebx
je 0x4471f3
mov eax, dword [esi + 8]
push 1
push eax
call ebp
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x447209
push esi
call dword [sym.imp.USER32.dll_SetFocus]
test edi, edi
mov eax, edi
jne 0x447214
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x447780
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 8]
add ecx, 4
push ecx
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push ecx
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
ret 0x10

Function at 0x4477b0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
add ecx, 4
push ecx
mov ecx, dword [esp + 0xc]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
ret 0xc
Function at 0x44c650
Capabilities:
Create directory
Get common file path

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
push 1
push 0x23
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.Storm
push esi
call edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x5b4864
push esi
call edi
mov eax, dword [esp + 0xc]
push eax
push esi
call edi
pop edi
pop esi
ret
Function at 0x44c960
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5587c4
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x120
test eax, eax
push ebp
push esi
push edi
jne 0x44c98d
xor eax, eax
jmp 0x44cb6c
push ecx
mov dword [esp + 0x10], esp
mov ebp, esp
push 0xc
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x140]
mov dword [esp + 0x138], 0
test esi, esi
je 0x44c9e4
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.005506a7
test eax, eax
mov dword [esi], eax
jne 0x44c9e6
test edi, edi
je 0x44c9e6
push 0x8007000e
call fcn.005505fa
jmp 0x44c9e6
xor esi, esi
test esi, esi
mov dword [esp + 0x138], 0xffffffff
mov dword [ebp], esi
jne 0x44ca02
push 0x8007000e
call fcn.005505fa
mov ecx, dword [esp + 0x144]
call fcn.0044e870
cmp ax, 0xffff
je 0x44cb67
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, eax
lea eax, [esp + 0x28]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x28]
push ecx
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0
push 0x80
push 2
push 0
push 0
lea eax, [esp + 0x3c]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [esp + 0xc], esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x134], 1
push ecx
call fcn.0044dfc0
add esp, 4
cmp esi, 0xffffffff
jne 0x44ca8c
xor eax, eax
jmp 0x44cb6c
lea edx, [esp + 0x24]
push 0
push edx
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44caae
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x44cb6c
or edi, 0xffffffff
push esi
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x28]
mov word [esp + 0x14], 8
push eax
call fcn.005506a7
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x44caeb
lea ecx, [esp + 0x28]
test ecx, ecx
je 0x44caeb
push 0x8007000e
call fcn.005505fa
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x12]
push ecx
mov esi, dword [esp + 0x144]
sub esp, 0x10
mov byte [esp + 0x148], 2
mov ecx, esp
mov edx, dword [esi]
push esi
mov dword [ecx], ebp
mov ebp, dword [esp + 0x30]
mov dword [ecx + 4], ebp
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 0xc], eax
call dword [edx + 0xe8]
test eax, eax
jge 0x44cb34
push 0x5b7678
push esi
push eax
call fcn.00550608
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 1
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x44cb51
push eax
call fcn.005505fa
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp word [esp + 0x12], di
je 0x44cb67
xor eax, eax
jmp 0x44cb6c
mov eax, 1
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x12c
ret
Function at 0x44cb90
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5587d8
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
test edi, edi
jne 0x44cbc7
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x28], 0
call ebx
test eax, eax
jge 0x44cbf1
push eax
call fcn.005505fa
mov esi, dword [esp + 0x2c]
mov word [esp + 0xc], 8
push esi
call fcn.005506a7
test eax, eax
mov dword [esp + 0x14], eax
jne 0x44cc18
test esi, esi
je 0x44cc18
push 0x8007000e
call fcn.005505fa
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [esp + 0xc]
sub esp, 0x10
mov eax, esp
mov edx, dword [edi]
push edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
call dword [edx + 0x108]
mov esi, eax
test esi, esi
jge 0x44cc66
push 0x5b7678
push edi
push esi
call fcn.00550608
test esi, esi
mov dword [esp + 0x24], 0xffffffff
je 0x44cc95
lea edx, [esp + 0xc]
push edx
call ebx
test eax, eax
jge 0x44cc81
push eax
call fcn.005505fa
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
lea eax, [esp + 0xc]
push eax
call ebx
test eax, eax
jge 0x44cca6
push eax
call fcn.005505fa
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret

Function at 0x44cd30
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x44cd4f
add esp, 0x14
ret
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp]
push 0
push 0
lea edx, [esp + 0xc]
push 0
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x44cd99
xor eax, eax
add esp, 0x14
ret
push 0
push 5
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
add esp, 0x14
ret
Function at 0x44d0e0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x18
mov edx, dword [esp + 0x1c]
push ebx
push ebp
push esi
lea ecx, [esp + 0x10]
push edi
lea eax, [esp + 0x18]
push ecx
push edx
xor esi, esi
xor edi, edi
mov dword [esp + 0x18], eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x44d15a
push ebx
call sub.MFC42.DLL_operatornew
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x44d15a
mov eax, dword [esp + 0x2c]
push ebp
push ebx
push edi
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x44d151
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x10]
push ecx
push edx
push 0x5b4864
push ebp
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x44d151
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
or esi, eax
or edi, ecx
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edx, edi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret

Function at 0x44d260
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
push edi
push 0x5cb458
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push 0x5cb458
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.Storm_
push 0x5cb458
call esi
mov eax, dword [esp + 0x11c]
test eax, eax
je 0x44d2ad
push eax
push 0x5cb458
call esi
push 0x5cb458
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
mov eax, 0x5cb458
jne 0x44d329
mov cl, byte [0x5cb458]
test cl, cl
je 0x44d324
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x5b4864
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
mov esi, eax
test esi, esi
je 0x44d324
mov edx, esi
sub edx, 0x5cb458
test edx, edx
jle 0x44d31a
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x10]
inc edx
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push edx
lea eax, [esp + 0x14]
push 0x5cb458
push eax
call ebx
lea ecx, [esp + 0x10]
push 0
push ecx
call ebp
mov cl, byte [esi + 1]
lea eax, [esi + 1]
test cl, cl
jne 0x44d2d7
mov eax, 0x5cb458
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
Function at 0x44d340
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x20c
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [esp + 0xc]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x111]
mov byte [esp + 0x110], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push str.mee.db
stosw word es:[edi], ax
push ecx
push 0x5b9eb8
lea edx, [esp + 0x11c]
push 0x104
push edx
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
lea eax, [esp + 0x110]
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x44d432
mov edx, dword [esp + 0x218]
lea ecx, [esp + 8]
push 0
push ecx
push 8
push edx
push esi
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
push esi
je 0x44d42c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
add esp, 0x20c
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
add esp, 0x20c
ret
Function at 0x44d440
Capabilities:
Check if file exists
Get common file path
Read file on windows

Disassembly:
sub esp, 0x310
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x111]
mov byte [esp + 0x110], 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 + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x110]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea ecx, [esp + 0x110]
lea edx, [esp + 0xc]
push ecx
push str._sStormcurrent.ecs
push 0x104
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call esi
test eax, eax
jne 0x44d4e8
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [esp + 0xc]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0xc]
push str...current.ecs
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [esp + 0xc]
push eax
call esi
test eax, eax
je 0x44d578
lea ecx, [esp + 0xc]
push 0x104
lea edx, [esp + 0x218]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__mbsnbcpy]
add esp, 0xc
lea eax, [esp + 0x214]
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x44d578
mov edx, dword [esp + 0x31c]
lea ecx, [esp + 8]
push 0
push ecx
push 8
push edx
push esi
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
push esi
je 0x44d572
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
add esp, 0x310
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
add esp, 0x310
ret

Function at 0x44d680
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push edi
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
lea edx, [esp + 4]
mov dword [esp + 8], 0x40
push edx
mov dword [esp + 8], 0x3c
mov dword [esp + 0x24], 5
mov dword [esp + 0x14], str.open
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
pop edi
je 0x44d6ff
mov eax, dword [esp + 0x38]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, dword [esp + 0x38]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add esp, 0x3c
ret
xor eax, eax
add esp, 0x3c
ret
Function at 0x44d750
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x558828
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [esp + 0x38]
push esi
push eax
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString_2
push 0x5b94d4
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0
call fcn.0054f910
mov ecx, dword [esp + 0x40]
push ecx
lea ecx, [esp + 0x40]
call fcn.0054f910
push 0x5b94d4
lea ecx, [esp + 0x40]
call fcn.0054f910
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x3c]
push edx
call fcn.0054f910
push 0x5b94d4
lea ecx, [esp + 0x40]
call fcn.0054f910
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x3c]
push eax
call fcn.0054f910
mov edx, dword [0x5b9f24]
mov ax, word [0x5b9f28]
mov ecx, dword [str.STROMTRAY]
mov dword [esp + 8], edx
mov edx, dword [0x5b9f14]
mov word [esp + 0xc], ax
mov eax, dword [0x5b9f18]
mov dword [esp + 4], ecx
mov ecx, dword [str.STROMTRAY_CLASS]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
lea edx, [esp + 4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x5b9f1c]
lea eax, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x30], ecx
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x44d870
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
push 0
push 0x3e8
mov eax, dword [edx - 8]
push 2
inc eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x4a
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2c]
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret

Function at 0x44d9f0
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0
push 0
push 0x44d8a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x44da20
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ecx
ret
push 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x80004005
pop ecx
ret
Function at 0x44da30
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x25c
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x59]
mov byte [esp + 0x58], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x5c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea edx, [esp + 0x58]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15d]
mov byte [esp + 0x15c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x58]
lea ecx, [esp + 0x15c]
push eax
push 0x5b9f2c
push 0x104
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea edx, [esp + 0x15c]
push 0
push edx
call fcn.00548c70
test eax, eax
je 0x44db2b
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 4], eax
rep stosd dword es:[edi], eax
mov dword [esp + 8], eax
lea ecx, [esp + 4]
lea edx, [esp + 0x14]
mov dword [esp + 0xc], eax
push ecx
push edx
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x2c], eax
push eax
lea eax, [esp + 0x17c]
push eax
push 0
mov dword [esp + 0x3c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x44db2b
mov ecx, dword [esp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 8]
push edx
call esi
pop esi
xor eax, eax
pop edi
add esp, 0x25c
ret
mov eax, 0x80004005
pop edi
add esp, 0x25c
ret
Function at 0x44dbe0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x558889
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
push ebx
push esi
lea eax, [esp + 0x160]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x15c], 0
call fcn.0054f83e
mov bl, 1
push 0x5c
push 0x2f
lea ecx, [esp + 0x10]
mov byte [esp + 0x160], bl
call sub.MFC42.DLL_CString::Replace_1
push 0x5c
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea ecx, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x15c], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x158], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x160]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x44dcde
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
push edi
mov edi, dword [esp + 0x16c]
lea ecx, [esp + 0x44]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call sub.MFC42.DLL_operator_2
push eax
mov ecx, edi
mov byte [esp + 0x164], 3
call sub.MFC42.DLL_CStringList::AddTail
lea ecx, [esp + 0x14]
mov byte [esp + 0x160], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
push ecx
push esi
call ebp
test eax, eax
jne 0x44dc95
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop ebp
lea ecx, [esp + 8]
mov byte [esp + 0x158], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x160]
mov dword [esp + 0x158], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x150]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x154
ret