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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xc30
mov rax, qword [0x1400d1608]
xor rax, rsp
mov qword [rsp + 0xc20], rax
mov edi, edx
mov rsi, rcx
mov edx, 0x1d0
mov ecx, 1
call fcn.140074c18
mov qword [rsi + 0x900], rax
test rax, rax
jne 0x140023d3a
lea rcx, [0x1400be1a0]
call fcn.140020ee0
mov eax, 0xffffffff
jmp 0x140023f64
inc dword [rax]
mov r8d, 0x40
mov rdx, qword [rsi + 0x900]
mov rcx, qword [0x1400c0d48]
add rdx, 0x20
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rdx, qword [rsi + 0x900]
mov r8d, 0x60
mov rcx, qword [0x1400c0de8]
add rdx, 0x60
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rcx, qword [0x1400c0ca8]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
test eax, eax
jg 0x140023da1
lea rcx, [0x1400be1b8]
call fcn.140020ee0
mov eax, 0xffffffff
jmp 0x140023f64
cmp ebx, 0x3ff
jle 0x140023dbf
lea rcx, [0x1400be1d8]
call fcn.140020ee0
mov eax, 0xffffffff
jmp 0x140023f64
mov rcx, qword [0x1400c0ca8]
lea r8d, [rax + 1]
lea rdx, [rsp + 0x420]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov r8d, 0x400
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x420]
call fcn.14002d040
mov rcx, qword [rsi + 0x900]
lea rdx, [0x1400d22c8]
add rcx, 0x1c0
mov r8d, reloc.WS2_32.dll_recv
call fcn.1400498e0
lea rdx, [0x1400bccd4]
lea rcx, [rsp + 0x20]
call fcn.14006fd98
test rax, rax
je 0x140023ed1
mov r8d, 0xa
lea rdx, [0x1400be1f0]
lea rcx, [rsp + 0x20]
call fcn.14006af20
test eax, eax
je 0x140023ea2
lea rdx, [rsp + 0x20]
lea rcx, str.Unknown_URL_or_servername:__s_r_n
call fcn.140020ee0
mov ebx, 0xffffffff
mov rcx, qword [0x1400c18d8]
lea rdx, [0x1400d2b1a]
call fcn.140032ae0
mov rdi, qword [rsi + 0x900]
test rdi, rdi
je 0x140023f57
sub dword [rdi], 1
mov eax, dword [rdi]
jns 0x140023f36
mov edx, eax
lea rcx, str.Host_reference_fault:__d_r_n
call fcn.140020ee0
mov dword [rdi], 0
jmp 0x140023f3a
test edi, edi
jne 0x140023ec0
lea rcx, str.To_execute_or_repeat_a_URL__click_the_Green_arrow._r_n
call fcn.140020ee0
lea rcx, str.To_perform_a_different_action__enter_a_server_name._r_n
call fcn.140020ee0
jmp 0x140023e56
lea rcx, [rsp + 0x20]
call fcn.14002a9f0
mov ebx, 0xfffffffe
jmp 0x140023e5b
lea rdx, [rsp + 0x20]
cmp ebx, 0x100
jl 0x140023eea
lea rcx, str.Server_name_too_long:__s_r_n
jmp 0x140023e51
mov rcx, qword [rsi + 0x900]
mov r8d, 0x100
add rcx, 0xc0
call fcn.1400498e0
mov rcx, qword [rsi + 0x900]
xor edx, edx
cmp dword [rsi], 0xb
sete dl
call fcn.140021150
mov ebx, eax
test eax, eax
js 0x140023e5b
mov rcx, qword [rsi + 0x900]
add rcx, 0xc0
call fcn.140034d30
jmp 0x140023f62
test eax, eax
jne 0x140023f57
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140023f4f
mov edx, dword [rdi + 8]
test edx, edx
js 0x140023f4f
call fcn.14004fc60
mov rcx, rdi
call fcn.1400733f0
mov qword [rsi + 0x900], 0
mov eax, ebx
mov rcx, qword [rsp + 0xc20]
xor rcx, rsp
call fcn.14006f1f0
lea r11, [rsp + 0xc30]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140031290
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0xd30
mov rax, qword [0x1400d1608]
xor rax, rsp
mov qword [rsp + 0xd20], rax
mov ebp, edx
mov rsi, rcx
lea rdx, [rcx + 0x10]
test ebp, ebp
je 0x1400312cc
mov ebx, dword [rcx + 0xc]
mov rdi, rdx
jmp 0x1400312e9
mov r8d, 0x3ff
lea rcx, [rsp + 0x120]
lea rdi, [rsp + 0x120]
call fcn.1400498e0
mov ebx, eax
test ebx, ebx
jle 0x1400312fd
movsxd rcx, ebx
cmp byte [rcx + rdi - 1], 0x5c
je 0x1400312fd
mov byte [rcx + rdi], 0x5c
inc ebx
movsxd rcx, ebx
lea r8, [rdi + 0x400]
add rcx, rdi
lea rdx, [rsi + 0x410]
call fcn.14006ae40
add ebx, eax
test ebp, ebp
je 0x14003131f
mov dword [rsi + 0xc], ebx
mov r8d, 0x400
lea rdx, [rsp + 0x520]
mov rcx, rdi
call fcn.14002d120
lea rcx, [rsp + 0x520]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140031375
test al, 0x10
je 0x140031353
xor eax, eax
jmp 0x1400313e7
lea rdx, [rsp + 0x520]
lea rcx, str.A_local_file_already_exists_at__S._r_n
call fcn.140020ee0
lea rcx, str.Please_rename_or_delete_that_file__or_download_a_different_folder._r_n
call fcn.140020ee0
jmp 0x1400313e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 2
jne 0x1400313ae
test ebp, ebp
je 0x14003139f
xor edx, edx
lea rcx, [rsp + 0x520]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400313a6
call fcn.14002e620
mov eax, 1
jmp 0x1400313e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, [rsi + 0x410]
lea rcx, str.Unable_to_create__s_r_n
call fcn.140020ee0
mov r8d, 0x100
lea rdx, [rsp + 0x20]
mov ecx, ebx
call fcn.140044d90
mov rdx, rax
lea rcx, [0x1400c3f68]
call fcn.140020ee0
mov eax, 0xffffffff
mov rcx, qword [rsp + 0xd20]
xor rcx, rsp
call fcn.14006f1f0
lea r11, [rsp + 0xd30]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140032bb0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x940
mov rax, qword [0x1400d1608]
xor rax, rsp
mov qword [rsp + 0x930], rax
mov rcx, qword [0x1400c0fc8]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rsi, eax
test eax, eax
jg 0x140032cb5
mov rdx, qword [0x1400bc188]
lea rcx, [0x1400d26f0]
mov r8d, 0x400
call fcn.1400498e0
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], 0x400
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [0x1400d26f0]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x140032c91
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0x7a
jne 0x140032c69
lea r8, [0x1400d26f0]
mov edx, 0x400
lea rcx, str.String_too_long:__.s_r_n
call fcn.140020ee0
neg ebx
jmp 0x140032c94
mov r8d, 0x100
lea rdx, [rsp + 0x830]
mov ecx, ebx
call fcn.140044d90
mov rdx, rax
lea rcx, [0x1400c2b70]
call fcn.140020ee0
neg ebx
jmp 0x140032c94
lea ebx, [rax - 1]
mov rcx, qword [0x1400c0fc8]
test ebx, ebx
jns 0x140032d84
lea rdx, [0x1400d26f0]
call qword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x140032d8f
cmp esi, 0x3ff
jle 0x140032cd3
lea rcx, [0x1400c2c58]
call fcn.140020ee0
mov eax, 0xffffffff
jmp 0x140032d91
mov rcx, qword [0x1400c0fc8]
lea rdx, [rsp + 0x30]
mov r8d, 0x3ff
call qword [sym.imp.USER32.dll_GetWindowTextW]
movzx eax, word [rsp + 0x30]
lea rbx, [rsp + 0x30]
xor r14d, r14d
mov edi, r14d
lea ebp, [r14 + 0x5c]
test ax, ax
je 0x140032d2f
cmp ax, 0x2f
jne 0x140032d22
test edi, edi
jne 0x140032d1f
lea rcx, str.Local_paths_must_use_backslashes_as_delimiters._r_n
call fcn.140020ee0
mov edi, 1
mov word [rbx], bp
movzx eax, word [rbx + 2]
add rbx, 2
test ax, ax
jne 0x140032d04
lea eax, [rsi - 1]
movsxd rcx, eax
cmp word [rsp + rcx*2 + 0x30], bp
je 0x140032d5e
lea eax, [rsi + 1]
mov word [rsp + rsi*2 + 0x30], bp
movsxd rcx, eax
add rcx, rcx
cmp rcx, 0x800
jae 0x140032dbf
mov word [rsp + rcx + 0x30], r14w
mov edi, 1
mov r8d, 0x400
lea rdx, [0x1400d26f0]
lea rcx, [rsp + 0x30]
call fcn.14002d040
test eax, eax
js 0x140032d8f
test edi, edi
je 0x140032d8f
mov rcx, qword [0x1400c0fc8]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
mov rcx, qword [rsp + 0x930]
xor rcx, rsp
call fcn.14006f1f0
lea r11, [rsp + 0x940]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
call fcn.14006ef6c
int3
Function at 0x140032dd0
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x838
mov rax, qword [0x1400d1608]
xor rax, rsp
mov qword [rsp + 0x820], rax
mov rcx, qword [0x1400c1158]
lea rdx, [rsp + 0x20]
mov r8d, 0x3ff
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
js 0x140032eff
mov qword [rsp + 0x848], rsi
lea rcx, [rsp + 0x20]
lea rsi, [0x1400d22f0]
mov qword [rsp + 0x830], rdi
mov rdx, rsi
mov r8d, 0x3ff
call fcn.14002d040
movsxd rdi, eax
test eax, eax
js 0x140032eed
jle 0x140032eed
xor ecx, ecx
mov qword [rsp + 0x840], rbx
cmp byte [0x1400d22f0], cl
mov rbx, rsi
je 0x140032e85
nop dword [rax]
cmp byte [rbx], 0x5c
jne 0x140032e7d
test ecx, ecx
jne 0x140032e7a
lea rcx, str.Remote_paths_use_forward_slashes_as_delimiters._r_n
call fcn.140020ee0
mov ecx, 1
mov byte [rbx], 0x2f
inc rbx
cmp byte [rbx], 0
jne 0x140032e60
mov rax, rsi
sub eax, ebx
mov rbx, qword [rsp + 0x840]
mov edx, eax
neg edx
test ecx, ecx
cmove edx, eax
lea eax, [rdi - 1]
movsxd rcx, eax
cmp byte [rcx + rsi], 0x2f
je 0x140032ebe
lea eax, [rdi + 1]
mov byte [rdi + rsi], 0x2f
cdqe
cmp rax, 0x400
jae 0x140032f17
mov byte [rax + rsi], 0
jmp 0x140032ec2
test edx, edx
jns 0x140032eed
mov r8d, 0x400
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14002d120
mov edi, eax
test eax, eax
jle 0x140032eed
mov rcx, qword [0x1400c1158]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rsi, qword [rsp + 0x848]
mov eax, edi
mov rdi, qword [rsp + 0x830]
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.14006f1f0
add rsp, 0x838
ret
call fcn.14006ef6c
int3
Function at 0x1400338a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x960
mov rax, qword [0x1400d1608]
xor rax, rsp
mov qword [rsp + 0x950], rax
xor r9d, r9d
lea rax, [rsp + 0x150]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x10]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdi, [0x1400d26f0]
test eax, eax
je 0x140033963
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x40]
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov r9d, 0x400
mov dword [rsp + 0x28], ebx
mov r8d, eax
mov qword [rsp + 0x20], rcx
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov rax, qword [rsp + 0x40]
lea r9, str.Problem_finding_Desktop
lea r8, [0x1400c2b20]
mov qword [rsp + 0x20], rax
mov edx, 0xff
lea rcx, [0x1400d30b0]
call fcn.140044c10
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rdx, [0x1400d30b0]
lea rcx, str._s_r_n
call fcn.140020ee0
jmp 0x140033995
mov r8d, 0x400
lea rcx, [rsp + 0x150]
mov rdx, rdi
call fcn.14002d040
mov ebx, eax
test eax, eax
jns 0x140033995
lea rdx, [rsp + 0x150]
lea rcx, str.Problem_encoding_Desktop:__S_r_n
call fcn.140020ee0
xor ebx, ebx
movsxd rax, ebx
mov byte [rax + rdi], 0x5c
inc rax
cmp rax, 0x400
jae 0x140033ab3
xor r8d, r8d
mov byte [rax + rdi], 0
mov r9d, ebx
mov qword [rsp + 0x20], rdi
lea rcx, [0x1400bc110]
lea edx, [r8 + 2]
call fcn.14001bb60
cmp dword [0x1400bc130], 2
je 0x1400339e8
mov rdx, qword [0x1400bc188]
mov r8d, 0x400
mov rcx, rdi
call fcn.1400498e0
lea rax, [rsp + 0x150]
mov dword [rsp + 0x28], 0x400
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x140033a61
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0x7a
jne 0x140033a3c
mov r8, rdi
lea rcx, str.String_too_long:__.s_r_n
mov edx, 0x400
call fcn.140020ee0
neg ebx
jmp 0x140033a64
mov r8d, 0x100
lea rdx, [rsp + 0x50]
mov ecx, ebx
call fcn.140044d90
mov rdx, rax
lea rcx, [0x1400c2b70]
call fcn.140020ee0
neg ebx
jmp 0x140033a64
lea ebx, [rax - 1]
mov rcx, qword [0x1400c0a30]
mov edx, 0x3f1
test ebx, ebx
jle 0x140033a84
lea r8, [rsp + 0x150]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x140033a8d
mov r8, rdi
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
call fcn.14002e620
mov rcx, qword [rsp + 0x950]
xor rcx, rsp
call fcn.14006f1f0
mov rbx, qword [rsp + 0x970]
add rsp, 0x960
pop rdi
ret
call fcn.14006ef6c
int3
Function at 0x140033e80
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xd40
mov rax, qword [0x1400d1608]
xor rax, rsp
mov qword [rsp + 0xd30], rax
lea rbx, [rcx + 0x10]
mov rdi, rcx
lea rsi, [rcx + 0x510]
mov r9, rbx
lea r8, [0x1400c45b8]
mov qword [rsp + 0x20], rsi
mov edx, 0x400
lea rcx, [rsp + 0x130]
call fcn.140044c10
cmp eax, 0x3ff
jl 0x140033ef6
mov r8, rsi
lea rcx, [0x1400c45c0]
mov rdx, rbx
call fcn.140020ee0
mov eax, 0xffffff91
jmp 0x140034055
lea rax, [rsp + 0x530]
mov dword [rsp + 0x28], 0x400
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x130]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x140033f71
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140033f50
lea r8, [rsp + 0x130]
mov edx, 0x400
lea rcx, str.String_too_long:__.s_r_n
call fcn.140020ee0
jmp 0x140033f71
mov r8d, 0x100
lea rdx, [rsp + 0x30]
mov ecx, eax
call fcn.140044d90
mov rdx, rax
lea rcx, [0x1400c2b70]
call fcn.140020ee0
lea rcx, [rsp + 0x530]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140034012
mov rcx, qword [rdi + 0x710]
test rcx, rcx
je 0x14003400e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 0x610
lea r8, [0x1400c45d8]
mov r9, rbx
mov qword [rsp + 0x20], rdi
mov edx, 0x400
lea rcx, [rsp + 0x130]
call fcn.140044c10
cmp eax, 0x3ff
jl 0x140033fe1
mov r8, rdi
lea rcx, [0x1400c45e0]
mov rdx, rbx
call fcn.140020ee0
mov eax, 0xffffff91
jmp 0x140034055
mov r8d, 0x400
lea rdx, [rsp + 0x530]
lea rcx, [rsp + 0x130]
call fcn.14002d120
lea rcx, [rsp + 0x530]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140034012
xor eax, eax
jmp 0x140034055
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, [rsp + 0x530]
lea rcx, str.Error__d_deleting___S_:_r_n
mov ebx, eax
call fcn.140020ee0
mov r8d, 0x100
lea rdx, [rsp + 0x30]
mov ecx, ebx
call fcn.140044d90
mov rdx, rax
lea rcx, [0x1400c4614]
call fcn.140020ee0
neg ebx
mov eax, ebx
mov rcx, qword [rsp + 0xd30]
xor rcx, rsp
call fcn.14006f1f0
lea r11, [rsp + 0xd40]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140034400
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1400d1608]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [rcx + 0x710]
xor edx, edx
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x14003448e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x14003448e
lea rdx, [rbx + 0x610]
lea rcx, [0x1400c46b0]
call fcn.140020ee0
mov ecx, dword [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov r8d, 0x100
call fcn.140044d90
mov rdx, rax
lea rcx, [0x1400c46c4]
call fcn.140020ee0
mov eax, dword [rsp + 0x30]
neg eax
jmp 0x140034521
mov r9, qword [rbx + 0x868]
lea r8, [0x1400c46d0]
add r9, rdi
lea rcx, [rsp + 0x38]
mov edx, reloc.WS2_32.dll_sendto
call fcn.140044c10
mov rcx, qword [rbx + 0x710]
lea r9, [rsp + 0x30]
mov r8d, reloc.WS2_32.dll_recv
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400344df
cmp dword [rsp + 0x30], 0x10
jae 0x14003451f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rbx + 0x610]
mov dword [rsp + 0x30], eax
lea rcx, str.Error_updating__s_r_n
call fcn.140020ee0
mov ecx, dword [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov r8d, 0x100
call fcn.140044d90
mov rdx, rax
lea rcx, [0x1400c46f4]
call fcn.140020ee0
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14006f1f0
mov rbx, qword [rsp + 0x180]
add rsp, 0x160
pop rdi
ret
Function at 0x1400346f0
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x1400d1608]
xor rax, rsp
mov qword [rsp + 0x130], rax
cmp dword [0x1400bbd70], 0
mov edi, ecx
mov rcx, qword [0x1400c1478]
mov ebx, edx
jne 0x14003475d
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400c1428]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov byte [0x1400d22c8], 0
test edi, edi
je 0x140034840
test ebx, ebx
jne 0x140034840
lea rcx, str.Handlers_menu_disabled._r_n
jmp 0x14003483b
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14b
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x1400c1478]
lea r9, [0x1400c3474]
xor r8d, r8d
mov edx, 0x14a
call qword [sym.imp.USER32.dll_SendMessageA]
mov rdx, qword [0x1400bbdc8]
lea rcx, [rsp + 0x30]
mov r8d, 0x100
call fcn.1400498e0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
nop dword [rax + rax]
lea r8, [rsp + 0x130]
lea rdx, [0x1400c2b9c]
lea rcx, [rsp + 0x20]
call fcn.140052590
mov rcx, qword [0x1400c1478]
mov r9, rax
xor r8d, r8d
mov edx, 0x143
call qword [sym.imp.USER32.dll_SendMessageA]
cmp qword [rsp + 0x20], 0
jne 0x1400347b0
mov rcx, qword [0x1400c1478]
mov edx, 1
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400c1428]
mov edx, 1
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400c1478]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14e
call qword [sym.imp.USER32.dll_SendMessageW]
mov byte [0x1400d22c8], 0
test edi, edi
je 0x140034840
test ebx, ebx
je 0x140034840
lea rcx, str.Select_a_handler_to_access_external_data_objects_on_the_server_instead_of_files._r_n
call fcn.140020ee0
call fcn.140034620
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14006f1f0
mov rbx, qword [rsp + 0x150]
add rsp, 0x140
pop rdi
ret
Function at 0x1400351c0
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140035225
cmp dword [0x1400d31b0], 0
jle 0x1400351eb
mov rdx, rcx
lea rcx, str.Double_OverlayStatus:__s_r_n
add rsp, 0x20
pop rbx
jmp fcn.140020ee0
mov rcx, qword [0x1400c0f28]
lea rdx, [0x1400d31c0]
mov r8d, 0x40
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rcx, qword [0x1400c0f28]
mov rdx, rbx
mov dword [0x1400d31b0], 1
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_SetWindowTextA]
cmp dword [0x1400d31b0], 0
jg 0x14003523f
lea rcx, str.No_OverlayStatus_to_restore_r_n
add rsp, 0x20
pop rbx
jmp fcn.140020ee0
mov rcx, qword [0x1400c0f28]
lea rdx, [0x1400d31c0]
call qword [sym.imp.USER32.dll_SetWindowTextA]
mov dword [0x1400d31b0], 0
add rsp, 0x20
pop rbx
ret
Function at 0x140036620
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x830
mov rax, qword [0x1400d1608]
xor rax, rsp
mov qword [rsp + 0x820], rax
mov r9d, ecx
lea r8, [0x1400bb518]
xor ebx, ebx
lea rbp, [0x140000000]
cmp dword [r8 - 4], 5
jne 0x140036670
movsxd rax, dword [r8]
test eax, eax
je 0x140036670
lea rcx, [rax + rax*4]
add rcx, rcx
cmp dword [rbp + rcx*8 + 0xc1920], edx
je 0x140036685
inc ebx
add r8, 0xc0
cmp ebx, 0x15
jl 0x140036652
xor eax, eax
jmp 0x14003678c
mov qword [rsp + 0x840], rsi
lea rsi, [rbx + rbx*2]
shl rsi, 6
movsxd rax, dword [rsi + rbp + 0xbb518]
lea rcx, [rax + rax*4]
add rcx, rcx
cmp dword [rbp + rcx*8 + 0xc1968], 0
jne 0x14003680d
cmp r9d, 0x200
jne 0x1400367ad
mov rcx, qword [rbp + rcx*8 + 0xc1928]
lea rdx, [rsp + 0x20]
mov r8d, 0x400
mov qword [rsp + 0x848], rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x140036711
movzx eax, word [rsp + 0x20]
lea rdi, [rsp + 0x20]
test ax, ax
je 0x140036711
mov edx, 8
movzx ecx, ax
call fcn.1400755a0
test eax, eax
je 0x14003677a
movzx eax, word [rdi + 2]
add rdi, 2
test ax, ax
jne 0x1400366f3
lea rcx, [rbp + 0xbb510]
mov edx, 5
add rcx, rsi
call fcn.14001bb20
movsxd rdx, dword [rsi + rbp + 0xbb518]
mov ecx, ebx
lea r8, [rdx + rdx*4]
add r8, r8
mov dword [rbp + r8*8 + 0xc1968], 1
test eax, eax
jne 0x14003674d
call fcn.140036530
jmp 0x140036754
mov edx, eax
call fcn.140033b20
movsxd rax, dword [rsi + rbp + 0xbb518]
mov dword [rsi + rbp + 0xbb53c], 1
lea rcx, [rax + rax*4]
add rcx, rcx
mov qword [rbp + rcx*8 + 0xc1964], 1
mov rdi, qword [rsp + 0x848]
xor eax, eax
mov rsi, qword [rsp + 0x840]
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.14006f1f0
mov rbx, qword [rsp + 0x850]
add rsp, 0x830
pop rbp
ret
cmp dword [0x1400d3098], 0
mov dword [rbp + rcx*8 + 0xc1964], 0
mov qword [rsi + rbp + 0xbb538], 1
jne 0x14003680d
mov rcx, qword [0x1400c1978]
mov edx, 1
mov dword [0x1400d3098], 1
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [0x1400c19c8]
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [0x1400c1a18]
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x140036784
Function at 0x140042770
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1400d4300]
xor r9d, r9d
movsxd rax, ecx
xor edx, edx
imul rdi, rax, 0x1b8
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
mov rcx, qword [rbx + rdi + 0x58]
lea r8d, [rax + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rcx, qword [0x1400d4300]
mov edx, 4
mov qword [rdi + rcx + 0x158], rax
mov rcx, qword [rbx + rdi + 0x68]
mov r8d, dword [rbx + rdi + 0x60]
mov r9d, r8d
mov qword [rsp + 0x20], rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, qword [0x1400d4300]
mov rbx, qword [rsp + 0x40]
mov qword [rdi + rcx + 0x150], rax
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x14004fd30
Capabilities:
Resolve dns

Disassembly:
push rdi
sub rsp, 0x20
xor edi, edi
test edx, edx
jle 0x14004fdab
mov qword [rsp + 0x30], rbx
lea rbx, [rcx + 8]
mov qword [rsp + 0x38], rsi
mov esi, edx
nop dword [rax]
mov rcx, qword [rbx]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbx - 8], eax
cmp eax, 0xffffffff
jne 0x14004fd92
mov rcx, qword [rbx]
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
jne 0x14004fd86
mov dword [rbx + 0xc], 0xfffffffc
mov dword [rbx + 0x10], 0x1a
mov dword [rbx + 8], 1
jmp 0x14004fd94
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov eax, dword [rcx]
mov dword [rbx - 8], eax
inc edi
add rbx, 0x118
sub rsi, 1
jne 0x14004fd50
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov eax, edi
add rsp, 0x20
pop rdi
ret