joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49260f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x492628
mov eax, dword [ebp - 4]
jmp 0x492702
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x4926dd
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
nop
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4fa538]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4fa538]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4fa538]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4fa538]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4fa538]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4fa538]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4fa538]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4fa538]
dec ebp
jne 0x492647
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x4926f9
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x4fa538]
dec ecx
jne 0x4926e7
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49586e
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x20c], ax
mov edi, ecx
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.004bf1a0
add esp, 0xc
lea eax, [ebp - 0x20c]
mov esi, 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4fb354
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004c20b8
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x68], eax
test eax, eax
je 0x4959d1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WinHttpOpen
push eax
call esi
push str.WinHttpConnect
push dword [edi + 0x68]
mov dword [edi + 4], eax
call esi
push str.WinHttpOpenRequest
push dword [edi + 0x68]
mov dword [edi + 8], eax
call esi
push str.WinHttpAddRequestHeaders
push dword [edi + 0x68]
mov dword [edi + 0xc], eax
call esi
push str.WinHttpSendRequest
push dword [edi + 0x68]
mov dword [edi + 0x10], eax
call esi
push str.WinHttpReceiveResponse
push dword [edi + 0x68]
mov dword [edi + 0x14], eax
call esi
push str.WinHttpQueryHeaders
push dword [edi + 0x68]
mov dword [edi + 0x18], eax
call esi
push str.WinHttpReadData
push dword [edi + 0x68]
mov dword [edi + 0x1c], eax
call esi
push str.WinHttpCloseHandle
push dword [edi + 0x68]
mov dword [edi + 0x20], eax
call esi
push str.WinHttpCrackUrl
push dword [edi + 0x68]
mov dword [edi + 0x24], eax
call esi
push str.WinHttpSetOption
push dword [edi + 0x68]
mov dword [edi + 0x28], eax
call esi
push str.WinHttpQueryDataAvailable
push dword [edi + 0x68]
mov dword [edi + 0x2c], eax
call esi
push str.WinHttpSetTimeouts
push dword [edi + 0x68]
mov dword [edi + 0x34], eax
call esi
mov dword [edi + 0x30], eax
cmp dword [edi + 4], ebx
je 0x4959cf
cmp dword [edi + 0x10], ebx
je 0x4959cf
cmp dword [edi + 0x24], ebx
je 0x4959cf
cmp dword [edi + 8], ebx
je 0x4959cf
cmp dword [edi + 0xc], ebx
je 0x4959cf
cmp dword [edi + 0x1c], ebx
je 0x4959cf
cmp dword [edi + 0x20], ebx
je 0x4959cf
cmp dword [edi + 0x18], ebx
je 0x4959cf
cmp dword [edi + 0x14], ebx
je 0x4959cf
cmp dword [edi + 0x28], ebx
je 0x4959cf
cmp dword [edi + 0x2c], ebx
je 0x4959cf
test eax, eax
je 0x4959cf
inc ebx
mov dword [edi], ebx
mov eax, dword [edi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc11d
mov esp, ebp
pop ebp
ret
Function at 0x4959e4
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x20c], ax
mov edi, ecx
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.004bf1a0
add esp, 0xc
lea eax, [ebp - 0x20c]
mov esi, 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4fb3c4
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004c20b8
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x6c], eax
test eax, eax
je 0x495b25
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4fb3e0
push eax
call esi
push 0x4fb3f0
push dword [edi + 0x6c]
mov dword [edi + 0x3c], eax
call esi
push 0x4fb404
push dword [edi + 0x6c]
mov dword [edi + 0x40], eax
call esi
push str.HttpAddRequestHeadersW
push dword [edi + 0x6c]
mov dword [edi + 0x44], eax
call esi
push 0x4fb430
push dword [edi + 0x6c]
mov dword [edi + 0x48], eax
call esi
push str.HttpQueryInfoW
push dword [edi + 0x6c]
mov dword [edi + 0x4c], eax
call esi
push 0x4fb454
push dword [edi + 0x6c]
mov dword [edi + 0x50], eax
call esi
push 0x4fb468
push dword [edi + 0x6c]
mov dword [edi + 0x54], eax
call esi
push str.InternetCrackUrlW
push dword [edi + 0x6c]
mov dword [edi + 0x58], eax
call esi
push 0x4fb490
push dword [edi + 0x6c]
mov dword [edi + 0x5c], eax
call esi
push str.InternetQueryDataAvailable
push dword [edi + 0x6c]
mov dword [edi + 0x60], eax
call esi
mov dword [edi + 0x64], eax
cmp dword [edi + 0x3c], ebx
je 0x495b22
cmp dword [edi + 0x40], ebx
je 0x495b22
cmp dword [edi + 0x44], ebx
je 0x495b22
cmp dword [edi + 0x48], ebx
je 0x495b22
cmp dword [edi + 0x4c], ebx
je 0x495b22
cmp dword [edi + 0x50], ebx
je 0x495b22
cmp dword [edi + 0x54], ebx
je 0x495b22
cmp dword [edi + 0x58], ebx
je 0x495b22
cmp dword [edi + 0x5c], ebx
je 0x495b22
cmp dword [edi + 0x60], ebx
je 0x495b22
inc ebx
mov dword [edi + 0x38], ebx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc11d
mov esp, ebp
pop ebp
ret
Function at 0x495fcf
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x210], esi
lea edx, [edi + 2]
mov ax, word [edi]
add edi, 2
cmp ax, si
jne 0x495ff8
sub edi, edx
lea eax, [ebp - 0x218]
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0x214]
sar edi, 1
cmp edx, edi
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x214], edi
cmovae eax, esi
push dword [eax]
push ecx
push ebx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x49603c
xor eax, eax
jmp 0x4960f1
xor ecx, ecx
lea eax, [ebp - 0x20c]
push ecx
push dword [ebp + 0x14]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x496035
push 0x50c8cc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.00426b68
lea esi, [ebp - 0x20c]
xor edx, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x496075
sub esi, ecx
mov ecx, ebx
sar esi, 1
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x210]
jne 0x496089
sub ecx, edx
sar ecx, 1
mov edx, ecx
sub edx, edi
lea eax, [edx + esi]
mov dword [ebp - 0x210], eax
lea eax, [ecx + esi]
cmp eax, edi
jbe 0x496035
lea eax, [esi + 1]
add eax, edx
cmp eax, dword [ebp + 0xc]
jae 0x496035
lea eax, [edx + edx]
add esi, esi
push eax
lea eax, [ebx + edi*2]
push eax
lea eax, [esi + ebx]
push eax
call fcn.004bc510
push esi
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.004beb50
mov eax, dword [ebp - 0x210]
xor ecx, ecx
add esp, 0x18
mov word [ebx + eax*2], cx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc11d
mov esp, ebp
pop ebp
ret

