joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448af0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x394]
test ecx, ecx
je 0x448b1d
mov eax, dword [ecx]
push 0x62f1a8
call dword [eax + 0x30]
mov ecx, dword [esi + 0x394]
sub esp, 0x10
mov eax, esp
xorps xmm0, xmm0
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x38]
push dword [esi + 0x368]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x448b3b
push 0
push dword [esi + 0x368]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret
Function at 0x44ce30
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x620689
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x68d9ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
push 0
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ebx, eax
shl ebx, 0x10
mov dword [ebp + 0xc], ebx
cmp esi, 0x2d
je 0x44ce9a
cmp esi, 0x2e
je 0x44ce9a
cmp esi, 0x90
je 0x44ce9a
cmp esi, 0x21
jb 0x44ce94
cmp esi, 0x28
jbe 0x44ce9a
cmp dword [ebp + 0x10], 0
je 0x44cea3
or ebx, 0x1000000
mov dword [ebp + 0xc], ebx
call fcn.00407320
mov ecx, eax
test ecx, ecx
je 0x44cf6b
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
mov esi, 0x40
mov dword [ebp - 0x10], 1
add esi, esi
js 0x44cf61
mov eax, dword [edi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or ecx, eax
jge 0x44cef5
push esi
mov ecx, edi
call fcn.00407d40
mov ecx, dword [edi]
cmp esi, dword [ecx - 8]
jg 0x44cf61
mov dword [ecx - 0xc], esi
xor edx, edx
mov eax, dword [edi]
mov word [eax + esi*2], dx
lea eax, [esi + 1]
push eax
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44cf30
mov ecx, dword [edi]
test ecx, ecx
jne 0x44cf24
xor eax, eax
jmp 0x44cf34
push dword [ecx - 8]
push ecx
call fcn.005e6c78
add esp, 8
test eax, eax
js 0x44cf61
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x44cf61
mov dword [ecx - 0xc], eax
xor edx, edx
mov ecx, dword [edi]
cmp ebx, esi
mov ebx, dword [ebp + 0xc]
mov word [ecx + eax*2], dx
je 0x44ced2
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00407030
push 0x80004005
call fcn.00407030
int3
Function at 0x44dfe0
Capabilities:
Get common file path
Get file system object information
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6207cf
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x68d9ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2e4], 0
mov eax, dword [ebx + 4]
cmp dword [eax - 0xc], 0
jl 0x44e193
push str.Immersive_Control_Panel.lnk
push eax
call fcn.005e339a
add esp, 8
test eax, eax
je 0x44e193
sub eax, dword [ebx + 4]
sar eax, 1
cmp eax, 0xffffffff
je 0x44e193
xor eax, eax
mov dword [ebp - 4], 0
mov word [ebp - 0x28], ax
mov edi, 7
lea eax, [ebp - 0x2e0]
mov dword [ebp - 0x2e0], 0
push eax
push 0
push 0
push 3
push 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x2e4], 1
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
js 0x44e143
push 0x2b4
lea eax, [ebp - 0x2dc]
push 0
push eax
call fcn.005e3240
add esp, 0xc
lea eax, [ebp - 0x2dc]
push 0x208
push 0x2b4
push eax
push 0xffffffffffffffff
push dword [ebp - 0x2e0]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
js 0x44e143
lea ecx, [ebp - 0x2d0]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44e0e0
sub ecx, edx
lea eax, [ebp - 0x2d0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00417880
mov edi, dword [ebp - 0x14]
lea esi, [ebp - 0x28]
cmp edi, 8
cmovae esi, dword [ebp - 0x28]
cmp dword [ebp - 0x18], 7
jne 0x44e143
mov ecx, str._b_tg
mov edx, 7
sub esi, ecx
nop
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x44e143
add ecx, 2
sub edx, 1
jne 0x44e120
push 4
push 0x636080
lea ecx, [ebp - 0x28]
call fcn.00417880
mov edi, dword [ebp - 0x14]
push dword [ebp - 0x2e0]
call dword [sym.imp.SHELL32.dll_ILFree]
cmp edi, 8
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
test edx, edx
jne 0x44e161
xor ecx, ecx
jmp 0x44e175
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44e166
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 8]
call fcn.0040b130
lea ecx, [ebp - 0x28]
call fcn.0040eec0
mov eax, dword [ebx + 8]
cmp dword [eax - 0xc], 0
setne al
jmp 0x44e195
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f9a43
mov esp, ebp
pop ebp
ret
Function at 0x44e6c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6208f3
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x68d9ac]
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 edi, ecx
push 0xc
call fcn.004f9a77
add esp, 4
mov dword [ebp - 0x250], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x44e717
mov ecx, eax
call fcn.00503970
jmp 0x44e719
xor eax, eax
push 0x208
mov dword [edi], eax
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.005e3240
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push str.HaloDesktopData
push eax
call esi
push str.halosearch.db
lea eax, [ebp - 0x21c]
push eax
call esi
mov ecx, dword [edi]
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 4], 1
call fcn.00504520
mov eax, 1
jmp 0x44e8b2
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.004f9a43
mov esp, ebp
pop ebp
ret
Function at 0x4521a0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x620ee5
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x68d9ac]
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 - 0x21c], esi
mov dword [ebp - 0x220], esi
call fcn.00407320
mov ecx, eax
test ecx, ecx
je 0x4522fc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
call fcn.00407320
mov ecx, eax
test ecx, ecx
je 0x452306
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi + 8], 0
call fcn.00452320
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
push 0x208
lea eax, [ebp - 0x218]
mov dword [esi + 0x30], 0
push 0
push eax
mov byte [ebp - 4], 3
mov byte [esi + 0x34], 0
call fcn.005e3240
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.jiandeskDataUpdate
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4522a0
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str.JianUpdateInstall.exe
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x218]
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4522c0
sub edx, ecx
lea eax, [ebp - 0x218]
sar edx, 1
lea ecx, [esi + 4]
push edx
push eax
call fcn.0040b130
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.004f9a43
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00407030
push 0x80004005
call fcn.00407030
int3
Function at 0x4564b0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x68d9ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x456521
push eax
sub esp, 0x10
xorps xmm0, xmm0
mov eax, esp
mov ecx, edi
push 0
push 0x86000000
push 0x63682c
push 0
movups xmmword [eax], xmm0
call fcn.00488ba0
push 0x6c
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, eax
test esi, esi
je 0x456521
push esi
push 1
push 0x80
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [edi + 4]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push ecx
mov dword [esp], 0x3f800000
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040a3e0
mov eax, dword [ebp - 0x18]
add esp, 0x10
mov esi, dword [ebp - 0x20]
sub eax, esi
mov edx, dword [ebp - 0x24]
push 0x14
push eax
mov eax, dword [ebp - 0x1c]
sub eax, edx
push eax
push esi
push edx
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 1
mov ecx, edi
call fcn.004891b0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004f9a43
mov esp, ebp
pop ebp
ret

