joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449f20
Capabilities:
Create process on windows

Disassembly:
push 1
push 0
push 0
push 4
push 0x558b00
push 0
call fcn.0045fe10
cmp eax, 6
jne 0x449f51
push 1
push 0
push 0
push str.https:__cdn_file_ssl_pc.ludashi.com_pc_appstore_ludashi_ludashisetup2020.exe
push 0x55493c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x44a650
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53db46
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x59bc84]
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 0x44a6fc
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x44a6fc
call fcn.004369c0
mov edi, eax
jmp 0x44a81b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x44a71f
call fcn.004369c0
jmp 0x44a80e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x44a73d
call fcn.004369c0
jmp 0x44a80e
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 0x44a75e
mov edi, 0x8007000e
jmp 0x44a810
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x44a854
jb 0x44a77c
cmp eax, 0xffffffff
ja 0x44a854
cmp eax, 0x400
jbe 0x44a791
push eax
lea ecx, [ebp - 0x418]
call fcn.00446bb0
jmp 0x44a7b7
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x44a7b7
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x44a7ce
mov edi, 0x8007000e
jmp 0x44a810
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 0x44a7ee
call fcn.004369c0
jmp 0x44a80e
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.0044a4b0
mov edi, eax
test esi, esi
je 0x44a81b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x44a834
lea ecx, [ebp - 0x418]
call fcn.004485d0
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.0049dec8
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.0040aab0
int3
Function at 0x44d500
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53dd18
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x59bc84]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0040ca70
mov ecx, eax
test ecx, ecx
je 0x44d681
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 0x44d581
test edx, 0xffff0000
jne 0x44d567
movzx eax, dx
lea ecx, [ebp - 0x14]
push eax
call fcn.0040d400
jmp 0x44d58d
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44d570
sub ecx, esi
sar ecx, 1
jmp 0x44d583
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.0040d5b0
push str._net_netload.dll
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040ba50
add esp, 0xc
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44d62a
push dword [ebp - 0x10]
call fcn.00497be0
add esp, 4
test eax, eax
je 0x44d62a
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x44d62a
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 0x44d62a
cmp dword [edi + 8], 0
je 0x44d62a
cmp dword [edi + 0xc], 0
je 0x44d62a
test eax, eax
je 0x44d62a
mov esi, 1
jmp 0x44d62c
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 0x44d64d
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 0x44d66c
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.0040aab0
int3
Function at 0x452ff0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53e4a6
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x59bc84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0040ca70
mov ecx, eax
test ecx, ecx
je 0x453130
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.0040ade0
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.004346a0
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.00430840
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x50]
call fcn.004543f0
cmp dword [ebp + 0xc], 0
jne 0x4530f5
push str.file_copy_finish__failed
call fcn.0044d190
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e3050
add esp, 0x10
call fcn.00462840
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 0x4530f5
lea eax, [ebp - 0x218]
push eax
call fcn.0040f3a0
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 0x453114
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.0049dec8
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.0040aab0
int3
Function at 0x458350
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x59bc84]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, ecx
push 0
push eax
call fcn.004e3050
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [edi + 0x58]
call dword [sym.imp.USER32.dll_GetWindowTextW]
call fcn.00462840
test eax, eax
je 0x4583b1
mov ecx, dword [eax]
lea edx, [ebp - 0x20c]
push edx
push eax
call dword [ecx + 0x30]
test eax, eax
jne 0x4583b1
lea esi, [eax + 1]
jmp 0x4583b3
xor esi, esi
mov edx, dword [edi + 0x8c]
test edx, edx
je 0x4583c9
mov ecx, dword [edx]
mov eax, esi
xor eax, 1
push eax
push edx
call dword [ecx + 0x14]
mov ecx, dword [edi + 0x84]
test ecx, ecx
je 0x4583da
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 0x30]
mov ecx, dword [edi + 0x88]
test ecx, ecx
je 0x4583eb
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 0x30]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0049dec8
mov esp, ebp
pop ebp
ret