Function at 0x49b435
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
lea ecx, [ebp - 4]
call fcn.00425b11
push dword [ebp + 8]
lea ecx, [ebp - 8]
call fcn.00425b11
lea eax, [ebp - 8]
push eax
call fcn.0049dd3c
mov edi, dword [ebp - 8]
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
je 0x49b473
mov esi, dword [ebp - 4]
jmp 0x49b4cb
push ebx
push edi
call fcn.0049da2b
pop ecx
pop ecx
test eax, eax
jne 0x49b4c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x49b4c6
lea eax, [ebp - 4]
push eax
call fcn.0049ddba
mov esi, dword [ebp - 4]
pop ecx
cmp dword [esi - 0xc], ebx
je 0x49b4cc
push esi
call fcn.0049b435
pop ecx
test eax, eax
je 0x49b4cc
push ebx
push edi
call fcn.0049da2b
pop ecx
pop ecx
test eax, eax
jne 0x49b4c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x49b4c9
jmp 0x49b4cc
mov esi, dword [ebp - 4]
xor ebx, ebx
inc ebx
lea ecx, [edi - 0x10]
call fcn.004209ab
lea ecx, [esi - 0x10]
call fcn.004209ab
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49b78b
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor ebx, ebx
mov esi, 0x55913c
push str.CreateShellLink_start...
push esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
call fcn.004a985e
pop ecx
pop ecx
lea eax, [ebp - 4]
push eax
push 0x50186c
push 1
push ebx
push 0x5018cc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jns 0x49b7e2
push edi
push str.CoCreateInstance__0x_x
push esi
call fcn.004a985e
mov esi, dword [ebp + 0xc]
add esp, 0xc
jmp 0x49b8c8
mov eax, dword [ebp - 4]
push dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x49b804
cmp word [edx], bx
je 0x49b804
mov eax, dword [ebp - 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x49b81a
cmp word [esi], bx
je 0x49b81a
mov eax, dword [ebp - 4]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
push 5
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test esi, esi
je 0x49b85a
call fcn.0049db2c
test eax, eax
je 0x49b85a
push dword [ebp - 4]
lea ecx, [ebp - 8]
call fcn.0049afa6
cmp dword [ebp - 8], ebx
je 0x49b85a
push esi
push dword [ebp - 8]
call fcn.0040d460
mov eax, dword [ebp - 8]
pop ecx
pop ecx
test eax, eax
je 0x49b85a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xc]
push edx
push 0x5018fc
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, dword [ebp + 0xc]
test eax, eax
js 0x49b8b8
push dword [ebp + 0x10]
mov ebx, 0x55913c
push esi
push dword [ebp + 8]
push 0x4fc2a0
push ebx
call fcn.004a985e
mov eax, dword [ebp - 0xc]
add esp, 0x14
mov ecx, dword [eax]
push 1
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x18]
mov edi, eax
test edi, edi
jns 0x49b8af
push edi
push str.Save__0x_x
push ebx
call fcn.004a985e
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor ebx, ebx
test edi, edi
setns bl
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
push ebx
push str.CreateShellLink_return:_d__file:_ws__cmd:_ws__link:_ws
push 0x55913c
call fcn.004a985e
add esp, 0x18
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49b931
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x408]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push eax
push 0xf003f
push esi
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49b9e6
lea eax, [ebp - 0x414]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x404]
push eax
push esi
jmp 0x49b9b8
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call fcn.0049b931
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x49b9f7
lea eax, [ebp - 0x414]
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x404]
push eax
push ecx
push dword [ebp - 0x408]
mov dword [ebp - 0x40c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x49b983
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc11d
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x49b9e6

Function at 0x49bde2
Capabilities:
Acquire debug privileges

Disassembly:
push 0x2c
push 0x527470
call fcn.004c2250
xor esi, esi
mov ebx, esi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x2c], esi
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 4], esi
lea eax, [ebp - 0x30]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x49be76
lea eax, [ebp - 0x3c]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x49be76
xor edi, edi
inc edi
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 2
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x49be76
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
cmovne ebx, edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.0049be8f
mov eax, ebx
call fcn.004c2298
ret
Function at 0x49c2ae
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49c36e
lea eax, [ebp - 0x214]
mov dword [ebp - 0x210], esi
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], esi
push eax
push edi
call fcn.0049c381
add esp, 0xc
test al, al
je 0x49c36e
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.004bf1a0
mov ecx, dword [ebp - 0x214]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x210]
movzx eax, cx
push eax
shr ecx, 0x10
lea eax, [ebp - 0x20c]
push ecx
push 0x50c6d0
push 0x104
push eax
call fcn.004c033d
lea eax, [ebp - 0x20c]
push eax
call fcn.00424236
add esp, 0x2c
mov ecx, ebx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004241bd
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc11d
mov esp, ebp
pop ebp
ret

