joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425600
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x489c48
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ac13c]
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 0x425655
mov ecx, esi
call fcn.004212c0
xor esi, esi
call fcn.004855e0
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 4], eax
mov dword [ecx], esi
xor eax, eax
jmp 0x4256b9
mov ecx, dword [0x4ae86c]
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 [0x4ae86c]
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.00423330
test eax, eax
je 0x4256a9
cmp edi, 0xffffffff
je 0x42569b
add edi, 1
push ebx
push 1
mov ecx, esi
call fcn.00423330
test eax, eax
jne 0x425693
mov ecx, dword [esp + 0x18]
mov edx, dword [0x4ae86c]
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 0x425fa0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x489e38
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4ac13c]
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.00402093
mov ecx, dword [esi + 8]
call fcn.004253d0
cmp dword [esp + 0x40], 0x10
jb 0x426020
mov eax, dword [esp + 0x2c]
push eax
call fcn.00451fd9
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x28
Function at 0x4266c0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x489f8b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x4ac13c]
xor eax, esp
mov dword [esp + 0x818], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0x830]
mov dword fs:[0], eax
push 0x13b
push str.CDownloader::FinalRelease
push str.MINIDL__s_Line:__d_n
lea eax, [esp + 0x38]
push 0x3fc
push eax
mov esi, ecx
call fcn.0045c9a6
add esp, 0x14
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [esi + 0x598]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edx
mov byte [esp + 0x18], 0
call fcn.004102e0
cmp byte [esi + 0x65], 0
mov dword [esp + 0x838], 0
je 0x426781
cmp byte [esp + 0x18], 0
mov dword [esp + 0x838], 0xffffffff
je 0x4268aa
mov eax, dword [esp + 0x14]
add dword [eax], 0xffffffff
jne 0x4268aa
xor ecx, ecx
lea edx, [eax + 4]
xchg dword [edx], ecx
jmp 0x426879
mov eax, 0x425f50
mov edx, eax
sub esp, 0x10
mov eax, esp
xor ecx, ecx
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x588]
call fcn.0041c690
mov ecx, dword [esi + 0x58c]
test ecx, ecx
lea edi, [esi + 0x58c]
mov byte [esi + 0x65], 1
je 0x4267c9
call fcn.00485440
mov ecx, edi
call fcn.004388b0
mov eax, dword [esi + 0x5f4]
mov ebp, dword [eax]
lea edi, [esi + 0x5f0]
mov esi, edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
test esi, esi
mov ebx, dword [edi + 4]
je 0x4267ec
cmp esi, edi
je 0x4267f1
call fcn.0045c852
cmp ebp, ebx
je 0x426825
test esi, esi
jne 0x4267fe
call fcn.0045c852
cmp ebp, dword [esi + 4]
jne 0x426808
call fcn.0045c852
mov edx, dword [ebp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x1c]
call fcn.004171d0
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
jmp 0x4267e1
push 0x14e
push str.CDownloader::FinalRelease
push str.MINIDL__s_Line:__d_n
lea eax, [esp + 0x438]
push 0x3fc
push eax
call fcn.0045c9a6
add esp, 0x14
lea ecx, [esp + 0x42c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp byte [esp + 0x18], 0
mov dword [esp + 0x838], 0xffffffff
je 0x4268aa
mov eax, dword [esp + 0x14]
add dword [eax], 0xffffffff
jne 0x4268aa
xor edx, edx
lea ecx, [eax + 4]
xchg dword [ecx], edx
lea ecx, [eax + 8]
mov edx, ecx
mov eax, SysReAllocString
lock xadd dword [edx], eax
test eax, 0x40000000
jne 0x4268aa
cmp eax, 0x80000000
jle 0x4268aa
mov eax, ecx
lock bts dword [eax], 0x1e
jb 0x4268aa
call fcn.0040bb60
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esp + 0x830]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x818]
xor ecx, esp
call fcn.0045b7a6
add esp, 0x828
ret
Function at 0x42b120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a0a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4ac13c]
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.0040ba20
test edi, edi
mov dword [esp + 0x18], 0
je 0x42b164
add edi, 0x28
jmp 0x42b166
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 0x42b17e
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 [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x48a248
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x24]
push 0xffffffffffffffff
mov dword [edi], ecx
lea esi, [edi + 8]
push eax
lea edx, [esp + 0x30]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], eax
push edx
mov ecx, esi
mov dword [esp + 0x24], eax
mov word [esi + 4], ax
call fcn.0040218f
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], eax
jb 0x42c967
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00451fd9
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x42d880
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a358
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4ac13c]
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.00403427
mov dword [esi], vtable.boost::gregorian::bad_day_of_month.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x42d8ca
add edi, 0x28
jmp 0x42d8cc
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 0x42d8e4
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 [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x42d920
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a358
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4ac13c]
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.00403427
mov dword [esi], vtable.boost::gregorian::bad_year.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x42d96a
add edi, 0x28
jmp 0x42d96c
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 0x42d984
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 0x42d9c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a358
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4ac13c]
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.00403427
mov dword [esi], vtable.boost::gregorian::bad_month.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x42da0a
add edi, 0x28
jmp 0x42da0c
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 0x42da24
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 0x4304c0
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 0x43051e
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.004855e0
neg edi
sbb edi, edi
test edi, fcn.004054b0
mov dword [esp + 0x18], eax
je 0x43051e
push str.thread.entry_event
lea eax, [esp + 0x18]
push eax
call fcn.0040ccd0
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 0x430572
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.004855e0
neg edi
sbb edi, edi
test edi, fcn.004054b0
mov dword [esp + 0x18], eax
je 0x430572
push str.thread.exit_event
lea ecx, [esp + 0x18]
push ecx
call fcn.0040ccd0
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x10]
push edx
push 0
push esi
push 0x4285a0
push eax
push 0
mov dword [esp + 0x28], 0
call fcn.0045d8a4
add esp, 0x18
test eax, eax
mov dword [ebp + 4], eax
jne 0x4305f0
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 0x4305ba
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [ebp + 8]
test ebp, ebp
je 0x4305c8
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], edi
call fcn.004855e0
neg edi
sbb edi, edi
test edi, fcn.004054b0
mov dword [esp + 0x18], eax
je 0x4305f0
push str.thread
lea ecx, [esp + 0x18]
push ecx
call fcn.0040ccd0
test ebx, ebx
je 0x430604
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 0x436430
Capabilities:
Copy file

