joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468806
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4ee1e2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], vtable.CKMPThemeData.0
lea ecx, [esi + 0x58]
mov dword [esp + 0x10], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x54]
mov byte [esp + 0x10], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x50]
mov byte [esp + 0x10], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x4c]
mov byte [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString
mov dword [esi], vtable.CKMPBaseData.0
lea ecx, [esi + 0x44]
mov dword [esp + 0x10], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [esp + 0x10], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x38]
mov byte [esp + 0x10], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x34]
mov byte [esp + 0x10], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x18]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x46b400
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ee9a8
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x54
test eax, eax
push edi
jne 0x46b484
mov eax, dword [esp + 0x68]
xor edi, edi
push esi
push edi
lea ecx, [esp + 0x74]
push eax
push ecx
call fcn.00426810
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [esp + 0x70]
mov esi, eax
call sub.MFC42.DLL_CString::CString
test esi, esi
je 0x46b471
push str.DllRegisterServer
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46b46a
call eax
test eax, eax
jne 0x46b46a
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop esi
pop edi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret
mov edx, dword [esp + 0x68]
push 0
lea eax, [esp + 0x6c]
push edx
push eax
call fcn.00426810
add esp, 0xc
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x18]
push str.__Regserver
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], 0x44
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x6c]
call fcn.004e044e
lea edx, [esp + 4]
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edx, dword [esp + 4]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x58]
mov eax, 1
pop edi
mov dword fs:[0], ecx
add esp, 0x60
ret
Function at 0x46e260
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4eeeeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0xb0]
mov dword [esp + 0x10], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xac]
mov byte [esp + 0x10], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xa8]
mov byte [esp + 0x10], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xa4]
mov byte [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString
mov dword [esi], vtable.CKMPBaseData.0
lea ecx, [esi + 0x44]
mov dword [esp + 0x10], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [esp + 0x10], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x38]
mov byte [esp + 0x10], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x34]
mov byte [esp + 0x10], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x18]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x46f060
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4ef15d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0xac]
mov dword [esp + 0x10], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xa8]
mov byte [esp + 0x10], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xa4]
mov byte [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString
mov dword [esi], vtable.CKMPBaseData.0
lea ecx, [esi + 0x44]
mov dword [esp + 0x10], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [esp + 0x10], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x38]
mov byte [esp + 0x10], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x34]
mov byte [esp + 0x10], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x18]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4abf10
Capabilities:
Initialize iwebbrowser2

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f46b0
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebp
push esi
mov esi, dword [esp + 0x5c]
xor ebp, ebp
cmp esi, ebp
push edi
jne 0x4abf4b
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 4
mov dword [esp + 0x60], ebp
lea eax, [esp + 0x60]
mov dword [esp + 0x58], ebp
push eax
push 0x52bea8
push 7
push ebp
push 0x52be98
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jge 0x4abf9f
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
cmp eax, ebp
je 0x4ac0a6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 4
mov eax, dword [esp + 0x60]
push 0xffffffffffffffff
push eax
mov edx, dword [eax]
call dword [edx + 0xa4]
cmp eax, ebp
jge 0x4abfe2
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
cmp eax, ebp
je 0x4ac0a6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 4
push ebx
push 0xffffffffffffffff
push esi
call fcn.004048e0
mov edi, eax
add esp, 8
mov dword [esp + 0x10], edi
push 0x537100
lea ecx, [esp + 0x48]
mov word [esp + 0x48], bp
call fcn.004281a0
push 0x537100
lea ecx, [esp + 0x38]
mov word [esp + 0x38], bp
call fcn.004281a0
push 0x537100
lea ecx, [esp + 0x28]
mov word [esp + 0x28], bp
call fcn.004281a0
mov word [esp + 0x14], 3
mov dword [esp + 0x1c], 0xe
lea ecx, [esp + 0x44]
mov eax, dword [esp + 0x64]
push ecx
lea ecx, [esp + 0x38]
mov edx, dword [eax]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], 5
push ecx
lea ecx, [esp + 0x20]
push ecx
push edi
push eax
call dword [edx + 0x2c]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x14]
push edx
mov ebx, eax
call esi
lea eax, [esp + 0x24]
push eax
call esi
lea ecx, [esp + 0x34]
push ecx
call esi
lea edx, [esp + 0x44]
push edx
call esi
cmp ebx, ebp
pop ebx
push edi
jge 0x4ac0bc
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
cmp eax, ebp
je 0x4ac0a6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 4
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
cmp eax, ebp
je 0x4ac0d8
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x50]
pop edi
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x50
ret 4
Function at 0x4b03b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f4e96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x474
push ebx
push esi
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
mov dword [esp + 0x48c], ebx
call fcn.0041b900
add esp, 4
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push ecx
push str._s_box_stline.exe
push edx
mov byte [esp + 0x494], 1
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x488], bl
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x490]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4b0447
push 0x534068
lea ecx, [esp + 0x10]
call fcn.004e044e
push esi
lea ecx, [esp + 0x10]
call fcn.004e044e
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x81]
mov byte [esp + 0x80], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0xc]
push 0x400
lea ecx, [esp + 0x84]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsnbcpy]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x48]
add esp, 0xc
rep stosd dword es:[edi], eax
mov eax, 1
lea edx, [esp + 0x2c]
mov word [esp + 0x6c], ax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x3c]
push edx
mov ecx, 0xc
push eax
push ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], ecx
push ebx
push 0x4000000
lea ecx, [esp + 0x34]
push ebx
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x9c]
push edx
push eax
push ebx
mov dword [esp + 0x64], 0x44
mov dword [esp + 0x90], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
pop esi
cmp eax, ebx
pop ebx
je 0x4b04fb
mov ecx, dword [esp + 0x2c]
mov dword [0x53c270], ecx
lea ecx, [esp]
mov dword [esp + 0x47c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x474]
mov dword fs:[0], ecx
add esp, 0x480
ret
Function at 0x4b3fb0
Capabilities:
Accept command line arguments
Delete registry key

Disassembly:
sub esp, 0x418
push ebx
push ebp
push esi
mov ebp, ecx
mov ecx, dword [0x53c1ec]
push edi
lea eax, [esp + 0x18]
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x11c]
push 0x104
lea eax, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea ecx, [esp + 0x220]
push 0x104
push ecx
lea edx, [esp + 0x124]
push 0xffffffffffffffff
push edx
push 0
push 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x220]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_LoadRegTypeLib]
test eax, eax
jl 0x4b4040
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x220]
push 0
push edx
push eax
call dword [sym.imp.OLEAUT32.dll_QueryPathOfRegTypeLib]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4b404e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dx, word [0x534264]
mov cl, byte [0x534266]
mov word [esp + 0x10], dx
mov byte [esp + 0x12], cl
mov cl, byte [eax]
mov esi, eax
test cl, cl
je 0x4b409b
mov edi, dword [sym.imp.USER32.dll_CharNextA]
mov cl, dl
test cl, cl
lea eax, [esp + 0x10]
je 0x4b4093
cmp byte [esi], cl
je 0x4b40a8
push eax
call edi
mov cl, byte [eax]
test cl, cl
jne 0x4b4082
mov cl, byte [esp + 0x10]
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4b407a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x418
ret
push esi
call edi
mov esi, eax
test esi, esi
je 0x4b409b
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.UnRegister
push esi
call ebx
test eax, eax
je 0x4b4113
push str.Register
push esi
call ebx
test eax, eax
je 0x4b41a0
cmp byte [esi], 0
je 0x4b409b
mov cl, byte [esp + 0x10]
test cl, cl
lea eax, [esp + 0x10]
je 0x4b40f5
cmp byte [esi], cl
je 0x4b40ff
push eax
call edi
mov cl, byte [eax]
test cl, cl
jne 0x4b40e4
mov cl, byte [esp + 0x10]
mov al, byte [esi + 1]
inc esi
test al, al
je 0x4b409b
jmp 0x4b40dc
push esi
call edi
mov esi, eax
test esi, esi
jne 0x4b40b7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x418
ret
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
mov dword [0x53c258], 0x534058
push eax
push 0x53c280
push 0x53c1e8
mov dword [0x53c2b8], 0x53c1e8
mov dword [0x53c1e8], 0x84
mov dword [0x53c24c], 0x300
call fcn.004b4840
push 0
push 0
push 0
push 0x67
push 0x53c1e8
call fcn.004b4970
push 0
mov ecx, ebp
call fcn.004b0de0
mov edx, dword [ebp + 0x6c]
mov ecx, ebp
push edx
call fcn.004b4220
push str.StormBox
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov ecx, ebp
call fcn.004b44e0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x418
ret
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
mov dword [0x53c258], 0x534058
push eax
push 0x53c280
push 0x53c1e8
mov dword [0x53c2b8], 0x53c1e8
mov dword [0x53c1e8], 0x84
mov dword [0x53c24c], 0x300
call fcn.004b4840
push 0
push 0
push 1
push 0x67
push 0x53c1e8
call fcn.004b4970
push 1
mov ecx, ebp
call fcn.004b0de0
call fcn.004b4640
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x418
ret
Function at 0x4b4220
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x208
lea eax, [esp + 0x104]
push esi
push edi
push 0x104
push eax
push ecx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x10c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov byte [eax], 0
mov eax, str.StormSet.dll
test eax, eax
je 0x4b42f9
lea ecx, [esp + 0x10c]
push 0x104
lea edx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [esp + 8]
push str.StormSet.dll
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x4b42af
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4b42f9
mov edi, 1
push 0x534118
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b42c1
call eax
test edi, edi
je 0x4b42cc
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4b42f9
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4b42f9
push 4
lea edx, [esp + 0xc]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
pop edi
pop esi
add esp, 0x208
ret 4