Function at 0x49c381
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
xor ebx, ebx
push edi
mov dword [eax], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
mov dword [eax], ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x49c408
push esi
push edi
call fcn.004badc8
pop ecx
mov esi, eax
push esi
push edi
push dword [ebp - 4]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x49c3fc
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
push 0x50c8cc
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x49c3fc
cmp dword [ebp - 8], ebx
je 0x49c3fc
mov ecx, dword [ebp - 0xc]
mov bl, 1
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
test esi, esi
je 0x49c407
push esi
call fcn.004bbc06
pop ecx
pop esi
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49c410
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push str.IsCreateLink_Start
mov edi, 0x55913c
xor ebx, ebx
push edi
call fcn.004a985e
pop ecx
pop ecx
push ebx
push str.Softwareliebao
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.0049da6c
test eax, eax
je 0x49c5f9
call fcn.00420e9a
push eax
lea ecx, [ebp - 4]
call fcn.00423ea0
lea eax, [ebp - 4]
push eax
push 0x4fbdb4
lea ecx, [ebp - 0x14]
call fcn.0049de03
mov esi, dword [ebp - 4]
push esi
push str.IsCreateLink_strPid:_s
push edi
call fcn.004a985e
add esp, 0xc
cmp dword [ebp - 0x14], ebx
je 0x49c48d
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
push 0x4fc438
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
call fcn.0049da6c
push 1
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x14]
mov edi, eax
call fcn.0049da6c
push eax
push edi
push str.IsCreateLink_bExist1:_d__bExist2:_d
push 0x55913c
mov dword [ebp - 4], eax
call fcn.004a985e
add esp, 0x10
test edi, edi
jne 0x49c61e
cmp dword [ebp - 4], ebx
jne 0x49c61e
call fcn.00420e9a
push eax
lea ecx, [ebp - 4]
call fcn.00423ea0
push 0x104
lea ecx, [ebp - 4]
call fcn.00423ed3
push eax
push ebx
push 0x19
push ebx
call fcn.0049e0ed
add esp, 0x10
lea ecx, [ebp - 4]
push 0xffffffffffffffff
call fcn.00425b83
lea eax, [ebp - 4]
push eax
call fcn.0049dd3c
mov edi, str.qQ
push edi
call fcn.00424236
pop ecx
pop ecx
push eax
push edi
lea ecx, [ebp - 4]
call fcn.0043af25
mov edi, dword [ebp - 4]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call ebx
push 0
push edi
push str.IsCreateLink_strDesktopPath:_ws__bCreate:_d
push 0x55913c
mov dword [ebp - 8], eax
call fcn.004a985e
add esp, 0x10
call fcn.00420e9a
push eax
lea ecx, [ebp - 4]
call fcn.00423ea0
push 0x104
lea ecx, [ebp - 4]
call fcn.00423ed3
push eax
xor eax, eax
push eax
push 0x19
push eax
call fcn.0049e0ed
add esp, 0x10
lea ecx, [ebp - 4]
push 0xffffffffffffffff
call fcn.00425b83
lea eax, [ebp - 4]
push eax
call fcn.0049dd3c
mov dword [esp], 0x4fc598
call fcn.00424236
pop ecx
push eax
push 0x4fc598
lea ecx, [ebp - 4]
call fcn.0043af25
push dword [ebp - 4]
call ebx
xor ebx, ebx
mov dword [ebp - 0xc], eax
push ebx
push edi
push str.IsCreateLink_strDesktopPath:_ws__bCreate:_d
push 0x55913c
call fcn.004a985e
add esp, 0x10
cmp dword [ebp - 8], ebx
jne 0x49c5d9
cmp dword [ebp - 0xc], ebx
jne 0x49c5d9
inc ebx
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004209ab
lea ecx, [edi - 0x10]
call fcn.004209ab
lea ecx, [esi - 0x10]
call fcn.004209ab
mov edi, 0x55913c
push str.IsCreateLink_End
push edi
call fcn.004a985e
pop ecx
pop ecx
cmp dword [ebp - 0x14], 0
je 0x49c615
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esi - 0x10]
call fcn.004209ab
jmp 0x49c606
Function at 0x49c81f
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
add eax, 0x41
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ecx + 4]
jb 0x49c883
ja 0x49c87e
mov eax, dword [ebp - 0x14]
cmp eax, dword [ecx]
jb 0x49c883
xor eax, eax
inc eax
jmp 0x49c885
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bc11d
mov esp, ebp
pop ebp
ret

Function at 0x49c928
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x228]
push ebx
push esi
push edi
xor edi, edi
push eax
inc edi
call fcn.00425b11
lea eax, [ebp - 0x228]
push eax
call fcn.0049dd3c
mov esi, str.liebao.exe
push esi
call fcn.00424236
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x228]
call fcn.0043af25
push edi
call fcn.0049ba72
mov esi, dword [ebp - 0x228]
pop ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
test eax, eax
je 0x49ca55
lea eax, [ebp - 0x228]
mov dword [ebp - 0x22c], ebx
push eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x228], ebx
push eax
push esi
call fcn.0049c381
add esp, 0xc
test al, al
je 0x49ca55
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.0049c18e
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.004bf1a0
mov ecx, dword [ebp - 0x228]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x22c]
movzx eax, cx
push eax
shr ecx, 0x10
lea eax, [ebp - 0x20c]
push ecx
push 0x50c6d0
push 0x104
push eax
call fcn.004c033d
cmp dword [ebp - 0x210], 8
lea eax, [ebp - 0x224]
cmovae eax, dword [ebp - 0x224]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0049b30c
add esp, 0x38
cmp eax, edi
je 0x49ca45
test eax, eax
jne 0x49ca47
mov edi, ebx
push ebx
push 1
lea ecx, [ebp - 0x224]
call fcn.00402540
push ebx
call fcn.0049ba72
pop ecx
lea ecx, [esi - 0x10]
call fcn.004209ab
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc11d
mov esp, ebp
pop ebp
ret
Function at 0x49ca77
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov dword [ebp - 0x234], eax
push 0x228
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], esi
push esi
push eax
call fcn.004bf1a0
add esp, 0xc
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x49cb2e
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x49cb27
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
mov ecx, dword [ebp - 0x228]
cmp ecx, ebx
je 0x49cb10
test ecx, ecx
je 0x49cb10
cmp ecx, 4
je 0x49cb10
push dword [ebp - 0x234]
lea eax, [ebp - 0x20c]
push eax
call fcn.004bcb54
pop ecx
pop ecx
test eax, eax
je 0x49cb23
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x49cae5
jmp 0x49cb26
xor esi, esi
inc esi
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004bc11d
mov esp, ebp
pop ebp
ret