joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446fb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530178
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x589bb4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0040cb40
mov ecx, eax
test ecx, ecx
je 0x447131
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 0x447031
test edx, 0xffff0000
jne 0x447017
movzx eax, dx
lea ecx, [ebp - 0x14]
push eax
call fcn.0040d5d0
jmp 0x44703d
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x447020
sub ecx, esi
sar ecx, 1
jmp 0x447033
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.0040d780
push str._net_netload.dll
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040bb20
add esp, 0xc
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4470da
push dword [ebp - 0x10]
call fcn.00494590
add esp, 4
test eax, eax
je 0x4470da
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x4470da
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 0x4470da
cmp dword [edi + 8], 0
je 0x4470da
cmp dword [edi + 0xc], 0
je 0x4470da
test eax, eax
je 0x4470da
mov esi, 1
jmp 0x4470dc
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 0x4470fd
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 0x44711c
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.0040ab80
int3
Function at 0x44ae50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530836
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x589bb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0040cb40
mov ecx, eax
test ecx, ecx
je 0x44af90
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.0040aeb0
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.0042f5c0
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.0042b770
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x50]
call fcn.0044c1d0
cmp dword [ebp + 0xc], 0
jne 0x44af55
push str.file_copy_finish__failed
call fcn.00446c40
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d5e40
add esp, 0x10
call fcn.0045f9f0
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 0x44af55
lea eax, [ebp - 0x218]
push eax
call fcn.0040f570
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 0x44af74
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.0049a7f8
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.0040ab80
int3
Function at 0x44cae0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530b50
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x589bb4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x54
call fcn.0049ad99
mov ecx, dword [ebp + 8]
mov esi, eax
lea edx, [esi + 4]
mov dword [ebp - 0x14], esi
add esp, 4
mov dword [ebp - 4], 0
lea edi, [edx + 4]
mov dword [ebp - 0x18], edx
mov dword [esi], 0x54d314
lea ebx, [ecx + 4]
mov eax, dword [ecx]
mov ecx, edi
push ebx
mov dword [edx], eax
mov dword [ebp + 8], edi
call fcn.00431890
lea eax, [ebx + 0x18]
mov byte [ebp - 4], 1
lea ecx, [edi + 0x18]
push eax
mov dword [ebp - 0x18], ecx
call fcn.00431890
lea eax, [ebx + 0x30]
mov byte [ebp - 4], 2
lea ecx, [edi + 0x30]
push eax
mov dword [ebp - 0x18], ecx
call fcn.00431890
mov eax, dword [ebx + 0x48]
mov dword [edi + 0x48], eax
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

Function at 0x44dde0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530d98
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x589bb4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 1
lea eax, [ebp - 0x10]
xor bl, bl
push 0x545970
push eax
call fcn.004b9c80
add esp, 0xc
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 4], 0
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44de30
sub ecx, esi
lea esi, [edi + 0x14]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.004371b0
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 0x44de6d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi + 0x14], 8
jb 0x44de75
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44deab
cmp dword [edi + 0x10], 0
jne 0x44de97
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x10], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44f930
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531041
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x589bb4]
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 edi, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
mov ecx, edi
push str.HKEY_LOCAL_MACHINE
call fcn.00452080
test eax, eax
jne 0x44f97d
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
jmp 0x44f9c1
push str.HKEY_CURRENT_USER
mov ecx, edi
call fcn.00452080
test eax, eax
jne 0x44f994
mov ebx, SysReAllocString
jmp 0x44f9c1
push 0x5453a4
mov ecx, edi
call fcn.00452080
test eax, eax
jne 0x44f9ab
mov ebx, SysReAllocString
jmp 0x44f9c1
push str.HKEY_USERS
mov ecx, edi
call fcn.00452080
test eax, eax
mov ecx, SysStringLen
cmove ebx, ecx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x44f9cb
mov eax, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x44f9d3
mov edi, dword [edi]
push eax
push edi
push 0x54c188
call fcn.00446c40
add esp, 0xc
test ebx, ebx
jne 0x44f9ed
xor al, al
jmp 0x44fb43
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d5e40
add esp, 0xc
mov dword [ebp - 0x230], 1
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [ebp - 0x22c], 0x208
jb 0x44fa21
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040df50
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.004b9370
add esp, 8
mov edx, dword [ebp - 0x21c]
or edi, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44fa6e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi + 0x14], 8
jb 0x44fa76
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x220]
call fcn.0040df50
push 0
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004b9260
mov edx, dword [ebp - 0x220]
add esp, 0xc
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44fabf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x224]
push dword [ebp - 0x228]
push ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x44fb00
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44fb00
mov bl, 1
jmp 0x44fb02
xor bl, bl
mov edx, dword [ebp - 0x224]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44fb1f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x228]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x44fb41
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
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.0049a7f8
mov esp, ebp
pop ebp
ret
Function at 0x455060
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x589bb4]
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.004d5e40
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [edi + 0x58]
call dword [sym.imp.USER32.dll_GetWindowTextW]
call fcn.0045f9f0
test eax, eax
je 0x4550c1
mov ecx, dword [eax]
lea edx, [ebp - 0x20c]
push edx
push eax
call dword [ecx + 0x30]
test eax, eax
jne 0x4550c1
lea esi, [eax + 1]
jmp 0x4550c3
xor esi, esi
mov edx, dword [edi + 0x8c]
test edx, edx
je 0x4550d9
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 0x4550ea
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 0x2c]
mov ecx, dword [edi + 0x88]
test ecx, ecx
je 0x455116
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 0x2c]
test esi, esi
mov ecx, 0x73d400
mov eax, 0xcbcbcb
cmovne eax, ecx
mov ecx, dword [edi + 0x88]
push eax
call fcn.0041cec0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0049a7f8
mov esp, ebp
pop ebp
ret
Function at 0x455130
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5317a6
mov eax, dword fs:[0]
push eax
mov eax, 0x402c
call fcn.0049ac50
mov eax, dword [0x589bb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x2000
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.004d5e40
add esp, 0xc
lea eax, [ebp - 0x2010]
push 0x1000
push eax
push dword [edi + 0x58]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [edi + 4]
mov dword [ebp - 0x4038], eax
lea eax, [ebp - 0x2010]
mov dword [ebp - 0x4030], eax
mov dword [ebp - 0x4020], eax
lea eax, [ebp - 0x4038]
push eax
mov dword [ebp - 0x402c], 0x54d638
mov dword [ebp - 0x4028], 0x59
mov dword [ebp - 0x401c], 0
mov dword [ebp - 0x4024], 0x4543d0
mov dword [ebp - 0x4034], 0
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov esi, eax
test esi, esi
je 0x45535a
push 0x2000
lea eax, [ebp - 0x4010]
push 0
push eax
call fcn.004d5e40
add esp, 0xc
lea eax, [ebp - 0x4010]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x455353
lea eax, [ebp - 0x4010]
push eax
lea ecx, [ebp - 0x4014]
call fcn.0040df50
push 7
lea eax, [ebp - 0x4018]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x4014]
call fcn.00423fc0
mov esi, dword [ebp - 0x4018]
push 0x545208
push esi
mov byte [ebp - 4], 1
call fcn.00500b12
add esp, 8
test eax, eax
je 0x455304
mov edx, dword [ebp - 0x4014]
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x1000
or eax, ecx
jge 0x45529b
push 0x1000
lea ecx, [ebp - 0x4014]
call fcn.0040afd0
mov edx, dword [ebp - 0x4014]
cmp dword [edx - 8], 0x1000
jl 0x455379
mov dword [edx - 0xc], 0x1000
xor ecx, ecx
mov eax, dword [ebp - 0x4014]
push 0x545208
push edx
mov word [eax + 0x2000], cx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [ebp - 0x4014]
push dword [eax - 8]
push eax
call fcn.005019a0
mov edx, eax
add esp, 8
test edx, edx
js 0x455379
mov ecx, dword [ebp - 0x4014]
cmp edx, dword [ecx - 8]
jg 0x455379
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x4014]
mov word [eax + edx*2], cx
push dword [ebp - 0x4014]
push dword [edi + 0x58]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x455331
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4014]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x455353
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, edi
call fcn.00455060
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.0049a7f8
mov esp, ebp
pop ebp
ret 0x10
push 0x80070057
call fcn.0040ab80
int3
Function at 0x455760
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5318ab
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x589bb4]
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.00420880
call fcn.0043ec20
mov ecx, eax
call fcn.0043a030
cmp dword [eax], 0
je 0x4557af
lea ecx, [esi - 0x24]
call fcn.00455b50
call fcn.0043ec20
cmp dword [eax + 0x70], 0
je 0x455879
call fcn.0045f9f0
push 0x208
mov edi, eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d5e40
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 0x455819
push 0xa
lea ecx, [esi + 4]
call fcn.004545c0
test eax, eax
je 0x455879
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x14]
jmp 0x455879
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040df50
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 0
call fcn.004368b0
lea ecx, [ebp - 0x21c]
call fcn.004369b0
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 0x455879
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0043ec20
mov ecx, eax
call fcn.0043a010
cmp dword [eax], 0
je 0x45589c
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.0049a7f8
mov esp, ebp
pop ebp
ret 4
Function at 0x455b50
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531941
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x589bb4]
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
call fcn.0045f9f0
push 0x208
mov edi, eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d5e40
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [esi + 0x58]
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 0x455be1
push 0xa
lea ecx, [esi + 0x28]
call fcn.004545c0
test eax, eax
je 0x455caa
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x14]
jmp 0x455caa
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040df50
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 0
call fcn.004368b0
lea ecx, [ebp - 0x21c]
call fcn.004369b0
push dword [ebp - 0x21c]
mov eax, dword [edi]
push edi
call dword [eax + 0x24]
mov eax, dword [esi + 0x44]
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x220], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.startpage_install
mov byte [ebp - 4], 1
call fcn.0042f5c0
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.0042b770
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x220], esp
mov dword [eax + 0x24], 0
push 0
push str.startpage_install
mov byte [ebp - 4], 2
call fcn.0042f5c0
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.0042b370
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 0x455caa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.0049a7f8
mov esp, ebp
pop ebp
ret
Function at 0x45f8d0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x589bb4]
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 0x45f984
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004d5e40
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, edi
push 0x104
push eax
call fcn.0045fa20
test eax, eax
jne 0x45f94c
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.005010a7
add esp, 0xc
mov eax, dword [edi]
lea ecx, [ebp - 0x20c]
push ecx
push edi
call dword [eax + 0x30]
test eax, eax
je 0x45f971
push 0x12c
call fcn.004109c0
add esp, 4
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0x10]
push esi
call fcn.0050117c
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0049a7f8
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53294b
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x589bb4]
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 0x45fa5b
xor eax, eax
jmp 0x45fb65
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d5e40
lea eax, [ebp - 0x248]
mov dword [ebp - 0x250], 1
push 1
push eax
mov dword [ebp - 0x24c], 0x208
call fcn.004338e0
add esp, 0x14
mov edx, eax
cmp dword [edx + 0x14], 8
mov dword [ebp - 4], 0
jb 0x45faa4
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 0x45fac6
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.004371b0
lea ecx, [ebp - 0x248]
call fcn.00425e20
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 0x45fb56
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45fb56
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0050117c
add esp, 0xc
mov esi, 1
jmp 0x45fb58
xor esi, esi
lea ecx, [ebp - 0x230]
call fcn.00425e20
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.0049a7f8
mov esp, ebp
pop ebp
ret 8
Function at 0x460580
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532a76
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x589bb4]
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.004269e0
push esi
push edi
push ebx
lea ecx, [ebp - 0x824]
mov dword [ebp - 4], 0
call fcn.00426db0
test eax, eax
jne 0x4605eb
xor edi, edi
jmp 0x4606e3
call fcn.0040cb40
mov ecx, eax
test ecx, ecx
je 0x46070e
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.00426fb0
test eax, eax
je 0x4606bf
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.004d5e40
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x5520e8
push dword [ebp - 0x814]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x810]
push eax
call fcn.00494590
add esp, 4
test eax, eax
je 0x4606bf
lea eax, [ebp - 0x810]
push eax
call fcn.004a2ff0
mov ecx, dword [ebp - 0x818]
lea edx, [ebp - 0x810]
mov edi, eax
lea esi, [edx + 2]
lea ecx, [ecx + 0x20c]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x460690
sub edx, esi
lea eax, [ebp - 0x810]
sar edx, 1
push edx
push eax
call fcn.0040d780
push 4
push 0
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x4606c1
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 0x4606e3
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x824]
call fcn.00426a00
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.0049a7f8
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.0040ab80
int3