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

Disassembly:
push 0xffffffffffffffff
push 0x4a49a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4c76b8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.004046d0
mov dword [esi], vtable.boost::gregorian::bad_year.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x42707a
add edi, 0x28
jmp 0x42707c
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x427094
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x4270d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a49a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4c76b8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.004046d0
mov dword [esi], vtable.boost::gregorian::bad_month.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x42711a
add edi, 0x28
jmp 0x42711c
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x427134
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_month_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_month_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x42a0e0
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
push 0
push 0
push 1
push 0
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, dword [esp + 0x20]
mov ebx, eax
test ebx, ebx
mov dword [esi + 4], ebx
jne 0x42a13e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov dword [esp + 0x14], edi
call fcn.004a06c0
neg edi
sbb edi, edi
test edi, fcn.004a0680
mov dword [esp + 0x18], eax
je 0x42a13e
push str.thread.entry_event
lea eax, [esp + 0x18]
push eax
call fcn.00413710
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp + 8], eax
mov dword [esi + 8], eax
cmp dword [ebp + 8], 0
jne 0x42a192
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov dword [esp + 0x14], edi
call fcn.004a06c0
neg edi
sbb edi, edi
test edi, fcn.004a0680
mov dword [esp + 0x18], eax
je 0x42a192
push str.thread.exit_event
lea ecx, [esp + 0x18]
push ecx
call fcn.00413710
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x10]
push edx
push 0
push esi
push 0x420dc0
push eax
push 0
mov dword [esp + 0x28], 0
call fcn.00473a74
add esp, 0x18
test eax, eax
mov dword [ebp + 4], eax
jne 0x42a210
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
test ebx, ebx
je 0x42a1da
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [ebp + 8]
test ebp, ebp
je 0x42a1e8
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], edi
call fcn.004a06c0
neg edi
sbb edi, edi
test edi, fcn.004a0680
mov dword [esp + 0x18], eax
je 0x42a210
push str.thread
lea ecx, [esp + 0x18]
push ecx
call fcn.00413710
test ebx, ebx
je 0x42a224
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x42c6e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4a5181
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4c76b8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esi], eax
mov al, byte [esp + 0x38]
mov dword [esi + 8], edx
lea edx, [esp + 0x3c]
mov dword [esi + 4], ecx
mov edi, 1
lea ecx, [esi + 0x10]
push edx
mov dword [esp + 0x24], edi
mov byte [esi + 0xc], al
call fcn.0042b670
mov eax, dword [esp + 0x40]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x14], edi
push edx
mov edi, ecx
push edi
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x34], 0
call fcn.00427e50
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00471a59
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x42fd50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x22c
mov eax, dword [0x4c76b8]
xor eax, esp
mov dword [esp + 0x228], eax
mov ecx, dword [esp + 0x234]
mov edx, dword [esp + 0x238]
mov eax, dword [esp + 0x230]
push esi
mov esi, dword [esp + 0x244]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x240]
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
jl 0x42fdd4
mov eax, dword [esp + 8]
push eax
push str.CLSID_sLocalServer32
lea ecx, [esp + 0x2c]
push 0x103
push ecx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov edx, dword [esp + 0x18]
add esp, 0x10
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x28]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x42fe26
mov ecx, dword [esp + 4]
lea edx, [esp + 0xc]
push edx
push esi
lea eax, [esp + 0x18]
push eax
push 0
push 0
push ecx
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x42fe3e
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop esi
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00471a20
add esp, 0x22c
ret
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
pop esi
xor ecx, esp
mov al, 1
call fcn.00471a20
add esp, 0x22c
ret
Function at 0x42fe70
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xfffffffffffffffe
push 0x4bd138
push 0x4729c0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4c76b8]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor ebx, ebx
mov word [ebp], bx
push 0x206
push ebx
lea eax, [ebp + 2]
push eax
call fcn.00471f70
add esp, 0xc
push 0x104
lea ecx, [ebp]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
push ebx
push str.Tencentdl.exe
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
je 0x42ff63
push edi
call fcn.00472010
add esp, 4
mov esi, eax
mov dword [ebp - 0x28], esi
cmp esi, ebx
je 0x42ff63
push edi
push ebx
push esi
call fcn.00471f70
add esp, 0xc
push esi
push edi
push ebx
push str.Tencentdl.exe
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42ff63
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x2c]
push eax
push 0x4af774
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42ff63
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x42ff63
mov cx, word [eax + 0xa]
mov word [ebp - 0x20], cx
movzx edx, word [eax + 8]
mov dword [ebp - 0x1c], edx
movzx eax, word [eax + 0xe]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.0042ffd9
push 0xffffffffffffffff
push ebx
push 0x804
push 1
push 1
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
push 0x4b09a8
lea ecx, [ebp]
push ecx
push 0x4b0ab4
push str.Tencentdl
call fcn.0048e82d
push 0x4b09a8
push ebx
push 0x1e
call fcn.0048e378
add esp, 0x3c
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00471a20
add ebp, 0x20c
mov esp, ebp
pop ebp
ret
Function at 0x4316c0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
mov dword [esi + 0x30], eax
jne 0x4316dc
pop esi
pop ecx
ret
push edi
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x430c90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x431704
mov ecx, dword [esi + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x432960
Capabilities:
Accept command line arguments

Disassembly:
push ecx
cmp byte [0x4c9ac0], 0
push esi
mov esi, ecx
je 0x432975
or eax, 0xffffffff
pop esi
pop ecx
ret 4
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 4]
push ecx
push eax
mov ecx, esi
call fcn.00431db0
cmp al, 1
jne 0x4329a5
mov edx, dword [esp + 0xc]
push edx
mov ecx, esi
call fcn.00431c60
pop esi
pop ecx
ret 4
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 4
Function at 0x437d70
Capabilities:
Get file version info