Function at 0x458400
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53eb3b
mov eax, dword fs:[0]
push eax
mov eax, 0x4054
call fcn.0049e320
mov eax, dword [0x59bc84]
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
push 0x2000
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.004e3050
add esp, 0xc
lea eax, [ebp - 0x2010]
push 0x1000
push eax
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 4]
mov dword [ebp - 0x4060], eax
lea eax, [ebp - 0x2010]
mov dword [ebp - 0x4058], eax
mov dword [ebp - 0x4048], eax
lea eax, [ebp - 0x4060]
push eax
mov dword [ebp - 0x4054], 0x55ae08
mov dword [ebp - 0x4050], 0x59
mov dword [ebp - 0x4044], 0
mov dword [ebp - 0x404c], 0x456f60
mov dword [ebp - 0x405c], 0
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov edi, eax
test edi, edi
je 0x458595
push 0x2000
lea eax, [ebp - 0x4010]
push 0
push eax
call fcn.004e3050
add esp, 0xc
lea eax, [ebp - 0x4010]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x45858e
xor eax, eax
mov dword [ebp - 0x4018], 0
lea ecx, [ebp - 0x4010]
mov dword [ebp - 0x4014], 7
mov word [ebp - 0x4028], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458514
sub ecx, edx
lea eax, [ebp - 0x4010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x4028]
call fcn.004125f0
lea eax, [ebp - 0x4028]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x4040]
push eax
call fcn.00410830
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4028]
call fcn.004106a0
cmp dword [ebp - 0x402c], 8
lea eax, [ebp - 0x4040]
cmovae eax, dword [ebp - 0x4040]
push eax
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x4040]
call fcn.004106a0
mov ecx, esi
call fcn.00458350
xor eax, eax
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.0049dec8
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4589b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ec4b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x59bc84]
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, dword [ebp + 8]
push esi
call fcn.00425960
call fcn.00444a80
mov ecx, eax
call fcn.0043fca0
cmp dword [eax], 0
je 0x4589ff
lea ecx, [esi - 0x24]
call fcn.00458e10
call fcn.00444a80
cmp dword [eax + 0x74], 0
je 0x458ac9
call fcn.00462840
push 0x208
mov edi, eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e3050
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [edi]
lea ecx, [ebp - 0x218]
push ecx
push edi
call dword [eax + 0x30]
test eax, eax
je 0x458a69
push 9
lea ecx, [esi + 4]
call fcn.00457150
test eax, eax
je 0x458ac9
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x14]
jmp 0x458ac9
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040dd80
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 0
call fcn.0043c750
lea ecx, [ebp - 0x21c]
call fcn.0043c850
push dword [ebp - 0x21c]
mov eax, dword [edi]
push edi
call dword [eax + 0x24]
mov edx, dword [ebp - 0x21c]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x458ac9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00444a80
mov ecx, eax
call fcn.0043fc80
cmp dword [eax], 0
je 0x458aec
push 0
push 0
push 0x15eb
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
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.0049dec8
mov esp, ebp
pop ebp
ret 4
Function at 0x45de90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x59bc84]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x804]
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
push 0x800
push 0
push eax
mov dword [ebp - 0x808], esi
call fcn.004e3050
add esp, 0xc
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x45ded4
mov eax, dword [ebx]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [edi + 0x14], 8
jb 0x45deea
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [ebx + 0x10], 0
je 0x45df49
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45df49
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x804]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45df30
sub ecx, edx
lea eax, [ebp - 0x804]
sar ecx, 1
push ecx
push eax
jmp 0x45df62
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x5539e4
mov ecx, esi
call fcn.004125f0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049dec8
mov esp, ebp
pop ebp
ret 8

Function at 0x45df80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f3b9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x59bc84]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
test eax, eax
jle 0x45e080
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x45e080
mov ebx, dword [ebp + 0x10]
push ecx
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x45e080
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x45e080
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45e080
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x45e080
mov ecx, dword [esi + 0x10]
cmp edi, ecx
ja 0x45e042
mov dword [esi + 0x10], edi
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x45e03c
mov eax, dword [esi]
mov byte [eax + edi], 0
jmp 0x45e050
mov eax, edi
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.0043cce0
cmp dword [esi + 0x10], edi
je 0x45e06b
mov dword [esi + 0x10], 0
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x45e066
mov ecx, dword [esi]
mov byte [ecx], 0
jmp 0x45e080
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x45e075
mov eax, dword [esi]
push edi
push ebx
push eax
call fcn.004e37e0
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45e410
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f418
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x59bc84]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
cmp dword [edi + 0x14], 8
mov eax, edi
mov dword [ebp - 4], 0
jb 0x45e460
mov eax, dword [edi]
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.0043c260
mov ebx, dword [ebp - 0x14]
add esp, 8
mov esi, dword [ebp - 0x18]
cmp esi, ebx
je 0x45e48a
push 4
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esi, 4
cmp esi, ebx
jne 0x45e477
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x45e499
mov edi, dword [edi]
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [edi], ax
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x45e503
mov edi, dword [ebp - 0x14]
cmp esi, edi
je 0x45e4d7
mov edx, dword [esi]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e4cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x45e4b3
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x45e4f9
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e515
push ecx
push esi
call fcn.0049dede
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004ffdd3
int3
Function at 0x462700
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x59bc84]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test esi, esi
je 0x4627b4
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004e3050
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, edi
push 0x104
push eax
call fcn.00462870
test eax, eax
jne 0x46277c
push 1
push 0x26
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.LuDaShi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0050e2a7
add esp, 0xc
mov eax, dword [edi]
lea ecx, [ebp - 0x20c]
push ecx
push edi
call dword [eax + 0x30]
test eax, eax
je 0x4627a1
push 0x12c
call fcn.00411180
add esp, 4
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0x10]
push esi
call fcn.0050e37c
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0049dec8
mov esp, ebp
pop ebp
ret 0xc

