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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x433ed3
push eax
mov dword fs:[0], esp
push ebx
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 4]
mov dword [esp + 0x10], 0
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x30]
push ecx
sub esp, 0x1c
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
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__]
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
lea ecx, [esp + 0x14]
mov bl, al
mov dword [esp + 0xc], 0xffffffff
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 + 4]
mov al, bl
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x20

Function at 0x41dc60
Capabilities:
Hash data using sha1
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x106c
call fcn.00417f10
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x443310
push eax
lea ecx, [esp + 0x1c]
xor ebx, ebx
push ecx
mov byte [esp + 0x1f], 1
mov dword [esp + 0x20], ebx
call dword [sym.imp.MSVCR80.dll__wfopen_s]
add esp, 0xc
test eax, eax
je 0x41dca2
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x14]
push edx
mov dword [esp + 0x1c], 0x67452301
mov dword [esp + 0x20], 0xefcdab89
mov dword [esp + 0x24], 0x98badcfe
mov dword [esp + 0x28], 0x10325476
mov dword [esp + 0x2c], 0xc3d2e1f0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x78], ebx
call dword [sym.imp.MSVCR80.dll_feof]
mov edi, dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
test eax, eax
jne 0x41dd59
mov esi, dword [sym.imp.MSVCR80.dll_fread]
mov eax, dword [esp + 0x14]
push eax
push 0x1000
lea ecx, [esp + 0x80]
push 1
push ecx
call esi
add esp, 0x10
cmp eax, ebx
jg 0x41dd30
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.MSVCR80.dll_feof]
add esp, 4
test eax, eax
jne 0x41dd53
mov eax, dword [esp + 0x14]
push eax
call edi
mov byte [esp + 0x17], bl
jmp 0x41dd3e
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040a560
mov edx, dword [esp + 0x18]
add esp, 4
push edx
call dword [sym.imp.MSVCR80.dll_feof]
add esp, 4
test eax, eax
je 0x41dcf4
cmp byte [esp + 0x13], bl
je 0x41dd65
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x18]
call fcn.0040a630
mov eax, dword [esp + 0x14]
push eax
call edi
mov al, byte [esp + 0x17]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e120
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x434554
push eax
mov dword fs:[0], esp
sub esp, 0x32c
push ebp
mov ebp, dword [esp + 0x340]
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x14], edi
jne 0x41e155
xor al, al
jmp 0x41e28f
push esi
mov ecx, ebp
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x442838
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov dword [esp + 0x340], edi
cmp dword [esi + 0x18], 0x10
jb 0x41e17f
mov esi, dword [esi + 4]
jmp 0x41e182
add esi, 4
push esi
mov esi, dword [sym.imp.MFC80U.DLL_Ordinal_2311]
lea eax, [esp + 0x14]
push 0x444c54
push eax
call esi
add esp, 0xc
push edi
push 0x25
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_2260]
cmp eax, 0xffffffff
je 0x41e283
push 0x442838
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push 0x1fe
lea ecx, [esp + 0x13e]
push edi
mov byte [esp + 0x348], 1
push ecx
mov word [esp + 0x144], di
call fcn.00417e46
mov eax, dword [esp + 0x1c]
add esp, 0xc
push 0xff
lea edx, [esp + 0x13c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [esp + 0x138]
push ecx
lea edx, [esp + 0x10]
push 0x442550
push edx
call esi
add esp, 0xc
push edi
push 0x25
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_2260]
cmp eax, 0xffffffff
je 0x41e22e
lea eax, [esp + 0xc]
push eax
call fcn.0041ddd0
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
lea edi, [esp + 0x38]
call fcn.0041cee0
mov eax, edi
push eax
lea ecx, [esp + 0x1c]
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 eax
mov ecx, ebp
mov byte [esp + 0x344], 2
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x18]
mov byte [esp + 0x340], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov al, 1
mov ecx, dword [esp + 0x338]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x338
ret 4
Function at 0x41e3b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43459b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0xc], esp
xor edi, edi
push eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
push esi
call fcn.0041d440
mov dword [esi], vtable.QDEventLib::CQDVersionEx.0
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov ecx, esi
mov byte [esp + 0x14], 5
call fcn.0041e2e0
mov ecx, dword [esp + 0x24]
push ecx
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
call fcn.0041dba0
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0xc