Disassembly:
sub esp, 0x34
push ebx
push esi
push edi
mov esi, ecx
push 0
lea ebx, [esi + 0x30]
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x437d92
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x34
ret
push edi
call fcn.00472010
push edi
push 0
push eax
mov dword [esi + 8], eax
call fcn.00471f70
mov eax, dword [esi + 8]
add esp, 0x10
push eax
push edi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x437d89
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00437a50
test eax, eax
je 0x437d89
mov eax, dword [esp + 0x14]
mov edx, eax
mov word [esi + 0xe], ax
mov eax, dword [esp + 0x18]
shr edx, 0x10
mov ecx, eax
mov word [esi + 0x12], ax
mov eax, dword [esp + 0x1c]
shr ecx, 0x10
mov word [esi + 0xc], dx
mov edx, eax
mov word [esi + 0x10], cx
mov word [esi + 0x16], ax
mov eax, dword [esp + 0x20]
mov ecx, eax
shr ecx, 0x10
mov word [esi + 0x18], cx
mov ecx, dword [esp + 0x2c]
shr edx, 0x10
mov word [esi + 0x14], dx
mov edx, dword [esp + 0x24]
mov word [esi + 0x1a], ax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x24], ecx
push 0x104
lea ecx, [esi + 0x238]
push ecx
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x3c]
push str.CompanyName
mov ecx, esi
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
call fcn.00437b90
test eax, eax
je 0x437d89
push 0x104
lea edx, [esi + 0x648]
push edx
push str.FileDescription
mov ecx, esi
call fcn.00437b90
test eax, eax
je 0x437d89
push 0x104
lea eax, [esi + 0x440]
push eax
push str.ProductName
mov ecx, esi
call fcn.00437b90
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
add esp, 0x34
ret
Function at 0x43a9b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a65a8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4c76b8]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push esi
mov eax, dword [0x4c76b8]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0xc]
call fcn.004520b0
xor ebx, ebx
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebx
call fcn.004529b0
test al, al
jne 0x43aa3c
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x43aa34
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esi], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov bl, 1
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x43aa3e
mov bl, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004520c0
mov al, bl
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00471a20
add esp, 0x24
ret
Function at 0x43b4b0
Capabilities:
Get token membership

