joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a1c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push eax
push ebx
cmp ecx, 0
je 0x41a2aa
and ebp, 0xfffffff8
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
je 0x41a23d
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.00419980
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x41a203
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x41a373
call fcn.0041a24f
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x41a30a
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.00419da0
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x41a2bb
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x41a373
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.00419da0
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x41a36e
jmp 0x41a373
mov ecx, dword [esp + 0x3c]
add esp, 0x18
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x41ad50
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push eax
push ebx
cmp ecx, 0
je 0x41ae3a
and ebp, 0xfffffff8
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
je 0x41adcd
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0041a400
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x41ad93
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x41af03
call fcn.0041addf
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x41ae9a
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0041a8b0
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x41ae4b
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x41af03
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0041a8b0
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x41aefe
jmp 0x41af03
mov ecx, dword [esp + 0x3c]
add esp, 0x18
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x421b80
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x74b738]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
push esi
mov esi, dword [ebp + 8]
movups xmmword [esi], xmm0
test ecx, ecx
jne 0x421baf
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00669a1e
mov esp, ebp
pop ebp
ret
push edx
push ecx
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x68], 0
push eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x64], 0x67452301
mov dword [ebp - 0x60], 0xefcdab89
mov dword [ebp - 0x5c], 0x98badcfe
mov dword [ebp - 0x58], 0x10325476
call fcn.00424d90
lea eax, [ebp - 0x6c]
push eax
call fcn.00424e50
movups xmm0, xmmword [ebp - 0x14]
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov eax, 1
movups xmmword [esi], xmm0
pop esi
call fcn.00669a1e
mov esp, ebp
pop ebp
ret
Function at 0x422b40
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a3c
call fcn.0066af60
mov eax, dword [0x74b738]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, dword [ebp + 0xc]
push 0
push 2
mov dword [ebp - 0x1a34], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x422d36
push esi
push 0x228
lea eax, [ebp - 0x1a2c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1a30], 0x22c
lea eax, [ebp - 0x1a30]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x422d32
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
mov dword [ebp - 0x1a3c], ecx
nop word [eax + eax]
cmp ecx, dword [ebp - 0x1a28]
je 0x422d16
push dword [ebp - 0x1a34]
lea eax, [ebp - 0x1a0c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x422d16
push 0x800
push eax
lea eax, [ebp - 0x1004]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push dword [ebp - 0x1a28]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x422cd2
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x422cc7
push 0x800
lea eax, [ebp - 0x1804]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x804]
push 0x7e
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
add esp, 0x14
test eax, eax
je 0x422cab
push 0x400
lea eax, [ebp - 0x1804]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
dec eax
cmp eax, 0x3fe
lea eax, [ebp - 0x1804]
jbe 0x422cb1
lea eax, [ebp - 0x804]
push 0x400
push eax
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
add esp, 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x422cd8
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x1004]
push eax
call fcn.004e81f0
add esp, 4
test eax, eax
je 0x422d16
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x1a28]
mov dword [ebp - 0x1a38], ecx
cmp dword [edi + 8], eax
je 0x422d07
mov dword [eax], ecx
add dword [edi + 4], 4
jmp 0x422d16
lea ecx, [ebp - 0x1a38]
push ecx
push eax
mov ecx, edi
call fcn.00423d60
lea eax, [ebp - 0x1a30]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov ecx, dword [ebp - 0x1a3c]
test eax, eax
jne 0x422bd0
push ebx
call esi
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00669a1e
mov esp, ebp
pop ebp
ret 8
Function at 0x441560
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4415b9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4415b9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4415aa
cmp esi, edx
jae 0x4415b9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x441598
cmp esi, edx
jae 0x4415b9
cmp word [esi], 0
je 0x4415b9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x442c30
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66ec96
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x74b738]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], 0
mov dword [ebp - 4], 0
push dword [edi]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 1
test esi, esi
jle 0x442d69
lea eax, [esi + 1]
mov byte [ebp - 4], 2
mov ecx, 2
mul ecx
test edx, edx
ja 0x442dc0
jb 0x442cd6
cmp eax, 0xffffffff
ja 0x442dc0
cmp eax, 0x80
jbe 0x442ceb
push eax
lea ecx, [ebp - 0x98]
call fcn.00442b40
jmp 0x442d11
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x98], ecx
jmp 0x442d17
mov ecx, dword [ebp - 0x98]
test ecx, ecx
jne 0x442d2a
lea ecx, [ebp - 0x98]
call fcn.00442b10
xor eax, eax
jmp 0x442da2
lea eax, [esi + 1]
push eax
push ecx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x442d63
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x98], eax
je 0x442d54
lea ecx, [ebp - 0x98]
call fcn.00442b10
lea ecx, [ebp - 0xa8]
call fcn.00442ac0
xor eax, eax
jmp 0x442da2
mov eax, dword [ebp - 0x98]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
xor ebx, ebx
mov dword [edi], eax
test esi, esi
je 0x442d7d
test eax, eax
setne bl
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x98], eax
je 0x442da0
lea ecx, [ebp - 0x98]
call fcn.00442b10
nop word [eax + eax]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00669a1e
mov esp, ebp
pop ebp
ret 4
push 0x80070216
call fcn.00422220
int3
Function at 0x446800
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x446846
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x446846
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x44684f
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x446871
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
xor edi, edi
test eax, eax
je 0x446899
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 4]
push eax
push 0
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4468e0
mov ebx, dword [ebp - 4]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov edi, eax
test edi, edi
je 0x4468de
lea eax, [ebp - 8]
mov dword [edi], vtable.Gdiplus::Bitmap.0
push eax
push ebx
mov dword [ebp - 8], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov dword [edi + 8], eax
mov eax, dword [ebp - 8]
mov dword [edi + 4], eax
jmp 0x4468e0
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4468f4
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a9e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66f590
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x74b738]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
or eax, 0xffffffff
mov dword [esi], vtable.CLayerControlBase.0
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44aa26
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test byte [ebp + 8], 1
je 0x44aa37
push 0x44
push esi
call fcn.00669e69
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x44aff0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66f600
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x74b738]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
or eax, 0xffffffff
mov dword [esi], vtable.CLayerControlBase.0
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44b036
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test byte [ebp + 8], 1
je 0x44b047
push 0x5c
push esi
call fcn.00669e69
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x454db0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push 0
push dword [eax - 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop ebp
ret 4

Function at 0x4569d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
cmp dword [ebp + 0xc], 0
push esi
mov esi, dword [ebp + 8]
push edi
je 0x456a08
mov eax, dword [esi + 0x24]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x456a32
push 1
lea ecx, [esi - 0x24]
call fcn.004565c0
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
cmp dword [esi + 8], 0
je 0x456a13
mov edi, dword [esi + 0x10]
jmp 0x456a16
mov edi, dword [esi + 0xc]
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x456a32
test edi, edi
je 0x456a32
push 0
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x457280
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push esi
mov esi, dword [ecx + 0x28]
push edi
je 0x4572a8
push 0
push 0x14
push 0x2710
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ecx
pop ebp
ret 4
cmp dword [esi + 0x2c], 0
je 0x4572b3
mov edi, dword [esi + 0x34]
jmp 0x4572b6
mov edi, dword [esi + 0x30]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4572d2
test edi, edi
je 0x4572d2
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ecx
pop ebp
ret 4
Function at 0x458580
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2864
call fcn.0066af60
mov eax, dword [0x74b738]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x80a]
push 0x7fe
push 0
push eax
mov esi, edx
call sub.VCRUNTIME140.dll_memset
xor eax, eax
add esp, 0xc
mov word [ebp - 0x80c], ax
test esi, esi
je 0x458768
push 0x1000
push eax
lea eax, [ebp - 0x180c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x458623
push 0x800
lea eax, [ebp - 0x180c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x180c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
lea eax, [ebp - 0x180c]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x400
lea eax, [ebp - 0x180c]
push eax
jmp 0x458629
push 0x400
push esi
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
add esp, 0xc
push esi
call fcn.004e81f0
add esp, 4
test eax, eax
je 0x458768
xorps xmm0, xmm0
mov dword [ebp - 0x2864], 0x44
lea eax, [ebp - 0x2864]
movlpd qword [ebp - 0x2860], xmm0
push eax
movlpd qword [ebp - 0x2858], xmm0
movlpd qword [ebp - 0x2850], xmm0
movlpd qword [ebp - 0x2848], xmm0
movlpd qword [ebp - 0x2840], xmm0
movlpd qword [ebp - 0x2838], xmm0
movlpd qword [ebp - 0x2830], xmm0
movlpd qword [ebp - 0x2828], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, 1
mov dword [ebp - 0x2838], 1
push 0x1000
mov word [ebp - 0x2834], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x280c]
push 0
push eax
movups xmmword [ebp - 0x281c], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x80c]
test edi, edi
je 0x4586fc
push edi
push eax
lea eax, [ebp - 0x280c]
push str.__s___s
push eax
call fcn.0045a1a0
add esp, 0x10
jmp 0x458711
push eax
lea eax, [ebp - 0x280c]
push 0x6eb498
push eax
call fcn.0045a1a0
add esp, 0xc
lea eax, [ebp - 0x281c]
push eax
lea eax, [ebp - 0x2864]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x280c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x458756
push dword [ebp - 0x2818]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x281c]
call esi
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00669a1e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00669a1e
mov esp, ebp
pop ebp
ret
Function at 0x4594c0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6701a8
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x74b738]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x220], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x224], 0
call fcn.004225c0
mov ecx, eax
test ecx, ecx
je 0x45966a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x220], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x228], 0x208
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x6d1800
push str.SOFTWARELudashi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x45964d
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45964d
call fcn.004225c0
mov ecx, eax
test ecx, ecx
je 0x459674
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
test eax, 0xffff0000
jne 0x4595e9
movzx eax, ax
lea ecx, [ebp - 0x21c]
push eax
call fcn.00441820
jmp 0x459614
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4595f2
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00441d80
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 2
push esi
push eax
call fcn.00457af0
mov byte [ebp - 4], 0
add esp, 8
mov edi, dword [ebp - 0x21c]
or eax, 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x45964d
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00669a1e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00422220
push 0x80004005
call fcn.00422220
int3
Function at 0x459680
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x74b738]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x214], 1
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push str.Setup_Path
push str.SOFTWARELudashi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x459729
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x459729
lea eax, [ebp - 0x20c]
push eax
push 0x104
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00669a1e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00669a1e
mov esp, ebp
pop ebp
ret
Function at 0x45d3b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x670638
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x74b738]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x45d3e8
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push 0x38
mov esi, dword [eax]
mov edi, dword [eax + 4]
call fcn.00669e77
mov dword [eax + 4], 1
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
lea ecx, [eax + 0x10]
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_obj_class_std::function_bool____cdecl___void___.0
lea edx, [eax + 4]
mov dword [ecx], vtable.std::_Func_impl_no_alloc_class_std::_Binder_struct_std::_Unforced__class_std::_Binder_struct_std::_Unforced__unsigned_char____cdecl_DependenceFileDownloder::__bool__void___class_DependenceFileDownloder_______bool___.0
mov dword [ecx + 4], esi
mov dword [ecx + 8], edi
mov dword [ebp + 8], ecx
mov dword [ecx + 0x24], ecx
mov dword [ebp - 0x1c], ecx
lock inc dword [edx]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x28]
inc eax
cmp ecx, eax
ja 0x45d45a
push ecx
lea ecx, [ebx + 0x20]
call fcn.00439d60
mov ecx, dword [ebx + 0x28]
lea eax, [ecx - 1]
and dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x30]
add eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x28]
dec ecx
and ecx, eax
mov eax, dword [ebx + 0x24]
cmp dword [eax + ecx*4], 0
lea edi, [ecx*4]
jne 0x45d48f
push 0x28
call fcn.00669e77
mov ecx, dword [ebx + 0x24]
add esp, 4
mov dword [edi + ecx], eax
mov eax, dword [ebx + 0x24]
mov eax, dword [eax + edi]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 0x10]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_5701c3f5775edfebe666b9d014563fec___void___.0
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0x24], eax
inc dword [ebx + 0x30]
cmp dword [ebx + 0x18], 0
jne 0x45d4d2
lea eax, [ebx + 0x1c]
push eax
push 0
push ebx
push 0x43f580
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebx + 0x18], eax
mov byte [ebp + 0xb], 1
jmp 0x45d4d6
mov byte [ebp + 0xb], 0
or esi, 0xffffffff
mov byte [ebp - 4], 6
mov eax, esi
lea ecx, [edi + 4]
lock xadd dword [ecx], eax
jne 0x45d4ff
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea eax, [edi + 8]
lock xadd dword [eax], esi
dec esi
jne 0x45d4ff
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4