joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442970
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561806
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x5c9c4c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], 0
push dword [edi]
mov dword [ebp - 4], 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 1
test esi, esi
jle 0x442a8f
lea eax, [esi + 1]
mov byte [ebp - 4], 2
mov ecx, 2
mul ecx
test edx, edx
ja 0x442ae0
jb 0x442a16
cmp eax, 0xffffffff
ja 0x442ae0
cmp eax, 0x80
jbe 0x442a2b
push eax
lea ecx, [ebp - 0x98]
call fcn.00442920
jmp 0x442a51
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x98], ecx
jmp 0x442a57
mov ecx, dword [ebp - 0x98]
test ecx, ecx
je 0x442a7a
lea eax, [esi + 1]
push eax
push ecx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x442a89
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x98], eax
je 0x442a85
lea ecx, [ebp - 0x98]
call fcn.00442950
xor eax, eax
jmp 0x442ac2
mov eax, dword [ebp - 0x98]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
xor ebx, ebx
mov dword [edi], eax
test esi, esi
je 0x442aa3
test eax, eax
setne bl
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x98], eax
je 0x442ac0
lea ecx, [ebp - 0x98]
call fcn.00442950
nop dword [eax]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a9518
mov esp, ebp
pop ebp
ret 4
push 0x80070216
call fcn.0040ad60
int3
Function at 0x443070
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
push esi
and eax, 0x8000000f
jns 0x4435ab
dec eax
or eax, 0xfffffff0
add eax, 1
jne 0x44370a
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44370a
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push esi
movq qword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x443703
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x443703
cmp dword [ebp - 0x10], 0
jg 0x443703
jl 0x443614
cmp eax, 0x1000000
ja 0x443703
push edi
push 0x1000000
call fcn.004a9e68
add esp, 4
mov dword [ebp + 0x14], 0
mov edi, eax
lea eax, [ebp + 0x14]
push 0
push eax
push dword [ebp - 0x14]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4436e7
cmp dword [ebp + 0x14], 0
je 0x4436e7
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ebp + 8], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
push edi
call fcn.00443330
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 0x10]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4436b9
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push dword [ebp + 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
test eax, eax
jne 0x4436cf
call ebx
push 1
push esi
call fcn.004a952e
add esp, 8
xor al, al
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
call ebx
push 1
push esi
call fcn.004a952e
add esp, 8
mov al, 1
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
push 1
push edi
call fcn.004a952e
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4442a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561bf8
mov eax, dword fs:[0]
push eax
mov eax, dword [0x5c9c4c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
push dword [eax - 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00443fe0
push 0
sub esp, 0x28
mov dword [ebp + 8], esp
mov dword [eax + 0x48], 1
mov eax, esp
mov dword [eax + 0x24], 0
push 1
push 0
push str.finish_launch
mov dword [ebp - 4], 0
call fcn.004343f0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.004305a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x448f70
Capabilities:
Create process on windows

Disassembly:
push 1
push 0
push 0
push 4
push 0x57f88c
push 0
call fcn.0046bf90
cmp eax, 6
jne 0x448fa1
push 1
push 0
push 0
push str.https:__cdn_file_ssl_pc.ludashi.com_pc_appstore_ludashi_ludashisetup2020.exe
push 0x57b9ac
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x4496a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562536
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x5c9c4c]
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 0x44974c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x44974c
call fcn.00436700
mov edi, eax
jmp 0x44986b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x44976f
call fcn.00436700
jmp 0x44985e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x44978d
call fcn.00436700
jmp 0x44985e
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 0x4497ae
mov edi, 0x8007000e
jmp 0x449860
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x4498a4
jb 0x4497cc
cmp eax, 0xffffffff
ja 0x4498a4
cmp eax, 0x400
jbe 0x4497e1
push eax
lea ecx, [ebp - 0x418]
call fcn.00445f60
jmp 0x449807
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x449807
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x44981e
mov edi, 0x8007000e
jmp 0x449860
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 0x44983e
call fcn.00436700
jmp 0x44985e
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.00449500
mov edi, eax
test esi, esi
je 0x44986b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x449884
lea ecx, [ebp - 0x418]
call fcn.00447980
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.004a9518
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.0040ad60
int3
Function at 0x44c220
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562708
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5c9c4c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0040cd20
mov ecx, eax
test ecx, ecx
je 0x44c3a1
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 0x44c2a1
test edx, 0xffff0000
jne 0x44c287
movzx eax, dx
lea ecx, [ebp - 0x14]
push eax
call fcn.0040d6b0
jmp 0x44c2ad
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44c290
sub ecx, esi
sar ecx, 1
jmp 0x44c2a3
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.0040d860
push str._net_netload.dll
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040bd00
add esp, 0xc
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44c34a
push dword [ebp - 0x10]
call fcn.004a32a0
add esp, 4
test eax, eax
je 0x44c34a
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x44c34a
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 0x44c34a
cmp dword [edi + 8], 0
je 0x44c34a
cmp dword [edi + 0xc], 0
je 0x44c34a
test eax, eax
je 0x44c34a
mov esi, 1
jmp 0x44c34c
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 0x44c36d
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 0x44c38c
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0040ad60
int3
Function at 0x451590
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562e66
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x5c9c4c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0040cd20
mov ecx, eax
test ecx, ecx
je 0x4516d0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push str.ex2_d
push eax
call fcn.0040b090
add esp, 0xc
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x220], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0x21c]
push 0
push esi
push str.file_copy_end
mov byte [ebp - 4], 1
call fcn.004343f0
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.004305a0
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x50]
call fcn.00452900
cmp dword [ebp + 0xc], 0
jne 0x451695
push str.file_copy_finish__failed
call fcn.0044beb0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00506bc0
add esp, 0x10
call fcn.0046e930
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 0x451695
lea eax, [ebp - 0x218]
push eax
call fcn.0040f650
add esp, 4
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4516b4
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.004a9518
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.0040ad60
int3
Function at 0x457580
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563978
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5c9c4c]
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 0x57aa4c
push eax
call fcn.004d0f80
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 0x4575d0
sub ecx, esi
lea esi, [edi + 0xc]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00412730
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 0x45760d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi + 0x14], 8
jb 0x457615
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45764b
cmp dword [edi + 8], 0
jne 0x457637
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 8], 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 0x465800
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5c9c4c]
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.00506bc0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [edi + 0x58]
call dword [sym.imp.USER32.dll_GetWindowTextW]
call fcn.0046e930
test eax, eax
je 0x465861
mov ecx, dword [eax]
lea edx, [ebp - 0x20c]
push edx
push eax
call dword [ecx + 0x30]
test eax, eax
jne 0x465861
lea esi, [eax + 1]
jmp 0x465863
xor esi, esi
mov edx, dword [edi + 0x8c]
test edx, edx
je 0x465879
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 0x46588a
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 0x30]
mov ecx, dword [edi + 0x88]
test ecx, ecx
je 0x46589b
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.004a9518
mov esp, ebp
pop ebp
ret
Function at 0x4658b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564b46
mov eax, dword fs:[0]
push eax
mov eax, 0x402c
call fcn.004a9970
mov eax, dword [0x5c9c4c]
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.00506bc0
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], 0x583578
mov dword [ebp - 0x4028], 0x59
mov dword [ebp - 0x401c], 0
mov dword [ebp - 0x4024], 0x464c30
mov dword [ebp - 0x4034], 0
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov esi, eax
test esi, esi
je 0x465ada
push 0x2000
lea eax, [ebp - 0x4010]
push 0
push eax
call fcn.00506bc0
add esp, 0xc
lea eax, [ebp - 0x4010]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x465ad3
lea eax, [ebp - 0x4010]
push eax
lea ecx, [ebp - 0x4014]
call fcn.0040e030
push 7
lea eax, [ebp - 0x4018]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x4014]
call fcn.00428e40
mov esi, dword [ebp - 0x4018]
push 0x57a2f8
push esi
mov byte [ebp - 4], 1
call fcn.00531f02
add esp, 8
test eax, eax
je 0x465a84
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 0x465a1b
push 0x1000
lea ecx, [ebp - 0x4014]
call fcn.0040b1b0
mov edx, dword [ebp - 0x4014]
cmp dword [edx - 8], 0x1000
jl 0x465af9
mov dword [edx - 0xc], 0x1000
xor ecx, ecx
mov eax, dword [ebp - 0x4014]
push 0x57a2f8
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.00532d90
mov edx, eax
add esp, 8
test edx, edx
js 0x465af9
mov ecx, dword [ebp - 0x4014]
cmp edx, dword [ecx - 8]
jg 0x465af9
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 0x465ab1
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 0x465ad3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, edi
call fcn.00465800
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.004a9518
mov esp, ebp
pop ebp
ret 0x10
push 0x80070057
call fcn.0040ad60
int3
Function at 0x465f00
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564c4b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5c9c4c]
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.004256d0
call fcn.00443f50
mov ecx, eax
call fcn.0043f350
cmp dword [eax], 0
je 0x465f4f
lea ecx, [esi - 0x24]
call fcn.00466360
call fcn.00443f50
cmp dword [eax + 0x74], 0
je 0x466019
call fcn.0046e930
push 0x208
mov edi, eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00506bc0
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 0x465fb9
push 9
lea ecx, [esi + 4]
call fcn.00464e20
test eax, eax
je 0x466019
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x14]
jmp 0x466019
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040e030
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 0
call fcn.0043be00
lea ecx, [ebp - 0x21c]
call fcn.0043bf00
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 0x466019
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00443f50
mov ecx, eax
call fcn.0043f330
cmp dword [eax], 0
je 0x46603c
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.004a9518
mov esp, ebp
pop ebp
ret 4
Function at 0x466360
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564ce1
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x5c9c4c]
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.0046e930
push 0x208
mov edi, eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00506bc0
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 0x4663f1
push 9
lea ecx, [esi + 0x28]
call fcn.00464e20
test eax, eax
je 0x4664ba
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x14]
jmp 0x4664ba
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040e030
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 0
call fcn.0043be00
lea ecx, [ebp - 0x21c]
call fcn.0043bf00
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.004343f0
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.004305a0
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.004343f0
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.004301a0
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 0x4664ba
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.004a9518
mov esp, ebp
pop ebp
ret