joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45d0f0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45d107
add esp, 0xfffffff0
call fcn.00403aac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e17c
mov eax, dword [0x4a3db8]
cmp word [eax + 2], 0
jne 0x45d12f
mov eax, dword [0x4a3db8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e7cc
mov eax, dword [0x4a3eb8]
cmp word [eax + 2], 0
jne 0x45d149
mov eax, dword [0x4a3eb8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e9c4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x413644]
call fcn.00403718
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x413644]
call fcn.00403718
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x420704]
call fcn.0042849c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45d2d0
mov eax, dword [0x4a3c7c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042886c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45ef44
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a3c7c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c518
test eax, eax
je 0x45d23e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409284
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c540
test eax, eax
je 0x45d252
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004047a0
mov eax, dword [0x4a3a8c]
cmp byte [eax], 0
jne 0x45d286
mov eax, ebx
call fcn.0045d3f8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045f120
mov eax, ebx
call fcn.0045fa60
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45d2c6
call fcn.00403b04
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d66c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a5c38]
cmp dword [eax + 0x30], 0
je 0x45d716
cmp dword [ebx + 0x94], 0
jne 0x45d710
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45d5fc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45d710
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45d6d6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45d710
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00415e80
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45d6e5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45e1f4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45e229
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404628
jmp 0x45e236
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040458c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45f2fc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45f33d
mov eax, esi
call fcn.0044503c
test al, al
je 0x45f33d
mov eax, dword [ebx + 0x84]
call fcn.00444d38
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45f33d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00444d38
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45ff78
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x412c90]
call fcn.00405010
xor eax, eax
push ebp
push 0x4600bc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a2d50], 0
jne 0x45ffcb
mov ecx, dword [0x4a3ab8]
mov dl, 1
mov eax, dword [0x407ba4]
call fcn.0040b8c0
call fcn.00403f14
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403050
mov eax, ebx
call fcn.00404dc8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4600cc
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406498
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404dd8
test eax, eax
jle 0x460063
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46005c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004047b8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004047a0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408a50
test eax, eax
jne 0x46005c
mov ebx, 0x15
jmp 0x460068
mov ebx, 0x10
jmp 0x460068
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4a2d50]
call fcn.0045fed0
mov eax, dword [ebp - 8]
call fcn.0045fed0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004064b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4600c3
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040455c
lea eax, [ebp - 0x10]
mov edx, dword [0x412c90]
call fcn.004050e0
ret

Function at 0x46b694
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004049e8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x46b6ec
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a40a4]
mov dl, 1
mov eax, dword [0x46b24c]
call fcn.0040b8fc
call fcn.00403f14
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0046b354
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x484380
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4843ae
mov eax, ebx
call fcn.00484e38
cmp dword [ebx + 0x3c], 0
je 0x4843a7
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x48441f
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x484411
cmp dword [ebx + 8], 0
je 0x4843d0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x4843e2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x484411
cmp dword [ebx + 8], 0
je 0x4843c3
cmp eax, 3
je 0x4843f5
dec eax
jne 0x4843c3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4843c3
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x4843c3
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x48443d
cmp dword [ebx + 0x10], 0xcc
je 0x48443d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00484448
pop ebx
ret

Function at 0x4953c4
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004049d8
xor eax, eax
push ebp
push 0x495468
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404538
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.004047f0
mov esi, eax
test esi, esi
jle 0x49544a
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov al, byte [eax + edx - 1]
xor al, byte [ebx + 0x4a3a6c]
and eax, 0xff
lea ecx, [ebp - 0xc]
mov edx, 2
call fcn.00408df8
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.004047f8
lea eax, [ebx + 1]
mov ecx, 3
cdq
idiv ecx
mov ebx, edx
inc dword [ebp - 8]
dec esi
jne 0x49540b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49546f
lea eax, [ebp - 0xc]
call fcn.00404538
lea eax, [ebp - 4]
call fcn.00404538
ret
Function at 0x495478
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004049d8
xor eax, eax
push ebp
push 0x495549
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404538
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.004047f0
mov esi, eax
sar esi, 1
jns 0x4954bd
adc esi, 0
test esi, esi
jle 0x495526
mov dword [ebp - 8], 1
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 8]
add edx, edx
dec edx
mov ecx, 2
mov eax, dword [ebp - 4]
call fcn.00404a48
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 0x495560
call fcn.0040483c
mov eax, dword [ebp - 0x10]
call fcn.00408e34
mov edx, eax
mov al, byte [ebx + 0x4a3a6c]
xor dl, al
lea eax, [ebp - 0xc]
call fcn.00404718
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.004047f8
lea eax, [ebx + 1]
mov ecx, 3
cdq
idiv ecx
mov ebx, edx
inc dword [ebp - 8]
dec esi
jne 0x4954c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495550
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040455c
lea eax, [ebp - 4]
call fcn.00404538
ret