Disassembly:
sub esp, 0x20
mov ecx, dword [esp + 0x28]
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
mov dword [esp], eax
mov eax, dword [esp + 0x24]
lea edx, [esp]
push edx
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov word [esp + 0x14], 0x614
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
add esp, 0x20
ret

Function at 0x436490
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x22c
mov eax, dword [0x4ac13c]
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 0x436514
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 0x436566
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 0x43657e
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.0045b7a6
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.0045b7a6
add esp, 0x22c
ret

Function at 0x4365b0
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x108
mov eax, dword [0x4ac13c]
xor eax, esp
mov dword [esp + 0x104], eax
push 0x103
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.0045c2f0
push 0x103
lea ecx, [esp + 0x10]
push 0x4945c8
push ecx
call fcn.0045ce00
add esp, 0x18
lea edx, [esp]
push edx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0045b7a6
add esp, 0x108
ret
Function at 0x436620
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xfffffffffffffffe
push 0x4a2478
push 0x45bb60
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4ac13c]
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.0045c2f0
add esp, 0xc
push 0x104
lea ecx, [ebp]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
push ebx
push 0x49461c
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
je 0x436713
push edi
call fcn.00451fde
add esp, 4
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x436713
push edi
push ebx
push esi
call fcn.0045c2f0
add esp, 0xc
push esi
push edi
push ebx
push 0x49461c
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x436713
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x2c]
push eax
push 0x494618
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x436713
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x436713
mov cx, word [eax + 0xa]
mov word [ebp - 0x20], cx
movzx edx, word [eax + 8]
mov dword [ebp - 0x1c], edx
movzx ebx, word [eax + 0xe]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.00436796
push 0xffffffffffffffff
push 0
push 0x804
push 1
push 1
push ebx
mov esi, dword [ebp - 0x1c]
push esi
mov edi, dword [ebp - 0x20]
push edi
push str.restart
lea eax, [ebp]
push eax
push 0x4945f8
push 0x4945e4
call fcn.0045b0a4
push ebx
push esi
push edi
push 0x4945e4
call fcn.004017e1
add esp, 0x40
push 0x49a2a8
push 0
push 0x1e
call fcn.0045abde
add esp, 0xc
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.0045b7a6
add ebp, 0x20c
mov esp, ebp
pop ebp
ret
Function at 0x4386a0
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 0x4386bc
pop esi
pop ecx
ret
push edi
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x437a60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x4386e4
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 0x43aa70
Capabilities:
Delete registry value
Print debug messages
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x48b29b
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x4ac13c]
xor eax, esp
mov dword [esp + 0x82c], eax
push ebx
push esi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0x83c]
mov dword fs:[0], eax
push 0xfe
push str.IsNeedToRegsvrCOM
push str.MINIDL__s_Line:__d_n
lea eax, [esp + 0x44]
push 0x3fc
push eax
call fcn.0045c9a6
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x14
lea ecx, [esp + 0x38]
push ecx
call esi
mov eax, 4
push 0x19
mov ebx, 1
push str.SoftwareTencentQQMiniDL
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], 0
call fcn.00402470
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x844], 0
jae 0x43ab2e
lea eax, [esp + 0x20]
lea edx, [esp + 0xc]
push edx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x43ac0e
push 0x10a
push str.IsNeedToRegsvrCOM
push str.MINIDL__s_Line:__d_n
lea eax, [esp + 0x44]
push 0x3fc
push eax
call fcn.0045c9a6
add esp, 0x14
lea ecx, [esp + 0x38]
push ecx
call esi
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.NeedRegCOM
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43ac03
push 0x10e
push str.IsNeedToRegsvrCOM
push str.MINIDL__s_Line:__d_n
lea eax, [esp + 0x44]
push 0x3fc
push eax
call fcn.0045c9a6
add esp, 0x14
lea ecx, [esp + 0x38]
push ecx
call esi
cmp dword [esp + 0x10], 0
jne 0x43abf3
push 0x113
push str.IsNeedToRegsvrCOM
push str.MINIDL__s_Line:__d_n
lea edx, [esp + 0x444]
push 0x3fc
push edx
call fcn.0045c9a6
add esp, 0x14
lea eax, [esp + 0x438]
push eax
call esi
xor ebx, ebx
mov ecx, dword [esp + 0xc]
push str.NeedRegCOM
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push str.bNeedReg_d
call fcn.0044b250
add esp, 8
cmp dword [esp + 0x34], 8
jb 0x43ac30
mov eax, dword [esp + 0x20]
push eax
call fcn.00451fd9
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x83c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x82c]
xor ecx, esp
call fcn.0045b7a6
add esp, 0x83c
ret
Function at 0x43b380
Capabilities:
Accept command line arguments

Disassembly:
push ecx
cmp byte [0x4ae7a0], 0
push esi
mov esi, ecx
je 0x43b395
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.00439900
cmp al, 1
jne 0x43b3c5
mov edx, dword [esp + 0xc]
push edx
mov ecx, esi
call fcn.00439140
pop esi
pop ecx
ret 4
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 4
Function at 0x43d8e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x48b6a3
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x14]
push eax
push esi
call fcn.00438900
mov edi, eax
mov eax, dword [esi + 0x14]
add esp, 8
cmp eax, ebx
je 0x43d947
cmp edi, eax
jbe 0x43d92e
call fcn.0045c852
cmp dword [esi + 0x18], 0x10
jb 0x43d939
mov eax, dword [esi + 4]
jmp 0x43d93c
lea eax, [esi + 4]
cmp byte [eax + edi], 0x2f
mov byte [esp + 0x17], 1
je 0x43d94b
mov byte [esp + 0x17], bl
push edi
push esi
call fcn.00438720
add esp, 8
cmp edi, ebx
mov ebp, eax
jbe 0x43d98e
lea ebx, [edi - 1]
mov edi, edi
cmp ebx, ebp
je 0x43d98c
cmp ebx, dword [esi + 0x14]
jbe 0x43d96e
call fcn.0045c852
cmp dword [esi + 0x18], 0x10
jb 0x43d979
mov eax, dword [esi + 4]
jmp 0x43d97c
lea eax, [esi + 4]
cmp byte [ebx + eax], 0x2f
jne 0x43d98c
sub edi, 1
sub ebx, 1
test edi, edi
ja 0x43d960
xor ebx, ebx
cmp edi, 1
jne 0x43d9bd
cmp ebp, ebx
jne 0x43d9bd
cmp byte [esp + 0x17], 0
je 0x43d9bd
mov edi, 0xf
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], 0
mov dword [esp + 0x78], ebx
lea eax, [esp + 0x54]
lea ebx, [edi - 0xe]
jmp 0x43da13
push edi
push ebx
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.00429f10
mov ecx, 2
mov edi, 0xf
mov dword [esp + 0x18], ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], 0
cmp dword [eax + 0x18], 0x10
mov dword [esp + 0x78], ecx
jb 0x43d9f5
mov eax, dword [eax + 4]
jmp 0x43d9f8
add eax, 4
push eax
lea ecx, [esp + 0x20]
call fcn.00439d00
lea eax, [esp + 0x1c]
mov dword [esp + 0x78], 3
mov ebx, 6
mov esi, dword [esp + 0x80]
push 0xffffffffffffffff
xor ebp, ebp
push ebp
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebp
push eax
mov ecx, esi
mov dword [esp + 0x24], ebx
mov byte [esi + 4], 0
call fcn.00402093
or ebx, 8
test bl, 4
je 0x43da61
and ebx, 0xfffffffb
cmp dword [esp + 0x34], 0x10
jb 0x43da54
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00451fd9
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
test bl, 2
je 0x43da8a
and ebx, 0xfffffffd
cmp dword [esp + 0x50], 0x10
jb 0x43da7d
mov edx, dword [esp + 0x3c]
push edx
call fcn.00451fd9
add esp, 4
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x3c], 0
test bl, 1
je 0x43daa3
cmp dword [esp + 0x6c], 0x10
jb 0x43daa3
mov eax, dword [esp + 0x58]
push eax
call fcn.00451fd9
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4