joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421f10
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push esi
push 0xffffffffffffffff
push 0
mov esi, ecx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
lea edx, [esp + 0xc]
push edx
push 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x4eadc8
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
push 0
je 0x421f61
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
add esp, 8
ret
mov edx, dword [esi + 4]
push edx
push 0x4122b0
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov eax, dword [esi + 4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
add esp, 8
ret

Function at 0x422eb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x4bd078
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e880c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
push edi
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x422f05
mov ecx, esi
call fcn.004221f0
xor esi, esi
call fcn.004b8f10
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 4], eax
mov dword [ecx], esi
xor eax, eax
jmp 0x422f69
mov ecx, dword [0x4ead88]
push ecx
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea edx, [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [0x4ead88]
push edx
push eax
call ebp
mov ebx, dword [esp + 0x2c]
push ebx
push 1
mov ecx, esi
mov dword [esp + 0x2c], edi
call fcn.00422710
test eax, eax
je 0x422f59
cmp edi, 0xffffffff
je 0x422f4b
add edi, 1
push ebx
push 1
mov ecx, esi
call fcn.00422710
test eax, eax
jne 0x422f43
mov ecx, dword [esp + 0x18]
mov edx, dword [0x4ead88]
push ecx
push edx
call ebp
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x4bd1b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e880c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x1c]
sub esp, 0x28
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
xor edx, edx
mov dword [eax + 8], ecx
mov dword [esp + 0x30], esp
lea ecx, [eax + 0xc]
push 0xffffffffffffffff
mov dword [ecx + 0x14], edx
mov dword [ecx + 0x18], 0xf
push edx
mov dword [esp + 0x44], edx
mov byte [ecx + 4], dl
lea edx, [esp + 0x58]
push edx
call fcn.0040206e
mov ecx, dword [esi + 8]
call fcn.00422dd0
cmp dword [esp + 0x40], 0x10
jb 0x423560
mov eax, dword [esp + 0x2c]
push eax
call fcn.0048c049
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x28
Function at 0x429e00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd438
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4e880c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.00407b30
test edi, edi
mov dword [ebp - 4], 0
je 0x429e43
add edi, 0x28
jmp 0x429e45
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 0x429e5d
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_class_std::runtime_error_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_std::runtime_error_.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x42e560
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bda18
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4e880c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.00403469
mov dword [esi], vtable.boost::gregorian::bad_day_of_month.0
test edi, edi
mov dword [ebp - 4], 0
je 0x42e5a9
add edi, 0x28
jmp 0x42e5ab
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 0x42e5c3
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_day_of_month_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_day_of_month_.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42e600
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bda18
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4e880c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.00403469
mov dword [esi], vtable.boost::gregorian::bad_year.0
test edi, edi
mov dword [ebp - 4], 0
je 0x42e649
add edi, 0x28
jmp 0x42e64b
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 0x42e663
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 [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x42e6a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bda18
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4e880c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.00403469
mov dword [esi], vtable.boost::gregorian::bad_month.0
test edi, edi
mov dword [ebp - 4], 0
je 0x42e6e9
add edi, 0x28
jmp 0x42e6eb
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 0x42e703
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 [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4327a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0
push 0
push 1
mov edi, ecx
push 0
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, dword [ebp + 8]
mov ebx, eax
test ebx, ebx
mov dword [esi + 4], ebx
jne 0x432802
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 [ebp - 0x10], edi
call fcn.004b8f10
neg edi
sbb edi, edi
test edi, fcn.004111b0
mov dword [ebp - 0xc], eax
je 0x4327ff
push str.thread.entry_event
lea eax, [ebp - 0x10]
push eax
call fcn.00418960
mov edi, dword [ebp - 4]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 8], eax
mov dword [esi + 8], eax
cmp dword [edi + 8], 0
jne 0x432856
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 [ebp - 0x10], edi
call fcn.004b8f10
neg edi
sbb edi, edi
test edi, fcn.004111b0
mov dword [ebp - 0xc], eax
je 0x432853
push str.thread.exit_event
lea ecx, [ebp - 0x10]
push ecx
call fcn.00418960
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 8]
push edx
push 0
push esi
push 0x4261c0
push eax
push 0
mov dword [ebp - 8], 0
call fcn.0048ca0b
add esp, 0x18
test eax, eax
mov dword [edi + 4], eax
jne 0x4328d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
mov dword [ebp + 8], eax
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
test ebx, ebx
je 0x43289c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi + 8]
test edi, edi
je 0x4328aa
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], esi
call fcn.004b8f10
neg esi
sbb esi, esi
test esi, fcn.004111b0
mov dword [ebp - 0xc], eax
je 0x4328d2
push str.thread
lea ecx, [ebp - 0x10]
push ecx
call fcn.00418960
test ebx, ebx
je 0x4328e6
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 ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x439400
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x43942e
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x43942e
xor edx, edx
cmp byte [ebp + 0x10], dl
sete dl
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x439440
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x4e880c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x218], ecx
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x21c]
push edx
mov dword [ebp - 0x210], eax
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
jl 0x4394c1
mov eax, dword [ebp - 0x224]
push eax
push str.CLSID_sLocalServer32
lea ecx, [ebp - 0x20c]
push 0x103
push ecx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov edx, dword [ebp - 0x224]
add esp, 0x10
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x439523
mov ecx, dword [ebp - 0x220]
lea edx, [ebp - 0x228]
push edx
push esi
lea eax, [ebp - 0x22c]
push eax
push 0
push 0
push ecx
mov dword [ebp - 0x22c], 1
mov dword [ebp - 0x228], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x439534
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048c010
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.0048c010
mov esp, ebp
pop ebp
ret
Function at 0x439560
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4dba68
push 0x48d2e0
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4e880c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor ebx, ebx
mov word [ebp - 0x224], bx
push 0x206
push ebx
lea eax, [ebp - 0x222]
push eax
call fcn.0048c300
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x224]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 4], ebx
push ebx
push 0x4cd1dc
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
je 0x43967c
push edi
call fcn.0048c6bd
add esp, 4
mov esi, eax
mov dword [ebp - 0x230], esi
test esi, esi
je 0x43967c
push edi
push ebx
push esi
call fcn.0048c300
add esp, 0xc
push esi
push edi
push ebx
push 0x4cd1dc
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x43967c
xor eax, eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
lea edx, [ebp - 0x23c]
push edx
lea eax, [ebp - 0x238]
push eax
push 0x4caa50
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43967c
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x43967c
mov cx, word [eax + 0xa]
mov word [ebp - 0x22c], cx
movzx edx, word [eax + 8]
mov dword [ebp - 0x228], edx
movzx ebx, word [eax + 0xe]
mov dword [ebp - 0x234], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.00439714
push 0xffffffffffffffff
push 0
push 0x804
push 1
push 1
push ebx
mov esi, dword [ebp - 0x228]
push esi
mov edi, dword [ebp - 0x22c]
push edi
push 0x4d39d0
lea eax, [ebp - 0x224]
push eax
push 0x4cd1c8
push 0x4cb0a8
call fcn.004a93c3
push 0x4d39d0
push 0
push 0x1e
call fcn.004a8b78
push 3
call fcn.004a8bf7
add esp, 0x40
call fcn.0047c680
push eax
call fcn.004a8fcd
push ebx
push esi
push edi
push 0x4cb0a8
call fcn.004017e1
add esp, 0x14
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0048c010
mov esp, ebp
pop ebp
ret
Function at 0x43a6c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
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 0x43a6e1
pop esi
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x439ec0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x43a708
mov ecx, dword [esi + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x441130
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 4]
push edx
push 0
lea eax, [esi + 8]
push eax
push 0x440de0
push 0
push 0
mov byte [esi + 0x18], 0
mov dword [eax], esi
mov dword [esi + 0xc], ecx
call fcn.0048ca0b
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x44116c
mov dword [esi + 4], 0
cmp dword [esi + 4], 0
jne 0x44117d
mov byte [esi + 0x18], 1
xor al, al
pop esi
pop ecx
ret 4
mov al, 1
pop esi
pop ecx
ret 4

