joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b870
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x41642c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28c
push ebx
push ebp
push esi
push edi
xor ebx, ebx
lea eax, [esp + 0x30]
push ebx
push eax
call fcn.0040b660
add esp, 8
mov eax, dword [esp + 0x34]
mov ebp, 8
cmp dword [esp + 0x48], ebp
mov dword [esp + 0x2a4], ebx
jae 0x40b8b9
lea eax, [esp + 0x34]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push ebx
push 3
push ebx
push 1
push connect
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x40b98d
lea ecx, [esp + 0x14]
push 1
push ecx
call fcn.0040b660
mov eax, dword [esp + 0x3c]
add esp, 8
cmp dword [esp + 0x48], ebp
jae 0x40b8f6
lea eax, [esp + 0x34]
lea edx, [esp + 0x4c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x40b910
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x40b95f
lea eax, [esp + 0x14]
push eax
call fcn.0040b5f0
add esp, 4
test al, al
je 0x40b95f
cmp dword [esp + 0x48], ebp
mov ecx, dword [esp + 0x34]
jae 0x40b92f
lea ecx, [esp + 0x34]
cmp dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x18]
jae 0x40b93d
lea eax, [esp + 0x18]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x40b95f
cmp dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x18]
jae 0x40b958
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x18]
jae 0x40b96d
lea eax, [esp + 0x18]
push ebx
push ebx
push 3
push ebx
push 1
push connect
push eax
call edi
lea ecx, [esp + 0x14]
mov esi, 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__::destructor_void_]
cmp esi, 0xffffffff
je 0x40b9c5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0x10
jb 0x40b9be
mov edx, dword [esp + 0x2ac]
push ebx
lea ecx, [esp + 0x14]
push ecx
push edi
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40b9be
cmp dword [esp + 0x10], edi
jne 0x40b9be
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x30]
mov dword [esp + 0x2a4], 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_]
mov ecx, dword [esp + 0x29c]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x298
ret 4
Function at 0x40ba00
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x416449
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.0040b660
add esp, 8
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], ebx
jae 0x40ba3e
lea eax, [esp + 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x40ba98
lea ecx, [esp + 0xc]
push 1
push ecx
call fcn.0040b660
mov eax, dword [esp + 0x18]
add esp, 8
cmp dword [esp + 0x24], 8
jae 0x40ba78
lea eax, [esp + 0x10]
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push eax
call edi
lea ecx, [esp + 0xc]
mov esi, 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__::destructor_void_]
cmp esi, 0xffffffff
je 0x40bac0
mov eax, dword [esp + 0x54]
push ebx
lea edx, [esp + 0x58]
push edx
push 0x10
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40bab9
cmp dword [esp + 0x54], 0x10
jne 0x40bab9
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x28]
mov dword [esp + 0x4c], 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_]
mov ecx, dword [esp + 0x44]
pop edi
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 4
Function at 0x40c4e0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
ret

Function at 0x40c750
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4164fa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
xor ebx, ebx
push esi
mov dword [esp + 0xc], ebx
mov esi, dword [esp + 0x20]
push edi
mov ecx, esi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
cmp edi, ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], 1
jg 0x40c7d4
mov ebx, dword [esp + 0x28]
lea esp, [esp]
movzx eax, byte [ebx + edi*2 + 1]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_]
movzx ecx, word [ebx + edi*2]
and ecx, 0x800000ff
jns 0x40c7c2
dec ecx
or ecx, 0xffffff00
inc ecx
push ecx
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_]
add edi, 1
cmp edi, ebp
jle 0x40c7a0
xor ebx, ebx
cmp dword [esi + 0x14], ebx
je 0x40c819
mov ebp, 0x10
mov edi, edi
mov eax, dword [esi + 0x14]
lea edi, [eax - 1]
cmp edi, eax
jbe 0x40c7f0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esi + 0x18], ebp
jb 0x40c7fa
mov eax, dword [esi + 4]
jmp 0x40c7fd
lea eax, [esi + 4]
cmp byte [eax + edi], 0x20
jne 0x40c819
mov eax, dword [esi + 0x14]
push 1
add eax, 0xffffffff
push eax
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::erase_unsigned_int__unsigned_int_]
cmp dword [esi + 0x14], ebx
jne 0x40c7e0
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40da10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x118
push ebp
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
mov ebp, 1
push connect
mov edi, 3
mov dword [esp + 0x2c], 0x104
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 0
call esi
test eax, eax
jne 0x40db8c
mov ecx, dword [esp + 0x128]
push ecx
push str._sConnection
lea edx, [esp + 0x28]
push 0x103
push edx
call fcn.0040d9f0
mov edx, dword [esp + 0x2c]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
lea ecx, [esp + 0x2c]
push ecx
push edx
call esi
test eax, eax
jne 0x40db81
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esp + 0xc], eax
mov eax, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push str.MediaSubType
push eax
call esi
test eax, eax
jne 0x40db76
push 0x104
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0x103
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.PnpInstanceID
push edx
call esi
test eax, eax
jne 0x40db76
cmp dword [esp + 0xc], ebp
jne 0x40db66
mov esi, dword [sym.imp.MSVCR80.dll_strncmp]
push edi
lea eax, [esp + 0x24]
push 0x419298
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x40db44
xor edi, edi
jmp 0x40db76
cmp dword [esp + 0xc], ebp
jne 0x40db66
push 3
lea ecx, [esp + 0x24]
push 0x419298
push ecx
call esi
add esp, 0xc
test eax, eax
je 0x40db66
mov edi, 2
jmp 0x40db76
xor edx, edx
cmp dword [esp + 0xc], 2
setne dl
lea edx, [edx + edx + 1]
mov edi, edx
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x118
ret

Function at 0x40e482
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4211a0]
jne 0x40e48c
repz ret
jmp fcn.0040e8e6
Function at 0x40ed20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41679b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push edi
mov edi, dword [esp + 0x38]
push eax
mov dword [esp + 0xc], 0
call fcn.0040eb60
mov esi, eax
add esp, 4
test esi, esi
jne 0x40ed79
push 0x41b6d8
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
push esi
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push esi
mov dword [esp + 0x34], 1
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x30], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x28]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x40f500
Capabilities:
Check if file exists
Create directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x416f46
push eax
mov eax, 0x3208
mov dword fs:[0], esp
call fcn.0040e4c0
push ebp
mov ebp, dword [esp + 0x321c]
cmp dword [ebp + 8], 0
push esi
jne 0x40f559
push ebp
call fcn.0040ef80
test eax, eax
jl 0x40f53e
cmp dword [ebp + 8], 0
jne 0x40f559
push 0x10
push str.QQPlayer
push 0x41bb8c
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x40f6b8
lea esi, [esp + 0x14]
call fcn.00406340
mov ecx, dword [esp + 0x3224]
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0x31f4
lea eax, [esp + 0x24]
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
mov byte [esp + 0x319c], 0
call esi
push 0
push 0
push 0x31f4
lea edx, [esp + 0x1028]
push edx
push 0xffffffffffffffff
push edi
push 0
push 0
call esi
push edi
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push 0x5c
lea ecx, [esp + 0xc]
mov dword [esp + 0x321c], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_5524]
cmp eax, 0xffffffff
je 0x40f626
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_3990]
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x321c], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0xc]
mov byte [esp + 0x3218], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [esp + 8]
cmp dword [eax - 0xc], 0
jle 0x40f626
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40f626
mov ecx, dword [esp + 8]
push eax
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
push ecx
push eax
call edx
test eax, eax
jge 0x40f64d
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
jmp 0x40f6b8
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
test esi, esi
jge 0x40f6a7
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push esi
lea ecx, [esp + 0x10]
push str.StartTask
push ecx
mov byte [esp + 0x3224], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_2311]
mov edx, dword [esp + 0x18]
add esp, 0xc
push 0x10
push str.QQPlayer
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
test esi, esi
setge al
mov ecx, dword [esp + 0x3210]
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x3214
ret 8
Function at 0x40f950
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4167cc
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4211a0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
mov eax, dword [0x4211a0]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov bl, cl
mov eax, dword [edi + 0xf8]
add eax, 1
cmp eax, 0x29
jne 0x40fadc
lea eax, [edi + 0x12c]
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
push ecx
push eax
call fcn.00402b40
add esp, 8
test al, al
je 0x40fadc
lea ecx, [esp + 0x34]
lea esi, [esp + 0x20]
call fcn.00402e20
cmp dword [edi + 0xfc], 0x10
mov esi, 0x29
jb 0x40f9da
mov eax, dword [edi + 0xe8]
jmp 0x40f9e0
lea eax, [edi + 0xe8]
lea ecx, [esp + 0x34]
mov edx, dword [ecx]
cmp edx, dword [eax]
jne 0x40f9fc
sub esi, 4
add eax, 4
add ecx, 4
cmp esi, 4
jae 0x40f9e4
test esi, esi
je 0x40fa59
movzx edx, byte [ecx]
movzx ebp, byte [eax]
sub edx, ebp
jne 0x40fa4b
sub esi, 1
add eax, 1
add ecx, 1
test esi, esi
je 0x40fa59
movzx edx, byte [ecx]
movzx ebp, byte [eax]
sub edx, ebp
jne 0x40fa4b
sub esi, 1
add eax, 1
add ecx, 1
test esi, esi
je 0x40fa59
movzx edx, byte [ecx]
movzx ebp, byte [eax]
sub edx, ebp
jne 0x40fa4b
sub esi, 1
add eax, 1
add ecx, 1
test esi, esi
je 0x40fa59
movzx edx, byte [ecx]
movzx eax, byte [eax]
sub edx, eax
je 0x40fa59
test edx, edx
mov eax, 1
jg 0x40fa5b
or eax, 0xffffffff
jmp 0x40fa5b
xor eax, eax
test eax, eax
je 0x40fa68
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edx
jmp 0x40fae3
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
neg bl
mov dword [esp + 0x6c], 0
mov eax, dword [edi + 0x20]
push eax
lea ecx, [esp + 0x14]
sbb ebx, ebx
and ebx, 2
push ebx
push str.silence_dhandle_dsupply20015
push ecx
call dword [sym.imp.MFC80U.DLL_Ordinal_2311]
add esp, 0xc
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x78], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
mov byte [esp + 0x74], 0
call fcn.004130d0
add esp, 8
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov al, 1
jmp 0x40faeb
mov ecx, dword [edi + 0x12c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0040e482
add esp, 0x60
ret
Function at 0x410b50
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x416ccf
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4211a0]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4211a0]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0xf8]
add eax, 1
cmp eax, 0x29
jne 0x410ce0
mov eax, dword [edi + 0x12c]
lea ecx, [esp + 0x20]
lea ebx, [edi + 0x12c]
push ecx
push eax
call fcn.00402b40
add esp, 8
test al, al
je 0x410ce0
lea ecx, [esp + 0x34]
lea esi, [esp + 0x20]
call fcn.00402e20
cmp dword [edi + 0xfc], 0x10
mov esi, 0x29
jb 0x410bdb
mov eax, dword [edi + 0xe8]
jmp 0x410be1
lea eax, [edi + 0xe8]
lea ecx, [esp + 0x34]
mov edx, dword [ecx]
cmp edx, dword [eax]
jne 0x410bfd
sub esi, 4
add eax, 4
add ecx, 4
cmp esi, 4
jae 0x410be5
test esi, esi
je 0x410c5a
movzx ebp, byte [eax]
movzx edx, byte [ecx]
sub edx, ebp
jne 0x410c4c
sub esi, 1
add eax, 1
add ecx, 1
test esi, esi
je 0x410c5a
movzx ebp, byte [eax]
movzx edx, byte [ecx]
sub edx, ebp
jne 0x410c4c
sub esi, 1
add eax, 1
add ecx, 1
test esi, esi
je 0x410c5a
movzx ebp, byte [eax]
movzx edx, byte [ecx]
sub edx, ebp
jne 0x410c4c
sub esi, 1
add eax, 1
add ecx, 1
test esi, esi
je 0x410c5a
movzx eax, byte [eax]
movzx edx, byte [ecx]
sub edx, eax
je 0x410c5a
test edx, edx
mov eax, 1
jg 0x410c5c
or eax, 0xffffffff
jmp 0x410c5c
xor eax, eax
test eax, eax
je 0x410c67
mov ecx, dword [ebx]
jmp 0x410ce6
cmp byte [esp + 0x74], 0
jne 0x410caa
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x41ab50
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ebx
mov dword [esp + 0x78], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
mov dword [esp + 0x74], 0xffffffff
call fcn.004130d0
add esp, 8
mov al, 1
jmp 0x410cef
lea ecx, [edi + 0x100]
add edi, 0xa8
push edi
call fcn.00413780
add esp, 4
lea esi, [esp + 0x14]
call fcn.00413170
mov edx, dword [eax]
mov eax, dword [ebx]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov al, 1
jmp 0x410cef
mov ecx, dword [edi + 0x12c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.0040e482
add esp, 0x5c
ret 4
Function at 0x4115e0
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x416ff4
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4211a0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push 0x400
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
lea edi, [esi + 0x128]
push 0x2f
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_5524]
cmp eax, 0xffffffff
je 0x411733
add eax, 1
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_4100]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.004029c0
add esp, 8
lea ebp, [esi + 0x12c]
push eax
mov ecx, ebp
mov byte [esp + 0x2c], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x208], 0
jne 0x4116fe
push 0x18
call sub.MFC80U.DLL_Ordinal_762
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x28], 3
je 0x4116e2
push eax
call fcn.00414620
jmp 0x4116e4
xor eax, eax
mov byte [esp + 0x28], 0
mov dword [esi + 0x208], eax
mov dword [eax + 0xc], esi
mov edx, dword [esi + 0x208]
push edx
call fcn.0040ef80
mov edi, dword [edi]
mov esi, dword [esi + 0x208]
mov ebx, dword [ebp]
push edi
lea ecx, [esi + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
push edi
push esi
mov edi, ebx
call fcn.0040f500
cmp eax, 1
sete al
test al, al
mov byte [esi + 0x11], al
jne 0x411753
mov eax, dword [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret

Function at 0x413040
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x10c
mov eax, dword [0x4211a0]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xff
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x100
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x4130b0
lea edx, [esp]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4130b0
mov eax, dword [eax + 0xc]
cmp dword [eax], 0
je 0x4130b0
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0040e482
add esp, 0x10c
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.0040e482
add esp, 0x10c
ret
Function at 0x4130d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x416652
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x4211a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
push 0x5c
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_5524]
push eax
push 0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80U.DLL_Ordinal_4101]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push 0xa
push ecx
push edx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
lea ecx, [esp + 8]
seta bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov al, bl
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x10
ret

Function at 0x413170
Capabilities:
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x416690
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4211a0]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [0x4211a0]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
push 0x1a
push 0
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea eax, [esp + 0x10]
push eax
push str._sTencentQQPlayerQPUpdate_
mov dword [esp + 0x22c], 0
push esi
mov dword [esp + 0x10], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_2311]
mov eax, dword [esi]
add esp, 0xc
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x41ae58
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
mov eax, esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0040e482
add esp, 0x224
ret