Function at 0x457270
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push esi
push 0
push 0x2000000
push 3
push 0
push 7
push SysReAllocStringLen
push dword [eax]
movq qword [ebp - 8], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4572b5
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x457df0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x68d9ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor bl, bl
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x457e66
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x457e5f
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.005f44d0
add esp, 8
test eax, eax
je 0x457e5d
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x457e36
jmp 0x457e5f
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f9a43
mov esp, ebp
pop ebp
ret

Function at 0x457e80
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61c03b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x68d9ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x21c], esi
call fcn.005e3240
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x636cac
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x457f10
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str.lds.set
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.00407320
mov ecx, eax
test ecx, ecx
je 0x457f9a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.00408fd0
test al, al
jne 0x457f7e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457f60
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040b130
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f9a43
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00407030
int3
Function at 0x458500
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x621848
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x68d9ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x21c], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005e3240
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45859e
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00420010
mov edx, dword [ebp + 0x20]
cmp edx, 8
jb 0x4585e2
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4585d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4585fe
push edx
push ecx
call fcn.004f9a35
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f9a43
mov esp, ebp
pop ebp
ret
call fcn.005e6a79
int3

Function at 0x458c00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00457e80
add esp, 4
push dword [eax]
push 0
push str.along
push str.desk_aide
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
mov eax, dword [ebp - 4]
setne bl
add eax, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x458c45
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459490
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62197b
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x68d9ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x4594e1
test byte [ebp - 0x44], 7
je 0x4594e1
mov al, 1
jmp 0x45959d
call fcn.0047ce80
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x45959b
push 0x3e
push str.d:jenkins.jenkinsworkspacehalodeskcoral_desktoputils.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.004080e0
push 3
push 0x6306cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004080e0
mov byte [ebp - 4], 1
call fcn.0047ce80
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x57c
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00420130
mov esi, eax
push 0x636c14
push esi
mov byte [ebp - 4], 2
call fcn.0040c9f0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.004209e0
lea ecx, [ebp - 0x28]
call fcn.00406be0
lea ecx, [ebp - 0x40]
call fcn.00406be0
xor al, al
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.004f9a43
mov esp, ebp
pop ebp
ret
Function at 0x459920
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x68d9ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005e3240
add esp, 0xc
mov dword [ebp - 0x434], 1
lea eax, [ebp - 0x430]
mov dword [ebp - 0x430], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x434]
push eax
push str.Setup_Path
push str.SOFTWAREludashi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
lea ecx, [ebp - 0x20c]
mov edx, 0x62f1a8
cmovne ecx, edx
push ecx
lea ecx, [ebp - 0x42c]
call fcn.00420010
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.005e3240
add esp, 0xc
lea eax, [ebp - 0x42c]
cmp dword [ebp - 0x418], 8
cmovae eax, dword [ebp - 0x42c]
push str.ComputerZ_CN.exe
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x418]
test eax, eax
setne bl
cmp edx, 8
jb 0x459a2f
mov ecx, dword [ebp - 0x42c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x459a25
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459a40
push edx
push ecx
call fcn.004f9a35
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004f9a43
mov esp, ebp
pop ebp
ret
call fcn.005e6a79
int3
Function at 0x45a1e0
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x621b06
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x68d9ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005e3240
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.MicrosoftInternet_ExplorerQuick_Launch
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005e3240
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x636b7c
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x636b7c
lea ecx, [ebp - 0x450]
call fcn.00420010
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x438]
call fcn.00420010
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x438]
push eax
push 0x150b
call fcn.00459bf0
mov edx, dword [ebp - 0x424]
add esp, 0xc
cmp edx, 8
jb 0x45a2ff
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45a2f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a3de
push edx
push ecx
call fcn.004f9a35
add esp, 8
mov edx, dword [ebp - 0x43c]
xor eax, eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
cmp edx, 8
jb 0x45a35c
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45a352
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a3e3
push edx
push ecx
call fcn.004f9a35
add esp, 8
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45a3c5
lea eax, [ebp - 0x420]
mov dword [ebp - 0x456], 0
mov dword [ebp - 0x468], eax
xorps xmm0, xmm0
mov eax, 0x614
movlpd qword [ebp - 0x45e], xmm0
mov word [ebp - 0x460], ax
lea eax, [ebp - 0x470]
push eax
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 3
mov dword [ebp - 0x464], 0
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f9a43
mov esp, ebp
pop ebp
ret
call fcn.005e6a79
call fcn.005e6a79
int3
Function at 0x45b8c0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x621bd1
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x68d9ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x224], ebx
call fcn.005e3240
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.jiandeskData
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45b956
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea eax, [esi + 0x28]
mov ecx, esi
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0045c200
push dword [ebp - 0x21c]
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, eax
test edx, edx
jne 0x45b985
xor ecx, ecx
jmp 0x45b99f
mov ecx, edx
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b990
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x21c]
call fcn.0040b130
movss xmm0, dword [esi + 0x50]
or edi, 0xffffffff
mulss xmm0, dword [0x637220]
cvttss2si esi, xmm0
cmp esi, 0x64
je 0x45ba2f
call fcn.00407320
mov ecx, eax
test ecx, ecx
je 0x45baf0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
push esi
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 1
push str._v2__x_d.png
push eax
call fcn.00407230
mov esi, dword [ebp - 0x220]
lea ecx, [ebp - 0x21c]
add esp, 0xc
push esi
push str..png
call fcn.0040a600
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45ba44
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45ba44
push str._v2.png
push str..png
lea ecx, [ebp - 0x21c]
call fcn.0040a600
push dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.00407320
mov ecx, eax
test ecx, ecx
je 0x45bafa
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
mov ecx, ebx
call fcn.00408fd0
test al, al
jne 0x45baae
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ba90
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.0040b130
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x45bad0
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
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 - 0x10]
xor ecx, ebp
call fcn.004f9a43
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00407030
push 0x80004005
call fcn.00407030
int3