Function at 0x41e460
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4345b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0xc], esp
xor edi, edi
push eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
push esi
call fcn.0041d440
mov ecx, dword [esp + 0x24]
push ecx
push ecx
mov byte [esp + 0x1c], 1
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov dword [esi], vtable.QDEventLib::CQDVersionNormal.0
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
call fcn.0041dba0
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0xc
Function at 0x41e940
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [str.www.tencent.com.]
mov edx, dword [0x442b20]
mov ecx, dword [0x442b1c]
push ebx
mov ebx, dword [sym.imp.MSVCR80.dll__wfopen_s]
push ebp
push esi
push edi
mov dword [esp + 0x24], eax
mov eax, dword [0x442b24]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x40]
push 0x443310
mov dword [esp + 0x34], eax
xor edi, edi
mov dword [esp + 0x2c], ecx
mov cl, byte [0x442b28]
push edx
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x1f], 0
mov byte [esp + 0x40], cl
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
xor ebp, ebp
call ebx
add esp, 0xc
test eax, eax
jne 0x41ea5f
mov ecx, dword [esp + 0x14]
push 2
push edi
push ecx
call dword [sym.imp.MSVCR80.dll_fseek]
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.MSVCR80.dll_ftell]
push ebp
mov esi, eax
mov eax, dword [esp + 0x28]
push ebp
push eax
call dword [sym.imp.MSVCR80.dll_fseek]
lea ecx, [esi - 0x10]
add esp, 0x1c
cmp ecx, 0xffff0
ja 0x41ea5f
push esi
call sub.MFC80U.DLL_Ordinal_265
mov edx, dword [esp + 0x18]
push edx
push esi
mov ebp, eax
push 1
push ebp
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x14
cmp esi, eax
jne 0x41ea5f
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.MSVCR80.dll_fclose]
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], edi
push ebp
push ecx
lea eax, [esp + 0x28]
lea edi, [esp + 0x2c]
call fcn.0041e530
push ebp
call sub.MFC80U.DLL_Ordinal_266
mov edx, dword [esp + 0x4c]
push 0x444c40
push edx
lea eax, [esp + 0x30]
push eax
xor ebp, ebp
call ebx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
push ecx
push edx
push 1
push edi
call dword [sym.imp.MSVCR80.dll_fwrite]
add esp, 0x2c
mov bl, 1
jmp 0x41ea63
mov bl, byte [esp + 0x13]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41ea75
push eax
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41ea87
push eax
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
test ebp, ebp
je 0x41ea94
push ebp
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
test edi, edi
je 0x41eaa1
push edi
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x28
ret
Function at 0x41eac0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x435078
push eax
mov dword fs:[0], esp
sub esp, 0x20
cmp dword [edi + 0x14], 0
push ebx
push esi
mov esi, ecx
jne 0x41eaf7
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0x2c
ret 4
mov eax, dword [esi + 4]
test eax, eax
je 0x41eb1d
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x41eb1d
call fcn.0040cc30
mov ecx, dword [esp + 0x38]
push ecx
push 1
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_unsigned_int__char_]
lea edx, [esp + 0xc]
push edx
push edi
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.0041e760
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x30], 0xffffffff
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]
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 4
Function at 0x41eb70
Capabilities:
Check if file exists

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4350a5
push eax
mov dword fs:[0], esp
sub esp, 0x164
push esi
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x41ecc4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41ecc4
lea ecx, [esp + 8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [esp + 0x24]
mov dword [esp + 0x170], 0
mov esi, dword [esi]
push eax
push esi
call fcn.0041dc60
add esp, 8
test al, al
je 0x41ecaf
lea ecx, [esp + 0x38]
lea esi, [esp + 0x24]
call fcn.0041dd80
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0xc]
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_const__]
lea ecx, [esp + 4]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov byte [esp + 0x170], 1
cmp dword [esp + 0x20], 0x10
mov esi, dword [esp + 0xc]
jae 0x41ec14
lea esi, [esp + 0xc]
lea edx, [esp + 0x68]
mov dword [esp + 0x64], edx
call dword [0x4511a8]
push eax
push esi
lea eax, [esp + 0x6c]
push eax
call fcn.0040c890
mov byte [esp + 0x170], 2
mov ecx, dword [esp + 0x64]
push ecx
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x68]
cmp eax, edx
je 0x41ec5b
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov eax, dword [esp + 0x178]
mov eax, dword [eax]
push eax
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_1476]
mov esi, eax
neg esi
sbb esi, esi
lea ecx, [esp + 4]
add esi, 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 8]
mov dword [esp + 0x170], 0xffffffff
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 eax, esi
pop esi
mov ecx, dword [esp + 0x164]
mov dword fs:[0], ecx
add esp, 0x170
ret
lea ecx, [esp + 8]
mov dword [esp + 0x170], 0xffffffff
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 + 0x168]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x170
ret
Function at 0x4225e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4511a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.00417e46
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call esi
test eax, eax
jne 0x42263e
lea edx, [ebp - 0x120]
push edx
mov dword [ebp - 0x120], 0x114
call esi
test eax, eax
je 0x422664
cmp dword [ebp - 0x11c], 6
jne 0x422664
cmp dword [ebp - 0x118], 0
jbe 0x422664
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00417d0e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00417d0e
mov esp, ebp
pop ebp
ret

Function at 0x422680
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4511a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x24]
push eax
xor ebx, ebx
push ebx
mov ecx, 8
mov esi, 0x43cf94
lea edi, [ebp - 0x24]
push ebx
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x4226cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4226c8
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00417d0e
mov esp, ebp
pop ebp
ret
Function at 0x4256c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x433f37
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x4511a0]
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 0x43d2bc
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 0x425760
Capabilities:
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x433f75
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4511a0]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [0x4511a0]
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 str.QPUp.exe
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.00417d0e
add esp, 0x224
ret
Function at 0x425830
Capabilities:
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x433fc2
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4511a0]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [0x4511a0]
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 0x43d214
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 str.QPUpdate.xml
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.00417d0e
add esp, 0x224
ret

Function at 0x425c20
Capabilities:
Delete file

Disassembly:
push ecx
push esi
push edi
push eax
push ecx
call fcn.00425a60
add esp, 8
test al, al
lea esi, [esp + 8]
jne 0x425c69
call fcn.00425760
mov edx, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edx
call edi
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea esi, [esp + 8]
call fcn.00425830
mov eax, dword [eax]
push eax
call edi
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor al, al
pop edi
pop esi
pop ecx
ret
call fcn.00425760
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
lea ecx, [esp + 8]
mov esi, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp esi, 0xffffffff
jne 0x425cba
lea esi, [esp + 8]
call fcn.00425830
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor al, al
pop edi
pop esi
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov al, 1
pop esi
pop ecx
ret

Function at 0x426000
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0x20006
push 0
push 0x43d1b0
push connect
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x426059
mov ecx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push eax
push str.LastUpdateTime
push esi
mov dword [esp + 0x20], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x426058
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 8
ret
Function at 0x426060
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push eax
push 0x20019
xor esi, esi
push esi
push 0x43d148
push connect
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x4260de
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push 0x43d18c
mov edi, 4
push esi
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4260cd
cmp dword [esp + 0x18], edi
je 0x4260d5
mov dword [esp + 0xc], 0
test esi, esi
je 0x4260de
push esi
call ebp
xor esi, esi
test esi, esi
mov edi, dword [esp + 0xc]
je 0x4260e9
push esi
call ebp
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x10
ret

Function at 0x426100
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [esp + 0x10]
push eax
push 0x20019
xor esi, esi
push esi
push 0x43d100
push connect
mov dword [esp + 0x20], 0x93a80
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x42617e
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push str.UpdatePeriod
mov edi, 4
push esi
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42616d
cmp dword [esp + 0x18], edi
je 0x426175
mov dword [esp + 0xc], 0x93a80
test esi, esi
je 0x42617e
push esi
call ebx
xor esi, esi
test esi, esi
mov edi, dword [esp + 0xc]
je 0x426189
push esi
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x10
ret