Function at 0x496190
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004049d8
xor eax, eax
push ebp
push 0x49620a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004047f0
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x3a
jne 0x4961cf
lea eax, [ebp - 4]
mov edx, 0x496220
call fcn.004047f8
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004049e8
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov ebx, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496211
lea eax, [ebp - 4]
call fcn.00404538
ret

Function at 0x497eb0
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004049d8
mov eax, dword [ebp - 8]
call fcn.004049d8
xor eax, eax
push ebp
push 0x497f45
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, ebx
test edx, edx
je 0x497ef1
sub edx, 0xffffb498
call fcn.004064b0
mov eax, dword [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004049e8
push eax
mov eax, dword [ebp - 4]
call fcn.004049e8
push eax
mov eax, dword [0x4a5e88]
test eax, eax
je 0x497f1a
sub eax, 0xffffffd4
push eax
call sub.URLMON.DLL_URLDownloadToFileA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497f4c
lea eax, [ebp - 0xc]
call fcn.00406498
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040455c
ret
Function at 0x4a125c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x4e
push 0
push 0
dec ecx
jne 0x4a1264
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049d8
xor eax, eax
push ebp
push 0x4a14c3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor edx, edx
mov eax, 0xf
call fcn.0049461c
mov edi, eax
cmp edi, 0xffffffff
je 0x4a149d
mov dword [ebp - 0x134], 0x128
lea edx, [ebp - 0x134]
mov eax, edi
call fcn.0049463c
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x4a1497
jmp 0x4a147c
lea eax, [ebp - 0x248]
lea edx, [ebp - 0x110]
mov ecx, 0x104
call fcn.004047a0
mov eax, dword [ebp - 0x248]
lea edx, [ebp - 0x244]
call fcn.00409138
mov eax, dword [ebp - 0x244]
lea edx, [ebp - 0x240]
call fcn.00408870
mov eax, dword [ebp - 0x240]
push eax
lea edx, [ebp - 0x250]
mov eax, dword [ebp - 4]
call fcn.00409138
mov eax, dword [ebp - 0x250]
lea edx, [ebp - 0x24c]
call fcn.00408870
mov edx, dword [ebp - 0x24c]
pop eax
call fcn.00404934
je 0x4a1396
lea eax, [ebp - 0x258]
lea edx, [ebp - 0x110]
mov ecx, 0x104
call fcn.004047a0
mov eax, dword [ebp - 0x258]
lea edx, [ebp - 0x254]
call fcn.00408870
mov eax, dword [ebp - 0x254]
push eax
lea edx, [ebp - 0x260]
mov eax, dword [ebp - 4]
call fcn.00409138
mov eax, dword [ebp - 0x260]
lea edx, [ebp - 0x25c]
call fcn.00408870
mov edx, dword [ebp - 0x25c]
pop eax
call fcn.00404934
jne 0x4a147c
mov eax, dword [ebp - 0x12c]
push eax
push 0
push 0x410
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x4a147c
push 0
push esi
call sub.kernel32.dll_TerminateProcess
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
call fcn.00494a20
test eax, eax
je 0x4a147c
lea eax, [ebp - 0x239]
mov edx, 0x105
call fcn.004076a4
push 0x105
lea ecx, [ebp - 0x239]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00494a50
lea edx, [ebp - 0x26c]
lea eax, [ebp - 0x239]
call fcn.00409440
mov eax, dword [ebp - 0x26c]
lea edx, [ebp - 0x268]
call fcn.00408ac0
mov eax, dword [ebp - 0x268]
lea edx, [ebp - 0x264]
call fcn.00408870
mov eax, dword [ebp - 0x264]
push eax
lea edx, [ebp - 0x274]
mov eax, dword [ebp - 4]
call fcn.00408ac0
mov eax, dword [ebp - 0x274]
lea edx, [ebp - 0x270]
call fcn.00408870
mov edx, dword [ebp - 0x270]
pop eax
call fcn.00404934
jne 0x4a147a
push 0
mov eax, dword [ebp - 0x12c]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov bl, 1
lea edx, [ebp - 0x134]
mov eax, edi
call fcn.0049465c
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
je 0x4a12cb
push edi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a14ca
lea eax, [ebp - 0x274]
mov edx, 0xe
call fcn.0040455c
lea eax, [ebp - 4]
call fcn.00404538
ret
Function at 0x403ab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45d9d6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.CMainWnd.0
mov dword [esi + 0x20], vtable.CMainWnd.1.0
mov dword [esi + 0x30], vtable.CMainWnd.2.0
mov dword [esi + 0x34], vtable.CMainWnd.3.0
mov dword [esi + 0x38], vtable.CMainWnd.4.0
mov dword [esp + 0x14], 1
mov edi, dword [esi + 0x43c]
test edi, edi
je 0x403b1a
mov ecx, edi
call sym.Install.exe_public:_void___thiscall_CAssistTask::destructor_void_
push edi
call fcn.00446950
add esp, 4
cmp dword [esi + 0x438], 8
jb 0x403b32
mov eax, dword [esi + 0x424]
push eax
call fcn.00446950
add esp, 4
xor eax, eax
mov dword [esi + 0x438], 7
mov dword [esi + 0x434], 0
mov ecx, esi
mov word [esi + 0x424], ax
mov dword [esp + 0x14], 0xffffffff
call fcn.00406aa0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x404000
Capabilities:
Get common file path
Get program files directory

Disassembly:
sub esp, 0x210
mov eax, dword [0x476110]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, ecx
push esi
lea esi, [ebx + 0x3c]
push str.btn_sys_close
mov ecx, esi
call fcn.0040f7d7
push str.btn_select
mov ecx, esi
mov dword [ebx + 0x3d4], eax
call fcn.0040f7d7
push str.option_startmenu
mov ecx, esi
mov dword [ebx + 0x3e8], eax
call fcn.0040f7d7
push str.option1
mov ecx, esi
mov dword [ebx + 0x3f8], eax
call fcn.0040f7d7
push str.option2
mov ecx, esi
mov dword [ebx + 0x3fc], eax
call fcn.0040f7d7
push str.option_lockie
mov ecx, esi
mov dword [ebx + 0x400], eax
call fcn.0040f7d7
push str.option3
mov ecx, esi
mov dword [ebx + 0x410], eax
call fcn.0040f7d7
push str.option_run
mov ecx, esi
mov dword [ebx + 0x404], eax
call fcn.0040f7d7
push str.edit_path
mov ecx, esi
mov dword [ebx + 0x408], eax
call fcn.0040f7d7
push str.btn_install
mov ecx, esi
mov dword [ebx + 0x3ec], eax
call fcn.0040f7d7
push str.tab_install
mov ecx, esi
mov dword [ebx + 0x40c], eax
call fcn.0040f7d7
push str.label_text
mov ecx, esi
mov dword [ebx + 0x3f4], eax
call fcn.0040f7d7
push str.label_installto
mov ecx, esi
mov dword [ebx + 0x414], eax
call fcn.0040f7d7
push str.progress
mov ecx, esi
mov dword [ebx + 0x3f0], eax
call fcn.0040f7d7
push str.btn_ok
mov ecx, esi
mov dword [ebx + 0x418], eax
call fcn.0040f7d7
push str.label_appname
mov ecx, esi
mov dword [ebx + 0x41c], eax
call fcn.0040f7d7
mov dword [ebx + 0x3e4], eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x2c]
push str.xfplay
call eax
mov ecx, dword [ebx + 0x3f8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14c]
push 1
call eax
mov ecx, dword [ebx + 0x408]
mov edx, dword [ecx]
push 1
mov eax, dword [edx + 0x14c]
call eax
mov ecx, dword [ebx + 0x418]
push 0
call fcn.00415131
mov ecx, dword [ebx + 0x414]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push str.ck_W
call eax
mov ecx, dword [ebx + 0x3ec]
push 1
call fcn.004159e8
xor ecx, ecx
push 0x208
push ecx
lea edx, [esp + 0x12]
push edx
mov word [esp + 0x14], cx
call fcn.0044a310
add esp, 0xc
push 0
push 0x26
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x404239
push edi
lea edi, [esp + 0xc]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4041d0
mov ecx, dword [0x46b464]
lea eax, [esp + 0xc]
mov dword [edi], ecx
lea edx, [eax + 2]
pop edi
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4041f0
sub eax, edx
sar eax, 1
push eax
lea esi, [ebx + 0x420]
lea eax, [esp + 0xc]
call fcn.00401510
push 6
mov eax, str.xfplay
mov ecx, esi
call fcn.00401370
cmp dword [esi + 0x18], 8
jb 0x404228
mov esi, dword [esi + 4]
jmp 0x40422b
add esi, 4
mov ecx, dword [ebx + 0x3ec]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push esi
call eax
mov ecx, dword [esp + 0x214]
pop esi
pop ebx
xor ecx, esp
call fcn.004468f0
add esp, 0x210
ret
Function at 0x404250
Capabilities:
Create process on windows
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x45e058
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x476110]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
push 0
push 0
mov edi, ecx
call fcn.00413570
cmp byte [edi + 0x442], 0
je 0x404327
cmp byte [edi + 0x441], 0
je 0x404327
lea eax, [edi + 0x420]
push eax
lea esi, [esp + 0x10]
call fcn.00406740
add esp, 4
push 0xa
mov eax, str.xfplay.exe
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.00401370
mov eax, dword [esp + 0x10]
mov esi, 8
cmp dword [esp + 0x24], esi
jae 0x4042e1
lea eax, [esp + 0x10]
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [esp + 0x34], 0xffffffff
cmp dword [esp + 0x24], esi
jb 0x404310
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00446950
add esp, 4
xor edx, edx
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], dx
mov al, byte [0x478a58]
test al, al
jne 0x404355
cmp byte [edi + 0x442], al
je 0x404355
push 0
push 0
push edi
push 0x405dd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x404366
push 1
mov ecx, edi
call fcn.0041389d
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004468f0
add esp, 0x2c
ret

Function at 0x404530
Capabilities:
Create directory

Disassembly:
mov ecx, dword [esi + 0x3f0]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd8]
push edi
xor edi, edi
push edi
call edx
mov ecx, dword [esi + 0x3ec]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd8]
push edi
call edx
mov ecx, dword [esi + 0x3e8]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd8]
push edi
call edx
mov ecx, dword [esi + 0x3d4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe4]
push edi
call edx
mov ecx, dword [esi + 0x3f4]
push edi
push 1
call fcn.00415589
mov ecx, dword [esi + 0x3f8]
call fcn.00413ccb
mov ecx, dword [esi + 0x408]
mov byte [esi + 0x440], al
call fcn.00413ccb
mov byte [esi + 0x441], al
cmp dword [esi + 0x438], 8
jb 0x4045b8
mov eax, dword [esi + 0x424]
jmp 0x4045be
lea eax, [esi + 0x424]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esi + 0x43c], edi
jne 0x40460d
push 0x40
call fcn.00446db2
add esp, 4
cmp eax, edi
je 0x4045fb
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0x24], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
jmp 0x4045fd
xor eax, eax
mov dword [esi + 0x43c], eax
mov dword [eax + 0x3c], 0x404ad0
mov dword [eax + 0x2c], esi
mov ecx, dword [esi + 0x43c]
push esi
push 0x404630
push edi
call sym.Install.exe_public:_int___thiscall_CAssistTask::StartTask_void___int____stdcall___void___void___void____void__
pop edi
ret