Disassembly:
sub esp, 0x14
mov eax, dword [0x4c76b8]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
xor ebx, ebx
lea eax, [esp + 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
cmp eax, ebx
mov dword [esp + 4], eax
je 0x43b52b
mov eax, dword [esp + 8]
lea edx, [esp + 4]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x43b51a
mov dword [esp + 4], ebx
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 4]
cmp eax, ebx
mov ecx, dword [esp + 0x14]
setne al
pop ebx
xor ecx, esp
call fcn.00471a20
add esp, 0x14
ret
Function at 0x43c2c0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4a6743
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4c76b8]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c76b8]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov esi, dword [esp + 0x270]
mov ebp, dword [esp + 0x274]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [esp + 0x50], esi
mov word [esi + 4], bx
push 0x208
lea eax, [esp + 0x58]
push ebx
mov edi, 1
push eax
mov dword [esp + 0x274], ebx
mov dword [esp + 0x20], edi
call fcn.00471f70
add esp, 0xc
push edi
push 0x2b
lea ecx, [esp + 0x5c]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43c467
lea eax, [esp + 0x54]
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43c373
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x3c]
call fcn.00409b30
push str.TencentQQDownload
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x274], edi
call fcn.0040a220
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [esp + 0x274], 2
call fcn.00409930
mov edi, 8
cmp dword [esp + 0x30], edi
jb 0x43c3da
mov edx, dword [esp + 0x1c]
push edx
call fcn.00471a59
add esp, 4
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
mov byte [esp + 0x268], bl
jb 0x43c405
mov eax, dword [esp + 0x38]
push eax
call fcn.00471a59
add esp, 4
cmp dword [ebp + 0x14], ebx
je 0x43c44d
push ebp
lea ecx, [esp + 0x1c]
push 0x4af774
push ecx
call fcn.004321d0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x274], 3
call fcn.00409930
cmp dword [esp + 0x30], edi
mov byte [esp + 0x268], bl
jb 0x43c44d
mov edx, dword [esp + 0x1c]
push edx
call fcn.00471a59
add esp, 4
push esi
call fcn.0043bca0
add esp, 4
test al, al
jne 0x43c474
push esi
call fcn.0043be00
add esp, 4
cmp al, bl
jne 0x43c474
push ebx
push 0x4b09a8
mov ecx, esi
call fcn.00409b30
mov eax, esi
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.00471a20
add esp, 0x258
ret
Function at 0x43c4a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4a67a1
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x4c76b8]
xor eax, esp
mov dword [esp + 0x46c], eax
push ebx
push esi
mov eax, dword [0x4c76b8]
xor eax, esp
push eax
lea eax, [esp + 0x47c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x48c]
xor ebx, ebx
test byte [0x4c9d18], 1
mov dword [esp + 0xc], ebx
jne 0x43c51a
or dword [0x4c9d18], 1
push 0x4ad380
mov dword [0x4c9d14], 7
mov dword [0x4c9d10], ebx
mov word [0x4c9d00], bx
call fcn.004727c8
add esp, 4
cmp dword [0x4c9d10], ebx
jne 0x43c69c
push 0x208
lea eax, [esp + 0x274]
push ebx
push eax
call fcn.00471f70
add esp, 0xc
push 1
push 0x1a
lea ecx, [esp + 0x278]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43c606
lea edx, [esp + 0x270]
push edx
lea ecx, [esp + 0x4c]
call fcn.0040a1e0
push str.TencentTencentdl
push eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x490], ebx
call fcn.0040a220
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x4c9cfc
mov byte [esp + 0x490], 1
call fcn.00409930
cmp dword [esp + 0x44], 8
jb 0x43c5ac
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00471a59
add esp, 4
cmp dword [esp + 0x60], 8
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
mov dword [esp + 0x484], 0xffffffff
jb 0x43c5dc
mov edx, dword [esp + 0x4c]
push edx
call fcn.00471a59
add esp, 4
push 0x4c9cfc
call fcn.0043bca0
add esp, 4
test al, al
jne 0x43c69c
push 0x4c9cfc
call fcn.0043be00
add esp, 4
cmp al, bl
jne 0x43c69c
push 0x208
lea eax, [esp + 0x6a]
push ebx
push eax
mov word [esp + 0x70], bx
call fcn.00471f70
add esp, 0xc
push 0x20a
lea ecx, [esp + 0x68]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x64]
push 0x5c
push edx
call fcn.00474482
add esp, 8
cmp eax, ebx
je 0x43c645
mov word [eax], bx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x14]
call fcn.0040a1e0
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x4c9cfc
mov dword [esp + 0x490], 2
call fcn.00409a40
cmp dword [esp + 0x28], 8
mov dword [esp + 0x484], 0xffffffff
jb 0x43c68b
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00471a59
add esp, 4
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], bx
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 0x4c9cfc
mov ecx, esi
mov word [esi + 4], bx
call fcn.00409a40
mov eax, esi
mov ecx, dword [esp + 0x47c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x46c]
xor ecx, esp
call fcn.00471a20
add esp, 0x47c
ret
Function at 0x43c6f0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4a681b
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x4c76b8]
xor eax, esp
mov dword [esp + 0x454], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c76b8]
xor eax, esp
push eax
lea eax, [esp + 0x46c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x47c]
xor ebx, ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov ebp, 7
mov edi, 1
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
mov dword [esp + 0x474], edi
mov word [esi + 4], bx
push 0x208
lea eax, [esp + 0x264]
push ebx
push eax
mov dword [esp + 0x3c], edi
call fcn.00471f70
mov cl, byte [esp + 0x4ac]
add esp, 0xc
neg cl
push edi
lea edx, [esp + 0x264]
sbb ecx, ecx
and ecx, 0xfffffff7
add ecx, 0x23
push ecx
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
lea edi, [ebx + 8]
je 0x43c868
lea eax, [esp + 0x260]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43c7b5
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x264]
push eax
lea ecx, [esp + 0x1c]
call fcn.00409b30
lea ecx, [esp + 0x484]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x480], 2
call fcn.004148b0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [esp + 0x480], 3
call fcn.00409930
cmp dword [esp + 0x50], edi
jb 0x43c81e
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00471a59
add esp, 4
cmp dword [esp + 0x2c], edi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
mov byte [esp + 0x474], 1
jb 0x43c846
mov edx, dword [esp + 0x18]
push edx
call fcn.00471a59
add esp, 4
push esi
call fcn.0043bca0
add esp, 4
test al, al
jne 0x43c908
push esi
call fcn.0043be00
add esp, 4
cmp al, bl
jne 0x43c908
push 0x208
lea eax, [esp + 0x5a]
push ebx
push eax
mov word [esp + 0x60], bx
call fcn.00471f70
add esp, 0xc
push 0x20a
lea ecx, [esp + 0x58]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x54]
push 0x5c
push edx
call fcn.00474482
add esp, 8
cmp eax, ebx
je 0x43c8a7
mov word [eax], bx
lea eax, [esp + 0x54]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
lea edx, [eax + 2]
jmp 0x43c8c0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43c8c0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x1c]
call fcn.00409b30
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov byte [esp + 0x480], 4
call fcn.00409a40
cmp dword [esp + 0x2c], edi
jb 0x43c908
mov edx, dword [esp + 0x18]
push edx
call fcn.00471a59
add esp, 4
cmp dword [esp + 0x49c], edi
jb 0x43c921
mov eax, dword [esp + 0x488]
push eax
call fcn.00471a59
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x46c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x454]
xor ecx, esp
call fcn.00471a20
add esp, 0x464
ret