Function at 0x4b43f0
Capabilities:
Get file version info

Disassembly:
mov eax, 0x200c
call fcn.004e0dc0
mov al, byte [0x537100]
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 0x4b44d0
cmp eax, 0x1fff
ja 0x4b44d0
lea edx, [esp + 0x14]
push edx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4b44d0
lea eax, [esp + 0x10]
lea ecx, [esp + 8]
push eax
push ecx
lea edx, [esp + 0x1c]
push 0x529918
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4b44d0
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 0x4b44e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4f54f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b8
push esi
lea ecx, [esp + 0x20]
call fcn.004dd7d0
lea eax, [esp + 0xb4]
mov dword [esp + 0x2c4], 0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0xb4]
lea edx, [esp + 0xb4]
push ecx
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0
push 0
push 3
push 0
push 0
lea eax, [esp + 0xc8]
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4b460a
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x4b4603
lea ecx, [esp + 0x1b8]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
push 0x64
lea eax, [esp + 0x1bc]
push edx
push eax
call fcn.004b43f0
add esp, 0xc
test eax, eax
je 0x4b4603
push str.http:__log.moviebox.baofeng.com_uninstall.html_ver
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x50]
mov byte [esp + 0x2c4], 1
push ecx
lea ecx, [esp + 8]
call fcn.004e044e
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
lea eax, [esp + 0xb4]
push edx
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.004ddf10
lea ecx, [esp + 4]
mov byte [esp + 0x2c4], 0
call sub.MFC42.DLL_CString::CString
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c4], 0xffffffff
call fcn.004dd850
mov ecx, dword [esp + 0x2bc]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x2c4
ret
Function at 0x4b4640
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f5510
push eax
mov dword fs:[0], esp
sub esp, 0x10
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push ebx
push ebp
push esi
push edi
push eax
xor ebx, ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.StormBox_shellopencommand
push SysReAllocString
call edi
test eax, eax
jne 0x4b47e2
push ebx
lea edx, [esp + 0x18]
push 0x528bc8
push edx
call fcn.00426810
add esp, 0xc
push 0x534500
push 0x5344fc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], ebx
call sub.MFC42.DLL_CString::Replace
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push str.__s___play____1_
push ecx
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
add esp, 0xc
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [eax - 8]
push ecx
push eax
push 1
push ebx
push ebx
push edx
call esi
test eax, eax
jne 0x4b47c4
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call ebp
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x18]
push ecx
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.StormBox
push SysReAllocString
call edi
test eax, eax
jne 0x4b47c4
push str.URL:_StormBox_Protocol
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x20]
push 1
push ebx
push ebx
push eax
call esi
test eax, eax
jne 0x4b47c4
mov ecx, dword [esp + 0x18]
push ebx
push ebx
push 1
push ebx
push str.URL_Protocol
push ecx
call esi
test eax, eax
jne 0x4b47c4
mov edx, dword [esp + 0x18]
push edx
call ebp
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.StormBoxDefaultIcon
push SysReAllocString
call edi
test eax, eax
jne 0x4b47c4
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push str._s__1
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push 1
push ebx
push ebx
push ecx
call esi
test eax, eax
je 0x4b47f7
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov edx, dword [esp + 0x18]
push edx
call ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret