joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b9b0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561a98
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5cac4c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43ba2b
test al, 0x10
je 0x43ba2b
push esi
mov edi, 1
call fcn.0040f650
add esp, 4
test eax, eax
jne 0x43ba4e
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x43ba4e
push esi
test edi, edi
jne 0x43ba46
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x43ba4e
push esi
push str.DeleteFile:_s_suceesss
call fcn.0044ca10
add esp, 8
jmp 0x43ba4e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x43b9fc
push esi
push str.DeleteFile:_s_suceesss
call fcn.0044ca10
add esp, 8
jmp 0x43ba4e
call fcn.0040f650
add esp, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43bacf
push esi
lea ecx, [ebp - 0x10]
call fcn.0040e030
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov edi, dword [esi + 4]
cmp dword [esi + 8], edi
je 0x43ba8e
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.0040c5b0
add eax, 0x10
add esp, 4
mov dword [edi], eax
add dword [esi + 4], 4
jmp 0x43ba9a
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push edi
call fcn.00436230
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43babc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4420d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
mov eax, dword [eax]
lea ecx, [ebx + 4]
push edi
mov edi, dword [ecx]
sub edi, 0x10
mov dword [ebp - 4], eax
lea esi, [eax - 0x10]
cmp esi, edi
je 0x442177
cmp dword [edi + 0xc], 0
jl 0x44216e
mov edx, dword [esi]
cmp edx, dword [edi]
jne 0x44216e
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x44211b
cmp ecx, dword [esi]
jne 0x44211b
lock inc dword [eax]
jmp 0x44214f
mov eax, dword [ecx]
lea edx, [esi + 4]
push 2
push dword [edx]
mov dword [ebp + 8], edx
call dword [eax]
mov esi, eax
test esi, esi
je 0x4421c6
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [esi + 4], eax
mov eax, dword [ecx]
inc eax
push eax
push dword [ebp - 4]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.0040c610
add esp, 0x10
or eax, 0xffffffff
lea ecx, [edi + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x442166
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esi + 0x10]
mov dword [ebx + 4], eax
jmp 0x442177
push dword [eax - 0xc]
push eax
call fcn.0040d860
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x4421bd
push str.GlobalLDS_59C080E0_894C_487c_B874_5B6EBFDB2A15
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 2
push 0
push 0
push 0x442c80
push 0
push SysReAllocString
push 1
mov dword [ebx + 8], eax
call dword [sym.imp.USER32.dll_SetWinEventHook]
mov dword [ebx], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.0040b3f0
int3
Function at 0x4421e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56252b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x5cac4c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x21c], edi
call fcn.00507970
add esp, 0xc
cmp dword [0x5c91b8], 0
je 0x44231e
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x57b220
push 0x579f00
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
test eax, eax
je 0x44230e
xorps xmm0, xmm0
mov dword [ebp - 0x22c], 0
lea ecx, [ebp - 0x24c]
push ecx
movups xmmword [ebp - 0x24c], xmm0
movups xmmword [ebp - 0x23c], xmm0
call eax
mov ax, word [ebp - 0x24c]
cmp ax, 9
je 0x442304
cmp ax, 6
je 0x442304
cmp ax, 0xc
je 0x442304
push str.IsWow64Process2
push 0x57c774
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
call esi
push eax
call edi
mov esi, eax
test esi, esi
je 0x4422fb
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x4422fb
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x220], cx
sete al
mov dword [0x5d1458], eax
jmp 0x44230e
xor eax, eax
mov dword [0x5d1458], eax
jmp 0x44230e
mov dword [0x5d1458], 1
mov edi, dword [ebp - 0x21c]
mov dword [0x5c91b8], 0
cmp dword [0x5d1458], 0
mov ecx, str.ComputerZ7.dll
mov eax, str.ComputerZ7_x64.dll
cmove eax, ecx
push eax
mov eax, dword [ebp - 0x228]
push dword [eax + 4]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x442404
call fcn.0040cd20
mov ecx, eax
test ecx, ecx
je 0x442421
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
mov ecx, str._u__s___s_
test edi, edi
mov eax, str.__s___s
cmove eax, ecx
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0040b090
mov esi, dword [ebp - 0x21c]
push 0
push 0
push 0x1388
push 1
push 0
push esi
push str.regsvr32.exe
push 0
call fcn.00442430
add esp, 0x2c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._tid:_d__CDeskBandInstallHelper::RegisterBand_bRegister:_d_Param:_s
call fcn.0044ca10
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4423ff
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
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.004aa2b8
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0040ad60
int3
Function at 0x4424d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2858
call fcn.004aa710
mov eax, dword [0x5cac4c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x804]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
push 0x800
push 0
push eax
call fcn.00507970
add esp, 0xc
cmp dword [ebp + 0x24], 0
je 0x442584
test esi, esi
je 0x4425b9
push 0x1000
lea eax, [ebp - 0x1804]
push 0
push eax
call fcn.00507970
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x44256d
push 0x800
lea eax, [ebp - 0x1804]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x1804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
lea eax, [ebp - 0x1804]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea esi, [ebp - 0x1804]
push 0x400
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.00533cf7
add esp, 0xc
jmp 0x4425a0
lea ecx, [ebp - 0x804]
sub ecx, esi
nop dword [eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x442590
cmp dword [ebp + 0x20], 0
je 0x4425cc
lea eax, [ebp - 0x804]
push eax
call fcn.004a4040
add esp, 4
test eax, eax
jne 0x4425cc
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aa2b8
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov dword [ebp - 0x2858], 0x44
lea eax, [ebp - 0x2858]
movlpd qword [ebp - 0x2854], xmm0
push eax
movlpd qword [ebp - 0x284c], xmm0
movlpd qword [ebp - 0x2844], xmm0
movlpd qword [ebp - 0x283c], xmm0
movlpd qword [ebp - 0x2834], xmm0
movlpd qword [ebp - 0x282c], xmm0
movlpd qword [ebp - 0x2824], xmm0
movlpd qword [ebp - 0x281c], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov ax, word [ebp + 0x14]
xorps xmm0, xmm0
push 0x1000
mov word [ebp - 0x2828], ax
lea eax, [ebp - 0x2804]
push 0
push eax
mov dword [ebp - 0x282c], 1
movups xmmword [ebp - 0x2814], xmm0
call fcn.00507970
add esp, 0xc
lea eax, [ebp - 0x804]
test edi, edi
je 0x44267d
push edi
push eax
lea eax, [ebp - 0x2804]
push 0x57e084
push eax
call fcn.004364e0
add esp, 0x10
jmp 0x442692
push eax
lea eax, [ebp - 0x2804]
push 0x57e094
push eax
call fcn.004364e0
add esp, 0xc
lea eax, [ebp - 0x2814]
push eax
lea eax, [ebp - 0x2858]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x4426ec
cmp dword [ebp + 0x18], 0
je 0x4426d6
push dword [ebp + 0x1c]
push dword [ebp - 0x2814]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x2810]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2814]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aa2b8
mov esp, ebp
pop ebp
ret
Function at 0x442e80
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562616
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x5cac4c]
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
push dword [edi]
mov dword [ebp - 4], 0
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 0x442f9f
lea eax, [esi + 1]
mov byte [ebp - 4], 2
mov ecx, 2
mul ecx
test edx, edx
ja 0x442ff0
jb 0x442f26
cmp eax, 0xffffffff
ja 0x442ff0
cmp eax, 0x80
jbe 0x442f3b
push eax
lea ecx, [ebp - 0x98]
call fcn.00442e30
jmp 0x442f61
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x98], ecx
jmp 0x442f67
mov ecx, dword [ebp - 0x98]
test ecx, ecx
je 0x442f8a
lea eax, [esi + 1]
push eax
push ecx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x442f99
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x98], eax
je 0x442f95
lea ecx, [ebp - 0x98]
call fcn.00442e60
xor eax, eax
jmp 0x442fd2
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 0x442fb3
test eax, eax
setne bl
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x98], eax
je 0x442fd0
lea ecx, [ebp - 0x98]
call fcn.00442e60
nop dword [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.004aa2b8
mov esp, ebp
pop ebp
ret 4
push 0x80070216
call fcn.0040ad60
int3
Function at 0x4435a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp eax, 0x270
jne 0x4435fe
lea edx, [edi + 8]
mov esi, eax
nop dword [eax]
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x4435c0
mov eax, dword [edi]
jmp 0x4436e9
cmp eax, 0x4e0
jb 0x4436e9
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
nop dword [eax + eax]
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x443620
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
nop dword [eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x443670
mov edi, dword [ebp - 4]
pop ebx
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x443ac0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
push esi
and eax, 0x8000000f
jns 0x443adb
dec eax
or eax, 0xfffffff0
add eax, 1
jne 0x443c3a
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x443c3a
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push esi
movq qword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x443c33
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x443c33
cmp dword [ebp - 0x10], 0
jg 0x443c33
jl 0x443b44
cmp eax, 0x1000000
ja 0x443c33
push edi
push 0x1000000
call fcn.004aac08
add esp, 4
mov dword [ebp + 0x14], 0
mov edi, eax
lea eax, [ebp + 0x14]
push 0
push eax
push dword [ebp - 0x14]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x443c17
cmp dword [ebp + 0x14], 0
je 0x443c17
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ebp + 8], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
push edi
call fcn.00443860
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 0x10]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x443be9
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push dword [ebp + 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
test eax, eax
jne 0x443bff
call ebx
push 1
push esi
call fcn.004aa2ce
add esp, 8
xor al, al
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
call ebx
push 1
push esi
call fcn.004aa2ce
add esp, 8
mov al, 1
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
push 1
push edi
call fcn.004aa2ce
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4447d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562a08
mov eax, dword fs:[0]
push eax
mov eax, dword [0x5cac4c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
push dword [eax - 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00444510
push 0
sub esp, 0x28
mov dword [ebp + 8], esp
mov dword [eax + 0x48], 1
mov eax, esp
mov dword [eax + 0x24], 0
push 1
push 0
push str.finish_launch
mov dword [ebp - 4], 0
call fcn.004345f0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.004307a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x449810
Capabilities:
Create process on windows

Disassembly:
push 1
push 0
push 0
push 4
push 0x580a34
push 0
call fcn.0046cd60
cmp eax, 6
jne 0x449841
push 1
push 0
push 0
push str.https:__cdn_file_ssl_pc.ludashi.com_pc_appstore_ludashi_ludashisetup2020.exe
push 0x57c9ac
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x449f40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563346
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x5cac4c]
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 eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x449fec
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x449fec
call fcn.00436900
mov edi, eax
jmp 0x44a10b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x44a00f
call fcn.00436900
jmp 0x44a0fe
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x44a02d
call fcn.00436900
jmp 0x44a0fe
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x44a04e
mov edi, 0x8007000e
jmp 0x44a100
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x44a144
jb 0x44a06c
cmp eax, 0xffffffff
ja 0x44a144
cmp eax, 0x400
jbe 0x44a081
push eax
lea ecx, [ebp - 0x418]
call fcn.00446490
jmp 0x44a0a7
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x44a0a7
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x44a0be
mov edi, 0x8007000e
jmp 0x44a100
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x44a0de
call fcn.00436900
jmp 0x44a0fe
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00449da0
mov edi, eax
test esi, esi
je 0x44a10b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x44a124
lea ecx, [ebp - 0x418]
call fcn.00447ec0
mov eax, edi
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.004aa2b8
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.0040ad60
int3
Function at 0x44cd80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563518
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5cac4c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0040cd20
mov ecx, eax
test ecx, ecx
je 0x44cf01
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0
test edx, edx
je 0x44ce01
test edx, 0xffff0000
jne 0x44cde7
movzx eax, dx
lea ecx, [ebp - 0x14]
push eax
call fcn.0040d6b0
jmp 0x44ce0d
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44cdf0
sub ecx, esi
sar ecx, 1
jmp 0x44ce03
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.0040d860
push str._net_netload.dll
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040bd00
add esp, 0xc
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44ceaa
push dword [ebp - 0x10]
call fcn.004a4040
add esp, 4
test eax, eax
je 0x44ceaa
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x44ceaa
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InstallProvider
push eax
call esi
push str.RemoveProvider
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.LdsIsInstall
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.LdsSetRegKey
push dword [edi]
mov dword [edi + 0xc], eax
call esi
cmp dword [edi + 4], 0
mov dword [edi + 0x10], eax
je 0x44ceaa
cmp dword [edi + 8], 0
je 0x44ceaa
cmp dword [edi + 0xc], 0
je 0x44ceaa
test eax, eax
je 0x44ceaa
mov esi, 1
jmp 0x44ceac
xor esi, esi
mov edx, dword [ebp - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44cecd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x44ceec
mov ecx, dword [eax]
push eax
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 esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0040ad60
int3
Function at 0x4520f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563c76
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x5cac4c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0040cd20
mov ecx, eax
test ecx, ecx
je 0x452230
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push str.ex2_d
push eax
call fcn.0040b090
add esp, 0xc
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x220], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0x21c]
push 0
push esi
push str.file_copy_end
mov byte [ebp - 4], 1
call fcn.004345f0
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.004307a0
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x50]
call fcn.00453460
cmp dword [ebp + 0xc], 0
jne 0x4521f5
push str.file_copy_finish__failed
call fcn.0044ca10
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00507970
add esp, 0x10
call fcn.0046f720
push 0x104
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4521f5
lea eax, [ebp - 0x218]
push eax
call fcn.0040f650
add esp, 4
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x452214
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004aa2b8
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.0040ad60
int3