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

Disassembly:
push 0xffffffffffffffff
push 0x565371
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 + 0xb8]
mov dword [esp + 0x10], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xb4]
mov byte [esp + 0x10], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xb0]
mov byte [esp + 0x10], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xac]
mov byte [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString
mov dword [esi], vtable.CKMPBaseData.0
lea ecx, [esi + 0x4c]
mov dword [esp + 0x10], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x48]
mov byte [esp + 0x10], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x44]
mov byte [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 0x4bd1d0
Capabilities:
Read file via mapping

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push str.STORMSKIN_2D09F8CA_7144_4074_B115_5504F8E70C63
mov edi, eax
push 0
push 6
inc edi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov ebx, eax
test ebx, ebx
jne 0x4bd239
push str.STORMSKIN_2D09F8CA_7144_4074_B115_5504F8E70C63
push edi
push eax
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
je 0x4bd26c
push ebx
push ebx
push ebx
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x4bd26c
mov ecx, edi
mov edi, eax
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
pop edi
pop esi
pop ebx
ret
push 0
push 0
push 0
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x4bd265
mov ecx, edi
mov edi, eax
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
ret
Function at 0x504590
Capabilities:
Initialize iwebbrowser2

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x56bfc0
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 0x5045cb
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 0x5ba050
push 7
push ebp
push 0x5ba040
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jge 0x50461f
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
cmp eax, ebp
je 0x504726
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 0x504662
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
cmp eax, ebp
je 0x504726
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.00406c60
mov edi, eax
add esp, 8
mov dword [esp + 0x10], edi
push 0x5cabc0
lea ecx, [esp + 0x48]
mov word [esp + 0x48], bp
call fcn.0044e920
push 0x5cabc0
lea ecx, [esp + 0x38]
mov word [esp + 0x38], bp
call fcn.0044e920
push 0x5cabc0
lea ecx, [esp + 0x28]
mov word [esp + 0x28], bp
call fcn.0044e920
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 0x50473c
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
cmp eax, ebp
je 0x504726
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 0x504758
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 0x508450
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x208
call fcn.00543990
test eax, eax
je 0x50850a
push ebx
push ebp
push esi
push edi
call fcn.004bbc90
test eax, eax
jne 0x508474
xor esi, esi
jmp 0x508477
mov esi, dword [eax + 0x20]
mov ebp, dword [esp + 0x21c]
mov eax, ebp
dec eax
je 0x5084a4
dec eax
je 0x50849b
dec eax
je 0x508492
push 0x5cb08c
push 0
jmp 0x5084ab
push str.Pbk
push 3
jmp 0x5084ab
push 0x5be4e4
push 2
jmp 0x5084ab
push 0x5be4ec
push 1
push esi
call fcn.00544490
mov ebx, eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], 0
add esp, 0xc
rep stosd dword es:[edi], eax
push ebp
push esi
stosw word es:[edi], ax
push str.XXXX___SetOverlayIcon::hWnd_X_State_d_r_n
lea eax, [esp + 0x1c]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
pop esi
pop ebp
mov eax, str.XXXX___SetOverlayIcon___Succeeded_r_n
test ebx, ebx
pop ebx
jne 0x508503
mov eax, str.XXXX___SetOverlayIcon___Failed_r_n
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x208
ret 4

Function at 0x50b8c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x56ce26
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.0043ba50
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 0x50b957
push 0x5c5f60
lea ecx, [esp + 0x10]
call fcn.0054f910
push esi
lea ecx, [esp + 0x10]
call fcn.0054f910
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, 0xc
lea edx, [esp + 0x2c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x3c]
push edx
push eax
push ebx
push ebx
push 0x4000000
lea ecx, [esp + 0x34]
push ebx
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x9c]
push edx
mov esi, 1
push eax
push ebx
mov dword [esp + 0x64], 0x44
mov dword [esp + 0x90], ebx
mov word [esp + 0x94], si
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [0x5d013c], esi
pop edi
pop esi
cmp eax, ebx
pop ebx
je 0x50ba14
mov ecx, dword [esp + 0x2c]
mov dword [0x5d0598], 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 0x510eb0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x56d851
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x25c
push ebx
push edi
xor ebx, ebx
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], bl
mov dword [esp + 8], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], 1
stosb byte es:[edi], al
mov dword [esp + 0x14], 0x100
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 8]
mov dword [esp + 0x26c], ebx
push eax
push 1
push ebx
push str.Software_storm
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x511008
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
push edx
push ecx
push ebx
push str.storm_FirstShow
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_2
cmp dword [esp + 8], ebx
je 0x511008
mov eax, dword [esp + 0x10]
push 0x5b5ca0
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x511008
mov cx, word [0x5b5ca0]
lea edx, [esp + 8]
push edx
push str.Software_storm
push SysReAllocStringLen
mov word [esp + 0x1a], cx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov ecx, dword [esp + 8]
lea eax, [esp + 0xe]
push 2
push eax
push 1
push ebx
push str.storm_FirstShow
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea ecx, [esp + 0x120]
call fcn.005370a0
lea ecx, [esp + 0x11c]
mov byte [esp + 0x26c], 1
call sub.MFC42.DLL_CDialog::DoModal
lea ecx, [esp + 0x180]
mov byte [esp + 0x26c], 2
call fcn.00513ed0
lea ecx, [esp + 0x11c]
mov byte [esp + 0x26c], bl
call sub.MFC42.DLL_CDialog::CDialog
lea ecx, [esp + 0x10]
mov dword [esp + 0x26c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x264]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x268
ret
Function at 0x5110d0
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ebx
push esi
push edi
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x5111ca
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push 0x5c6830
push esi
call edi
test eax, eax
jne 0x511134
push str.StormBox:__
push esi
call edi
test eax, eax
jne 0x511134
push 0x5c67f8
push esi
call edi
test eax, eax
jne 0x511134
push str._box
push esi
call edi
test eax, eax
jne 0x511134
push str._openbox
push esi
call edi
test eax, eax
jne 0x511134
push 0x5c57dc
push esi
call edi
test eax, eax
je 0x511139
mov eax, 1
mov dword [ebx + 0xfc], eax
lea eax, [esp + 0xc]
push eax
push esi
mov dword [esp + 0x14], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0xc]
mov eax, 1
cmp ecx, eax
jne 0x51116f
mov dword [ebx + 0xf8], eax
jmp 0x511191
push str._box_desktop
push esi
call edi
test eax, eax
je 0x511187
mov dword [ebx + 0xf8], 1
jmp 0x511191
mov dword [ebx + 0xf8], 0
push str._runevent
push esi
call edi
test eax, eax
je 0x5111a4
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push str._hidden
push esi
call edi
test eax, eax
je 0x5111b7
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push str._nosplash
push esi
call edi
test eax, eax
je 0x5111ca
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x511480
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 0x511559
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 0x51150f
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x511559
mov edi, 1
push str.DllUnregisterServer
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x511521
call eax
test edi, edi
je 0x51152c
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 0x511559
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x511559
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 0x511650
Capabilities:
Get file version info

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

Disassembly:
push 0xffffffffffffffff
push 0x56d8b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b8
push esi
lea ecx, [esp + 0x20]
call fcn.00549bf0
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 SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x51186a
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 0x511863
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.00511650
add esp, 0xc
test eax, eax
je 0x511863
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.0054f910
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.0054a4a0
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.00549c70
mov ecx, dword [esp + 0x2bc]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x2c4
ret
Function at 0x5118a0
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x56d8d0
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 SysReAllocStringLen
call edi
test eax, eax
jne 0x511a42
push ebx
lea edx, [esp + 0x18]
push 0x5b4bf8
push edx
call fcn.0044c570
add esp, 0xc
push 0x5c698c
push 0x5c6988
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 0x511a24
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 SysReAllocStringLen
call edi
test eax, eax
jne 0x511a24
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 0x511a24
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 0x511a24
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 SysReAllocStringLen
call edi
test eax, eax
jne 0x511a24
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 0x511a57
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
Function at 0x513570
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x56dae8
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
push edi
mov edi, ecx
test esi, esi
je 0x513671
mov ebx, dword [esp + 0x34]
test ebx, ebx
jl 0x513671
mov ebp, dword [esp + 0x38]
test ebp, ebp
jl 0x513671
lea eax, [esp + 0x10]
push eax
push 0
push ebp
push ebx
call sub.MFC42.DLL_CListCtrl::GetSubItemRect
test eax, eax
je 0x513671
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add eax, 0x64
mov dword [esp + 0x1c], eax
sub eax, ecx
push 0x40
push eax
mov eax, dword [esp + 0x18]
sub edx, eax
push edx
push ecx
push eax
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetWindowPos
push ebp
lea eax, [esp + 0x34]
push ebx
push eax
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::GetItemText_1
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], 0
push ecx
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetFocus
mov edx, dword [esi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0xd
push 0xffffffffffffffff
push 0x153
push edx
call ebx
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x20]
push eax
push 0
push 0x158
push ecx
call ebx
test eax, eax
jge 0x513648
xor eax, eax
mov edx, dword [esi + 0x20]
push 0
push eax
push 0x14e
push edx
call ebx
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ebp
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

Function at 0x514f50
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x56de00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
xor eax, eax
mov dword [esp], vtable.CBitmap.0
mov dword [esp + 4], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 4]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x38]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
lea ecx, [esp]
mov dword [edx], eax
call sub.MFC42.DLL_CGdiObject::Detach
mov dword [esp], vtable.CGdiObject.0
lea ecx, [esp]
mov dword [esp + 0x28], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc