joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b3920
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x17c
mov eax, dword [0x6089a0]
xor eax, esp
mov dword [esp + 0x178], eax
mov eax, dword [esp + 0x180]
push ebp
lea edx, [esp + 8]
push edx
push 0x40
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x140]
push eax
push ebx
push esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], 0
call edi
cmp dword [esp + 8], 0x40
jne 0x4b3a35
cmp word [esp + 0x138], 0x5a4d
jne 0x4b3a35
mov ecx, dword [esp + 0x174]
lea edx, [esp + 8]
push edx
push 0xf8
lea eax, [esp + 0x20]
push eax
lea ebp, [ebx + ecx]
push ebp
push esi
mov dword [esp + 0x1c], 0
call edi
cmp dword [esp + 8], 0xf8
jne 0x4b3a35
cmp dword [esp + 0x18], 0x4550
jne 0x4b3a35
cmp word [esp + 0x1c], 0x14c
jne 0x4b3a35
cmp word [esp + 0x30], 0x10b
jne 0x4b3a35
add ebp, 0xf8
cmp word [esp + 0x1e], 0
mov dword [esp + 0xc], 0
jbe 0x4b3a35
lea ecx, [esp + 8]
push ecx
push 0x28
lea edx, [esp + 0x118]
push edx
push ebp
push esi
mov dword [esp + 0x1c], 0
call edi
cmp dword [esp + 8], 0x28
jne 0x4b3a35
mov eax, dword [esp + 0x11c]
test eax, eax
je 0x4b3a35
mov ecx, dword [esp + 0x134]
and ecx, 0x20000020
cmp ecx, 0x20000020
je 0x4b3a4d
mov eax, dword [esp + 0xc]
movzx edx, word [esp + 0x1e]
add eax, 1
cmp eax, edx
mov dword [esp + 0xc], eax
jb 0x4b39df
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.00432b8e
add esp, 0x17c
ret
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x120]
add eax, ebx
mov dword [ecx], eax
mov ecx, dword [esp + 0x10]
add eax, edx
mov dword [ecx], eax
mov ecx, dword [esp + 0x17c]
pop ebp
xor ecx, esp
mov eax, 1
call fcn.00432b8e
add esp, 0x17c
ret

Function at 0x4b4070
Capabilities:
Create udp socket
Initialize winsock library
Resolve dns
Send data
Send data on socket