Function at 0x462870
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fcdb
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x59bc84]
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, dword [ebp + 8]
test esi, esi
jne 0x4628ab
xor eax, eax
jmp 0x4629b5
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e3050
lea eax, [ebp - 0x248]
mov dword [ebp - 0x250], 1
push 1
push eax
mov dword [ebp - 0x24c], 0x208
call fcn.00438b20
add esp, 0x14
mov edx, eax
cmp dword [edx + 0x14], 8
mov dword [ebp - 4], 0
jb 0x4628f4
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x462916
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.004125f0
lea ecx, [ebp - 0x248]
call fcn.004106a0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x24c]
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x250]
push ecx
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push str.Setup_Path
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4629a6
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4629a6
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0050e37c
add esp, 0xc
mov esi, 1
jmp 0x4629a8
xor esi, esi
lea ecx, [ebp - 0x230]
call fcn.004106a0
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.0049dec8
mov esp, ebp
pop ebp
ret 8
Function at 0x4633d0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fe06
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x59bc84]
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 eax, dword [ebp + 8]
lea ecx, [ebp - 0x824]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x818], eax
call fcn.0042ba90
push esi
push edi
push ebx
lea ecx, [ebp - 0x824]
mov dword [ebp - 4], 0
call fcn.0042be60
test eax, eax
jne 0x46343b
xor edi, edi
jmp 0x463533
call fcn.0040ca70
mov ecx, eax
test ecx, ecx
je 0x46355e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x814], eax
push 0
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x824]
call fcn.0042c060
test eax, eax
je 0x46350f
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.004e3050
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x55f590
push dword [ebp - 0x814]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x810]
push eax
call fcn.00497be0
add esp, 4
test eax, eax
je 0x46350f
lea eax, [ebp - 0x810]
push eax
call fcn.004a66c0
mov ecx, dword [ebp - 0x818]
lea edx, [ebp - 0x810]
mov edi, eax
lea esi, [edx + 2]
lea ecx, [ecx + 0x210]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4634e0
sub edx, esi
lea eax, [ebp - 0x810]
sar edx, 1
push edx
push eax
call fcn.0040d5b0
push 4
push 0
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x463511
xor edi, edi
mov esi, dword [ebp - 0x814]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x463533
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x824]
call fcn.0042bab0
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 - 0x10]
xor ecx, ebp
call fcn.0049dec8
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.0040aab0
int3
Function at 0x4636c0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fe46
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x59bc84]
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 eax, dword [ebp + 0x18]
lea ecx, [ebp - 0x824]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x818], eax
call fcn.0042ba90
push esi
push edi
push ebx
lea ecx, [ebp - 0x824]
mov dword [ebp - 4], 0
call fcn.0042be60
test eax, eax
jne 0x46372b
xor esi, esi
jmp 0x4637fb
call fcn.0040ca70
mov ecx, eax
test ecx, ecx
je 0x463826
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x814], eax
push 1
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x824]
call fcn.0042c060
test eax, eax
je 0x4637d7
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.004e3050
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x553a4c
push dword [ebp - 0x814]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x810]
push eax
call fcn.00497be0
add esp, 4
test eax, eax
je 0x4637d7
push 4
push 0
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0x810]
push eax
push 0x400
push dword [ebp - 0x818]
call fcn.0050e37c
add esp, 0xc
mov esi, 1
jmp 0x4637d9
xor esi, esi
mov edi, dword [ebp - 0x814]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4637fb
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x824]
call fcn.0042bab0
mov eax, esi
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.0049dec8
mov esp, ebp
pop ebp
ret 0x14
push 0x80004005
call fcn.0040aab0
int3