joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4342c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fb268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push esi
mov esi, ecx
lea eax, [esp + 0x2c]
push edi
mov ecx, dword [esi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x17c]
push 1
push 0x4d4
lea edx, [esp + 0x18]
push esi
xor edi, edi
push edx
push 0x50000000
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.004b1800
push 0x5b2c3c
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 0x17c]
push 1
lea eax, [esp + 0xc]
push 0xdd
push eax
mov dword [esp + 0x54], edi
call fcn.004b1350
or edi, 0xffffffff
lea ecx, [esp + 8]
mov dword [esp + 0x48], edi
call sub.MFC42.DLL_CString::CString
push 0x5b2c3c
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
push str.Script_Introduction_Min.bmp
lea ecx, [esp + 0x10]
push 0x5da564
push ecx
mov dword [esp + 0x54], 1
call sub.MFC42.DLL_operator_1
mov ecx, dword [esi + 0x17c]
push 4
push 4
push 0x178
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x5c], 2
call fcn.004b13a0
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x48], edi
call sub.MFC42.DLL_CString::CString
push 0x5b2c3c
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
push str.Script_Introduction_Max.bmp
lea eax, [esp + 0x10]
push 0x5da564
push eax
mov dword [esp + 0x54], 3
call sub.MFC42.DLL_operator_1
push 4
push 4
push 0x1a4
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, dword [esi + 0x17c]
mov byte [esp + 0x5c], 4
call fcn.004b13a0
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x48], edi
call sub.MFC42.DLL_CString::CString
push 0x5b2c3c
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
push str.Script_Introduction_Close_Btn.bmp
lea edx, [esp + 0x10]
push 0x5da564
push edx
mov dword [esp + 0x54], 5
call sub.MFC42.DLL_operator_1
mov ecx, dword [esi + 0x17c]
push 4
push 4
push 0x17e
push eax
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x5c], 6
call fcn.004b13a0
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x48], edi
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 0x17c]
push 0x48f
call fcn.004b6280
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x20]
push 1
push edx
lea eax, [ecx - 0x46]
mov ecx, dword [esi + 0x17c]
mov dword [esp + 0x28], eax
add eax, 0x3c
mov dword [esp + 0x2c], 2
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0x15
call fcn.004b1860
mov ecx, dword [esp + 0x40]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x44
ret
Function at 0x434f30
Capabilities:
Find taskbar

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
cmp eax, 3
push esi
mov esi, ecx
jne 0x434fe6
push ebx
push ebp
push edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
sub edi, edx
call ebx
push 1
mov ebp, eax
call ebx
xor ebx, ebx
sub eax, edi
push 3
mov ecx, esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
call sub.MFC42.DLL_CWnd::ShowWindow
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
sub edx, ecx
sub eax, edi
add edx, 8
push 4
add eax, 4
push edx
push eax
push 0xfffffffffffffffc
push 0xfffffffffffffffe
push ebx
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [esi + 0x20]
push 1
push ebx
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop ebp
mov dword [esi + 0x180], 1
pop ebx
mov eax, 1
pop esi
add esp, 0x10
ret 4
cmp eax, 2
je 0x434ffa
cmp eax, 6
je 0x434ffa
mov dword [esi + 0x180], 0
push eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
pop esi
add esp, 0x10
ret 4
Function at 0x435c49
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4fb5f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push SysReAllocString
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5b2c3c
call sub.MFC42.DLL_CString::CString_1
push ecx
mov dword [esp + 0x54], 0
mov ecx, esp
mov dword [esp + 0x28], esp
push str.http_shellopencommand_
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 0xffffffff
call fcn.00482400
lea ecx, [esp + 8]
mov dword [esp + 0x44], 1
call sub.MFC42.DLL_CString::CString_3
push str.bbxtools_theworldTheWorld.exe
lea eax, [esp + 0x14]
mov bl, 2
push 0x5da454
push eax
mov byte [esp + 0x50], bl
call sub.MFC42.DLL_operator_1
mov ecx, dword [eax]
lea edx, [esp + 8]
push ecx
push str.__s_
push edx
mov byte [esp + 0x50], 3
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 8]
mov byte [esp + 0x44], 4
call sub.MFC42.DLL_CString::MakeLower
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::MakeLower
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x435d6d
mov eax, dword [esi + 0x4d0]
test eax, eax
je 0x435d5c
push str.bbxtools_theworldTheWorld.exe
lea eax, [esp + 0x14]
push 0x5da454
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 5
push 0
push str._setdef
push eax
push 0x591194
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x44], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0xffffffff
call fcn.00482580
mov ecx, dword [esp + 0x3c]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x40
ret
Function at 0x435ff0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4fb678
push eax
mov dword fs:[0], esp
sub esp, 0x14
lea eax, [esp + 4]
push ebx
push ebp
push esi
push edi
push str.qmacrone.ini
push 0x5da458
mov esi, ecx
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebx, 1
push eax
push ebx
push str.HotkeyMode
push str.Hotkey
call edi
lea ecx, [esp + 0x14]
mov dword [esi + 0x554], eax
mov dword [esi + 0x558], eax
call sub.MFC42.DLL_CString::CString
push str.qmacrone.ini
lea ecx, [esp + 0x18]
push 0x5da458
push ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push eax
push 2
push str.ProcessPriority
push str.General
call edi
lea ecx, [esp + 0x14]
mov dword [esi + 0x55c], eax
call sub.MFC42.DLL_CString::CString
push str.qmacrone.ini
lea edx, [esp + 0x18]
push 0x5da458
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push eax
push ebx
push str.Beep
push str.General
call edi
lea ecx, [esp + 0x14]
mov dword [esi + 0x4cc], eax
call sub.MFC42.DLL_CString::CString
push str.qmacrone.ini
lea eax, [esp + 0x18]
push 0x5da458
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push eax
push 0
push str.SetDelay
push str.General
call edi
lea ecx, [esp + 0x14]
mov dword [esi + 0x58c], eax
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 0x58c]
push str.qmacrone.ini
lea edx, [esp + 0x18]
push 0x5da458
push edx
mov dword [esi + 0x588], ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push eax
push ebx
push str.Browser
push str.General
call edi
lea ecx, [esp + 0x14]
mov dword [esi + 0x4d0], eax
call sub.MFC42.DLL_CString::CString
xor ebp, ebp
add esi, 0x560
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
push ebp
lea eax, [esp + 0x14]
push str.SysHotkey_d
push eax
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x20]
push str.qmacrone.ini
push 0x5da458
push ecx
call sub.MFC42.DLL_operator_1
push str.qmacrone.ini
lea edx, [esp + 0x20]
push 0x5da458
mov byte [esp + 0x34], bl
mov ebx, dword [eax]
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push 0x592dd8
lea edx, [esp + 0x1c]
push ecx
push edx
mov byte [esp + 0x38], 2
mov dword [esp + 0x20], eax
call sub.MFC42.DLL_operator_1
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
push ecx
push 0
push eax
push str.Hotkey
call edi
mov edx, eax
mov eax, dword [esp + 0x10]
and edx, 0xffff
push ebx
push 0
push eax
shl edx, 0x10
push str.Hotkey
mov dword [esp + 0x24], edx
call edi
mov ecx, dword [esp + 0x14]
and eax, 0xffff
or ecx, eax
mov dword [esi], ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
mov ebx, 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
inc ebp
add esi, 4
cmp ebp, 0xa
jb 0x436134
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x438020
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
push edi
xor edi, edi
mov dword [esp + 0xc], 0x14
cmp eax, edi
mov dword [esp + 0x10], 1
jne 0x438044
mov dword [esp + 0x14], edi
jmp 0x43804b
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 8]
push edx
push edi
lea eax, [esp + 0x14]
push 0x537cc8
push eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.OLEPRO32.DLL_OleCreatePictureIndirect]
test eax, eax
jl 0x438133
lea ecx, [esp + 4]
push ecx
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jl 0x438129
mov eax, dword [esp + 8]
lea ecx, [esp + 0x28]
push esi
push ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], edi
mov edx, dword [eax]
push 1
push ecx
push eax
call dword [edx + 0x3c]
test eax, eax
jl 0x43811e
mov edx, dword [esp + 0x28]
push edi
push 0x80
push 2
push edi
push 1
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, edi
je 0x43811e
mov ecx, dword [esp + 8]
lea eax, [esp + 0x30]
push eax
push ecx
mov dword [esp + 0x38], edi
call dword [sym.imp.ole32.dll_GetHGlobalFromStream]
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x28]
push edi
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov edi, eax
xor eax, eax
cmp ecx, edx
mov edx, dword [esp + 0x30]
sete al
push edx
and edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop esi
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, edi
pop edi
add esp, 0x1c
ret 0xc
Function at 0x439ab0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
cmp edi, 2
jne 0x439aeb
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
and eax, 0xffff
push eax
push ecx
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov esi, eax
push 0
push esi
call fcn.0043aab0
add esp, 8
mov edi, eax
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, edi
pop edi
pop esi
ret
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x439afb
call sub.MFC42.DLL_AfxGetModuleState
mov esi, dword [eax + 0xc]
mov edx, dword [esp + 0xc]
push ebx
push ebp
and edx, 0xffff
push edi
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push ebp
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push ecx
push 0
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edx, dword [esp + 0x1c]
push 0
push edx
call fcn.0043a9b0
add esp, 8
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop ebp
pop ebx
mov eax, esi
pop edi
pop esi
ret
Function at 0x43efa0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4fc258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x14]
push eax
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x24], 1
lea ecx, [esi + 0x18]
call sub.MFC42.DLL_CString::operator_1
lea edi, [esi + 0x14]
lea edx, [esp + 0x2c]
push edx
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x30]
lea ebp, [esi + 8]
lea ebx, [esi + 0x10]
push ebp
push ebx
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov dword [esi + 0xec], eax
call sub.MFC42.DLL_CString::CString_4
call fcn.0043ee80
add esp, 0xc
mov ecx, edi
push 0x591b2c
push str.cs.jdyou.com
call sub.MFC42.DLL_CString::Replace
lea eax, [esp + 0x30]
push 3
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x593148
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x30]
test eax, eax
sete byte [esp + 0x28]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x28]
test al, al
je 0x43f07e
push 0x3d
mov ecx, edi
call sub.MFC42.DLL_CString::Remove
mov dword [esi + 0x40], 2
jmp 0x43f085
mov dword [esi + 0x40], 0
mov ecx, dword [ebp]
mov edx, dword [ebx]
push ecx
push edx
push str.http:__www.jdyou.com_User_scriptpage.aspx
lea eax, [esi + 0xd4]
push str._s_qmn_s__s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x10]
push 0x592354
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 0x40]
mov byte [esp + 0x20], 2
cmp eax, 2
jne 0x43f152
push edi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
push str..shtml
push str..qmn
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
push 0
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.0041aba0
add esp, 0xc
push str.jdyou7_ScriptCenter_ScriptDetail.aspx_key
lea edx, [esp + 0x2c]
push eax
push edx
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_operator_1
lea edi, [esi + 0xdc]
push eax
mov ecx, edi
mov byte [esp + 0x24], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString
push ebx
mov ecx, edi
call fcn.004453a2
push str.qmn
mov ecx, edi
call sub.MFC42.DLL_CString::operator
push ebp
mov ecx, edi
call fcn.004453a2
push 0
push 0
push 0
push 0
push esi
push 0x43f1b0
call sub.MFC42.DLL_AfxBeginThread
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret
Function at 0x440770
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc5ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x12ec
call fcn.00445f30
push ebx
push esi
push edi
lea eax, [ebp - 0x12fc]
mov dword [ebp - 0x10], esp
push eax
call dword [sym.imp.MSVCRT.dll_tmpnam]
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x12fc], 0x54
push ecx
call fcn.0042cc90
add esp, 8
lea edx, [ebp - 0x12fc]
mov dword [ebp - 4], 0
push edx
push eax
lea eax, [ebp - 0x18]
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x12fc]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x12fc]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CFile::CFile
mov edi, 1
push 0
lea edx, [ebp - 0x12fc]
push 0x9011
mov dword [ebp - 4], edi
push edx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CFile::Open
mov eax, dword [esi + 0x1c]
lea ecx, [ebp - 0x28]
push ecx
push 0
push eax
call fcn.0043db60
add esp, 0xc
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CFile::GetLength
test eax, eax
jne 0x44086a
xor edi, edi
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CFile::Close
jmp 0x440887
mov edx, dword [esi + 0xec]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push edx
mov dword [ebp - 4], 1
call ebx
test eax, eax
je 0x4408ca
test edi, edi
je 0x4408ca
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00445726
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x71
lea ecx, [ebp - 0x2fc]
call fcn.0040e960
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CDialog::DoModal
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 7
call fcn.00414fb0
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 6
call fcn.00414fb0
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 5
call fcn.00414fb0
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 1
call fcn.00445138
lea eax, [ebp - 0x12fc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esi + 0xec]
push ecx
call ebx
test eax, eax
je 0x440954
mov edx, dword [esi + 0xec]
push 0
push 0
push 0x485
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00445726
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4413c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fc790
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
lea eax, [esp + 8]
push esi
push eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
call sub.MFC42.DLL_AfxVariantInit
push 3
push 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0
call sub.MFC42.DLL_COleVariant::COleVariant
mov esi, dword [esp + 0x3c]
mov byte [esp + 0x34], 1
test esi, esi
jne 0x44143b
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x1c]
push ecx
call esi
lea edx, [esp + 0xc]
push edx
call esi
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop esi
add esp, 0x34
ret
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0xc]
push eax
call sub.MFC42.DLL_COleVariant::operator
lea edx, [esp + 8]
mov ecx, dword [esi]
push edx
mov edx, dword [esp + 0x20]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
mov dword [eax], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x30]
mov eax, esp
push esi
mov dword [eax], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 0xc], edx
call dword [ecx + 0x2c]
mov eax, dword [esp + 8]
test eax, eax
jne 0x4414c2
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x1c]
push eax
call esi
lea ecx, [esp + 0xc]
push ecx
call esi
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop esi
add esp, 0x34
ret
mov edx, dword [eax]
lea ecx, [esp + 4]
push ecx
push 0x537cd8
push eax
call dword [edx]
mov eax, dword [esp + 4]
test eax, eax
jne 0x4414ff
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x1c]
push edx
call esi
lea eax, [esp + 0xc]
push eax
call esi
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop esi
add esp, 0x34
ret
mov ecx, dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_COleVariant::operator
mov esi, dword [esp + 0xc]
push 0
sub esp, 0x10
mov eax, dword [esp + 0x18]
mov ecx, esp
mov edx, dword [eax]
push str.value
mov dword [ecx], esi
mov esi, dword [esp + 0x28]
push eax
mov dword [ecx + 4], esi
mov esi, dword [esp + 0x30]
mov dword [ecx + 8], esi
mov esi, dword [esp + 0x34]
mov dword [ecx + 0xc], esi
call dword [edx + 0x1c]
mov esi, dword [esp + 0xc]
push 0
sub esp, 0x10
mov eax, dword [esp + 0x18]
mov ecx, esp
mov edx, dword [eax]
push str.innerHTML
mov dword [ecx], esi
mov esi, dword [esp + 0x28]
push eax
mov dword [ecx + 4], esi
mov esi, dword [esp + 0x30]
mov dword [ecx + 8], esi
mov esi, dword [esp + 0x34]
mov dword [ecx + 0xc], esi
call dword [edx + 0x1c]
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x1c]
push edx
call esi
lea eax, [esp + 0xc]
push eax
call esi
mov ecx, dword [esp + 0x2c]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x34
ret