Disassembly:
sub esp, 0x1a8
mov eax, dword [0x6089a0]
xor eax, esp
mov dword [esp + 0x1a4], eax
push ebx
push ebp
mov ebp, dword [esp + 0x1b4]
mov ebx, ecx
cmp ebx, 0x5a0
push esi
push edi
jbe 0x4b409e
mov ebx, 0x5a0
lea eax, [esp + 0x20]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x4b4138
push str.report.crash.qq.com
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x4b4131
xor eax, eax
push 0x26b2
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov word [esp + 0x22], ax
mov word [esp + 0x14], 2
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x12], ax
mov edx, dword [esi + 0xc]
xor ecx, ecx
cmp dword [edx], ecx
jne 0x4b4112
mov eax, edx
add eax, 4
add ecx, 1
cmp dword [eax], 0
je 0x4b4107
mov ecx, dword [edx + ecx*4]
mov eax, dword [ecx]
test eax, eax
mov dword [esp + 0x14], eax
je 0x4b4131
push 0x10
lea edx, [esp + 0x14]
push edx
push 0
push ebx
push ebp
push edi
call dword [sym.imp.WS2_32.dll_sendto]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x1b4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00432b8e
add esp, 0x1a8
ret
Function at 0x4b4160
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x6089a0]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 0x118
lea eax, [esp + 0xc]
push 0
push eax
call sub.MSVCR80.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x11c
call esi
test eax, eax
jne 0x4b41d1
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x114
call esi
test eax, eax
jne 0x4b41d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.00432b8e
add esp, 0x120
ret
mov eax, dword [esp + 0x14]
sub eax, 0
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov ecx, str.Unknow_system
je 0x4b42ff
sub eax, 1
je 0x4b4281
sub eax, 1
jne 0x4b4304
cmp esi, 4
ja 0x4b420c
mov ecx, str.Microsoft_Windows_NT
jmp 0x4b4304
cmp esi, 5
jne 0x4b4269
mov edx, dword [esp + 0xc]
test edx, edx
jne 0x4b425d
mov ecx, str.Microsoft_Windows_2000
lea eax, [esp + 0x18]
push ebx
movzx ebx, word [esp + 0x14]
push ebx
push edx
push esi
push eax
mov eax, dword [esp + 0x13c]
push ecx
push str._s__s__Build__d._d._d_
push eax
push edi
call dword [sym.imp.MSVCR80.dll__snwprintf]
mov ecx, dword [esp + 0x144]
add esp, 0x20
pop ebx
pop esi
xor ecx, esp
xor eax, eax
call fcn.00432b8e
add esp, 0x120
ret
cmp edx, 1
jne 0x4b421e
mov ecx, str.Microsoft_Windows_XP
jmp 0x4b421e
cmp esi, 6
jne 0x4b4304
mov edx, dword [esp + 0xc]
test edx, edx
jne 0x4b421e
mov ecx, str.Microsoft_Windows_Vista
jmp 0x4b421e
cmp esi, 4
jne 0x4b42f8
test edx, edx
jne 0x4b42b9
mov ax, word [esp + 0x1a]
cmp ax, 0x43
je 0x4b42aa
cmp ax, 0x42
je 0x4b42aa
mov ecx, str.Microsoft_Windows_95
mov eax, 0x5abe18
jmp 0x4b4222
mov ecx, str.Microsoft_Windows_95_OSR2
mov eax, 0x5abe18
jmp 0x4b4222
cmp edx, 0xa
jne 0x4b42e4
cmp word [esp + 0x1a], 0x41
jne 0x4b42d5
mov ecx, str.Microsoft_Windows_98_SE
mov eax, 0x5abe18
jmp 0x4b4222
mov ecx, str.Microsoft_Windows_98
mov eax, 0x5abe18
jmp 0x4b4222
cmp edx, 0x5a
jne 0x4b42f8
mov ecx, str.Microsoft_Windows_Me
mov eax, 0x5abe18
jmp 0x4b4222
mov ecx, str.Microsoft_Windows_Me_later
jmp 0x4b4304
mov ecx, str.Microsoft_Win32s
cmp esi, 4
ja 0x4b421e
mov eax, 0x5abe18
jmp 0x4b4222
Function at 0x4b4320
Capabilities:
Get file version info

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push ebp
push esi
xor ebp, ebp
push ebp
push ebx
mov word [eax], bp
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebp
jne 0x4b4346
pop esi
pop ebp
add esp, 8
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push esi
call sub.MFC80U.DLL_Ordinal_265
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x4b4362
pop edi
pop esi
mov eax, 8
pop ebp
add esp, 8
ret
push edi
push esi
push ebp
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4b43cf
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x5abba4
push edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4b43cf
mov eax, dword [esp + 0xc]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
mov eax, dword [esp + 0x20]
push ecx
push edx
push 0x5abba8
push 0x7e
push eax
call dword [sym.imp.MSVCR80.dll__snwprintf]
add esp, 0x1c
push edi
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov ebp, eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret

Function at 0x4b4510
Capabilities:
Access peb ldr_data
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4e9439
mov eax, dword fs:[0]
push eax
sub esp, 0x824
mov eax, dword [0x6089a0]
xor eax, esp
mov dword [esp + 0x820], eax
push edi
mov eax, dword [0x6089a0]
xor eax, esp
push eax
lea eax, [esp + 0x82c]
mov dword fs:[0], eax
push 0x802
lea eax, [esp + 0x2a]
push 0
push eax
mov word [esp + 0x30], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0xc]
mov edi, eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [esp + 8]
push eax
mov ecx, esi
mov dword [esp + 0x838], 0
call dword [0x582868]
lea ecx, [esp + 8]
mov dword [esp + 0x834], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor eax, eax
test edi, edi
setge al
mov ecx, dword [esp + 0x82c]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x820]
xor ecx, esp
call fcn.00432b8e
add esp, 0x830
ret
Function at 0x4b45f0
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x168
mov eax, dword [0x6089a0]
xor eax, esp
mov dword [esp + 0x164], eax
push ebx
push ebp
mov ebp, dword [esp + 0x174]
push esi
push edi
mov ebx, ecx
push ebp
call fcn.004b4320
add esp, 4
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4b4645
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4b4742
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x14]
push eax
push 0x40
lea ecx, [esp + 0x13c]
push ecx
push esi
mov edi, 0xb
call ebx
test eax, eax
je 0x4b4740
cmp dword [esp + 0x10], 0x40
jne 0x4b4740
cmp word [esp + 0x130], 0x5a4d
jne 0x4b4740
mov edx, dword [esp + 0x16c]
push 0
push 0
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x14]
push eax
push 0xf8
lea ecx, [esp + 0x44]
push ecx
push esi
call ebx
test eax, eax
je 0x4b4740
cmp dword [esp + 0x10], 0xf8
jne 0x4b4740
cmp dword [esp + 0x38], 0x4550
jne 0x4b4740
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b46d3
sub eax, edx
lea edx, [esp + 0x40]
sar eax, 1
push edx
mov ebx, eax
call dword [sym.imp.MSVCR80.dll__localtime64]
mov esi, eax
mov ecx, 9
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x38]
push eax
add ecx, 1
push ecx
add edx, 0x76c
push edx
mov eax, 0x7e
push str.__04d__02d__02d__02d:_02d:_02d
sub eax, ebx
push eax
lea ecx, [ebp + ebx*2]
push ecx
call dword [sym.imp.MSVCR80.dll__snwprintf]
add esp, 0x28
xor edi, edi
mov eax, edi
mov ecx, dword [esp + 0x174]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00432b8e
add esp, 0x168
ret

Function at 0x4b65a0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x6089a0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xff
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x100
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x4b6611
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4b6611
mov eax, dword [eax + 0xc]
cmp dword [eax], 0
je 0x4b6611
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00432b8e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.00432b8e
mov esp, ebp
pop ebp
ret
Function at 0x4b67e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push str.SoftwareTencentQQPlayerOption
push closesocket
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4b686e
push esi
mov esi, dword [ebp - 4]
push edi
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push str.QMCLevel
mov edi, 4
push esi
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4b683c
cmp dword [ebp - 0xc], edi
je 0x4b684d
test esi, esi
je 0x4b686c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x4b685c
push esi
call edi
xor esi, esi
test esi, esi
mov ecx, dword [ebp - 0x10]
mov dword [0x60abfc], ecx
je 0x4b686c
push esi
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4b7530
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4b72e0
push 0
push 0
mov dword [0x626864], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x626868], eax
mov esp, ebp
pop ebp
ret
Function at 0x4be880
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a5820
Function at 0x4c1bd0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push esi
lea eax, [esp + 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4c1c58
lea ecx, [esp + 0xc]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x4c1c58
mov eax, dword [esp + 4]
mov esi, dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
push 0
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call esi
test eax, eax
je 0x4c1c58
push 0
push 0xc
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
push 0
push 0
push 0
jne 0x4c1c5f
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push 1
push edx
call esi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push 1
push ecx
call esi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4c23c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a5820
Function at 0x4c82e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ecc7f
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x6089a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push 0x5b1034
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CQMCMediaFile.0
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push 0x5b1038
lea ecx, [esi + 0x14]
mov dword [ebp - 4], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov byte [ebp - 4], 1
push 0x5b103c
lea ecx, [esi + 0x20]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov byte [ebp - 4], 2
push 0x5b1040
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov byte [ebp - 4], 3
push 0x5b1044
lea ecx, [esi + 0x44]
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov byte [ebp - 4], 4
push 0x5b1048
lea ecx, [esi + 0x58]
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov byte [ebp - 4], 5
call fcn.004e3920
mov ebx, eax
call fcn.004e2f60
mov dword [esi + 4], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4d02b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ede43
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x6089a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp dword [esi + 0x100], 0
je 0x4d0329
lea ecx, [ebx + 0x90]
cmp eax, ecx
je 0x4d0319
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [ecx + 0x10]
lea esi, [ecx + 0x14]
lea edi, [eax + 0x14]
mov ecx, 0x100
mov dword [eax + 0x10], edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x10]
lea ecx, [ebx + 0x4a4]
call fcn.00401830
jmp 0x4d0394
mov ecx, dword [ebp + 0x10]
push ecx
push eax
lea edx, [esi + 0x110]
push edx
push ecx
call fcn.004b0f60
mov edi, dword [esi + 0x108]
add esp, 4
mov esi, eax
call fcn.004af910
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10c], 0
je 0x4d0394
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x18], 0
je 0x4d0394
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
mov esi, ecx
mov edi, dword [esi + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, ebx
call edx
test eax, eax
je 0x4d037e
mov eax, dword [esi]
jmp 0x4d038f
mov eax, dword [ebp - 0x14]
imul eax, edi
xor edx, edx
div dword [ebp - 0x18]
shr eax, 4
shl eax, 4
mov dword [esi], eax
mov dword [esi + 4], edi
mov eax, dword [ebx]
mov edx, dword [eax + 0x2c]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, ebx
call edx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push eax
lea ecx, [ebp + 0xc]
push ecx
push edx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.004cfb70
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebx]
mov edx, dword [edx + 0x38]
lea eax, [ebp + 0xc]
push eax
mov ecx, ebx
call edx
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4d0790
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0a04
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
mov eax, dword [0x6089a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [esi + 0xd4]
lea edx, [ebp - 0x10]
push edx
mov edx, dword [esi + 0xd0]
mov dword [ebp - 0x10], 0
mov eax, dword [ecx]
mov eax, dword [eax + 8]
push edx
call eax
test eax, eax
jne 0x4d0817
lea ecx, [ebp - 0x14]
push ecx
push 0x5d38a0
push 0x5ba7b4
push 4
push str.CQMCCompressionPage::OnFailedCompression
push 0xc7
push 0x5ba0c4
mov dword [ebp - 0x14], 0x5ba018
call fcn.00401650
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xf8]
test eax, eax
mov dword [esi + 0xec], 0
je 0x4d084f
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x20]
call eax
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x4d084f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0xf8], 0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
lea edx, [ebp - 0x18]
push edx
call eax
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x40]
push 5
call eax
mov edx, dword [0x62658c]
mov ecx, dword [esi + 0xd0]
push 0
push 0xffffffffffffffff
push 4
add edx, 0xa8
xor eax, eax
call fcn.004b8da0
push 0x5ba100
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi + 0xd0]
push 0
push ecx
mov ecx, dword [0x62658c]
push eax
add ecx, 0xa8
mov eax, 4
call fcn.004b8cc0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov edx, dword [esi + 0xe8]
xor eax, eax
mov dword [ebp - 0x34], eax
push ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov al, byte [esi + 0x100]
mov ebx, esp
mov dword [ebp - 0x38], 0x1f6
mov byte [ebp - 0x33], 2
mov dword [ebp - 0x2e], edx
mov byte [ebp - 0x32], al
mov dword [ebp - 0x18], esp
call fcn.004b3600
lea edx, [ebp - 0x38]
call fcn.004b6420
add esp, 4
call fcn.004b63d0
test eax, eax
je 0x4d094a
call fcn.004b71f0
test eax, eax
je 0x4d094a
push eax
call fcn.004b6f10
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d92a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0e6c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6089a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x115c], 0
je 0x4d9318
mov ebx, dword [ebp + 0x10]
lea eax, [edx + 0x500]
cmp ebx, eax
je 0x4d9308
mov ecx, dword [eax]
mov dword [ebx], ecx
mov ecx, dword [eax + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [ebx + 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebx + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebx + 0x10], ecx
lea esi, [eax + 0x14]
lea edi, [ebx + 0x14]
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x14]
lea ecx, [edx + 0xd34]
call fcn.00401830
jmp 0x4d9359
mov ecx, dword [0x626524]
call fcn.0049db30
mov ecx, dword [0x626528]
mov ebx, eax
call fcn.0049db30
cmp ebx, 0xffffffff
mov edi, eax
je 0x4d93fd
cmp edi, 0xffffffff
je 0x4d93fd
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push edx
push eax
call fcn.004b0f60
call fcn.004aec10
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x10]
push edx
push eax
call fcn.004d8560
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x400
lea edi, [ebx + 0x14]
push 0
push edi
call sub.MSVCR80.dll_memset
mov esi, dword [ebp - 0x10]
mov edx, dword [esi - 0xc]
add esp, 0xc
lea eax, [edx + edx + 2]
push eax
push esi
push edi
call sub.MSVCR80.dll_memcpy
mov edi, dword [ebp + 0x14]
add esp, 0xc
push 0x400
add edi, 0x20
push 0
push edi
call sub.MSVCR80.dll_memset
mov ecx, dword [esi - 0xc]
add esp, 0xc
lea edx, [ecx + ecx + 2]
push edx
push esi
push edi
call sub.MSVCR80.dll_memcpy
mov ecx, dword [ebp + 0xc]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push edi
push ebx
push str._ERR__Invalid_choice:_category_d__scheme_d._n
push 4
push str.CQMCTranscodingPage::MakeTrancodingParam
push 0x139
push 0x5c213c
mov edx, 0x5c38e0
call fcn.004021a0
add esp, 0x1c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10