Function at 0x441ea0
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 0x441ec2
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x34
ret
push edi
call fcn.0048c6bd
push edi
push 0
push eax
mov dword [esi + 8], eax
call fcn.0048c300
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 0x441eb9
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00441b80
test eax, eax
je 0x441eb9
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 0x4cd78c
mov ecx, esi
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
call fcn.00441cc0
test eax, eax
je 0x441eb9
push 0x104
lea edx, [esi + 0x648]
push edx
push 0x4cd76c
mov ecx, esi
call fcn.00441cc0
test eax, eax
je 0x441eb9
push 0x104
lea eax, [esi + 0x440]
push eax
push 0x4cd754
mov ecx, esi
call fcn.00441cc0
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
add esp, 0x34
ret
Function at 0x4442e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bf918
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4e880c]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push esi
mov eax, dword [0x4e880c]
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.0046a5a0
xor ebx, ebx
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebx
call fcn.0046ae70
test al, al
jne 0x44436c
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 0x444364
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 0x44436e
mov bl, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004442b0
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.0048c010
add esp, 0x24
ret
Function at 0x444e60
Capabilities:
Check for time delay via gettickcount
Resolve dns

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0
jne 0x444e6f
xor eax, eax
pop esi
ret
cmp byte [0x4eaee8], 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x444eb9
cmp byte [0x4eaee9], 0
jne 0x444ea7
call edi
mov ecx, dword [0x4eaeec]
cmp eax, ecx
jbe 0x444ea7
sub eax, ecx
cmp eax, dword [0x4e8064]
jb 0x444ea7
mov byte [0x4eaee8], 0
jmp 0x444eb9
cmp byte [0x4eaee8], 0
je 0x444eb9
cmp byte [0x4eaee9], 0
je 0x444f0b
cmp dword [esi + 0x18], 0x10
jb 0x444ec4
mov eax, dword [esi + 4]
jmp 0x444ec7
lea eax, [esi + 4]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2afc
jne 0x444eed
mov byte [0x4eaee8], 1
call edi
mov dword [0x4eaeec], eax
jmp 0x444efd
cmp dword [0x4eaeec], 0
je 0x444efd
mov byte [0x4eaee9], 1
test esi, esi
je 0x444f0b
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
pop edi
pop esi
ret
pop edi
xor eax, eax
pop esi
ret
Function at 0x445c10
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4bfad3
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4e880c]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e880c]
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.0048c300
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 0x445db7
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 0x445cc3
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x3c]
call fcn.0040244b
push str.TencentQQDownload
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x274], edi
call fcn.0040dae0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [esp + 0x274], 2
call fcn.0040d400
mov edi, 8
cmp dword [esp + 0x30], edi
jb 0x445d2a
mov edx, dword [esp + 0x1c]
push edx
call fcn.0048c049
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 0x445d55
mov eax, dword [esp + 0x38]
push eax
call fcn.0048c049
add esp, 4
cmp dword [ebp + 0x14], ebx
je 0x445d9d
push ebp
lea ecx, [esp + 0x1c]
push 0x4caa50
push ecx
call fcn.004112f0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x274], 3
call fcn.0040d400
cmp dword [esp + 0x30], edi
mov byte [esp + 0x268], bl
jb 0x445d9d
mov edx, dword [esp + 0x1c]
push edx
call fcn.0048c049
add esp, 4
push esi
call fcn.004455f0
add esp, 4
test al, al
jne 0x445dc4
push esi
call fcn.00445750
add esp, 4
cmp al, bl
jne 0x445dc4
push ebx
push 0x4d39d0
mov ecx, esi
call fcn.0040244b
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.0048c010
add esp, 0x258
ret
Function at 0x445df0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4bfb31
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x4e880c]
xor eax, esp
mov dword [esp + 0x46c], eax
push ebx
push esi
mov eax, dword [0x4e880c]
xor eax, esp
push eax
lea eax, [esp + 0x47c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x48c]
xor ebx, ebx
test byte [0x4eaf20], 1
mov dword [esp + 0xc], ebx
jne 0x445e6a
or dword [0x4eaf20], 1
push 0x4c7fe0
mov dword [0x4eaf1c], 7
mov dword [0x4eaf18], ebx
mov word [0x4eaf08], bx
call fcn.0048d0f2
add esp, 4
cmp dword [0x4eaf18], ebx
jne 0x445fec
push 0x208
lea eax, [esp + 0x274]
push ebx
push eax
call fcn.0048c300
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 0x445f56
lea edx, [esp + 0x270]
push edx
lea ecx, [esp + 0x4c]
call fcn.004042bd
push str.TencentTencentdl
push eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x490], ebx
call fcn.0040dae0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x4eaf04
mov byte [esp + 0x490], 1
call fcn.0040d400
cmp dword [esp + 0x44], 8
jb 0x445efc
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0048c049
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 0x445f2c
mov edx, dword [esp + 0x4c]
push edx
call fcn.0048c049
add esp, 4
push 0x4eaf04
call fcn.004455f0
add esp, 4
test al, al
jne 0x445fec
push 0x4eaf04
call fcn.00445750
add esp, 4
cmp al, bl
jne 0x445fec
push 0x208
lea eax, [esp + 0x6a]
push ebx
push eax
mov word [esp + 0x70], bx
call fcn.0048c300
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.0048ee33
add esp, 8
cmp eax, ebx
je 0x445f95
mov word [eax], bx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x14]
call fcn.004042bd
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x4eaf04
mov dword [esp + 0x490], 2
call fcn.0040216a
cmp dword [esp + 0x28], 8
mov dword [esp + 0x484], 0xffffffff
jb 0x445fdb
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0048c049
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 0x4eaf04
mov ecx, esi
mov word [esi + 4], bx
call fcn.0040216a
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.0048c010
add esp, 0x47c
ret