Function at 0x1400a0160
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x948
lea rbp, [rsp + 0x40]
mov rsi, rdx
lea rbx, [0x1400e0674]
mov rcx, rbx
lea rdx, str.Submit
mov r14, r8
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, qword [r14 + 0x50]
test eax, eax
lea rax, [rbp + 0xb8]
mov qword [rbp + 0xb8], rcx
mov qword [rbp], rax
sete r15b
lea rax, [rbp + 0x10]
xor edi, edi
mov qword [rbp + 8], rax
mov rax, 0xffffffffffffffff
mov dword [rbp + 0xc8], edi
inc rax
cmp word [rcx + rax*2], di
jne 0x1400a01d7
mov qword [rbp + 0xc0], rax
lea r12, [0x140000000]
movzx eax, byte [r14 + 8]
add eax, 0xfffffff3
mov dword [rbp + 0x20], 1
mov qword [rbp + 0x18], 0xffffffffffffffff
mov qword [rbp + 0x10], rdi
cmp eax, 5
ja case.default.0x1400a021f
cdqe
mov ecx, dword [r12 + rax*4 + 0xa0e20]
add rcx, r12
jmp rcx
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
cmp byte [r14 + 9], dil
jge 0x1400a0247
mov edx, 0x472
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rcx, eax
mov qword [rbp + 0x10], rcx
jmp 0x1400a0de2
mov edx, 0x468
call qword [sym.imp.USER32.dll_SendMessageW]
movsx rcx, ax
mov qword [rbp + 0x10], rcx
jmp 0x1400a0de2
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x400
call qword [sym.imp.USER32.dll_SendMessageW]
cmp byte [r14 + 9], 0
mov rdi, rax
jge 0x1400a02ac
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x402
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [r14]
xor r9d, r9d
mov rbx, rax
xor r8d, r8d
mov edx, 0x401
sub ebx, edi
call qword [sym.imp.USER32.dll_SendMessageW]
add eax, ebx
cdqe
mov qword [rbp + 0x10], rax
jmp 0x1400a0de2
test r15b, r15b
jne 0x1400a0aff
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x408
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rcx, eax
mov qword [rbp + 0x10], rcx
jmp 0x1400a0de2
mov rcx, qword [r14]
lea r9, [rbp + 0x70]
xor r8d, r8d
mov edx, 0x1001
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x1400a033f
movzx ecx, word [rbp + 0x7a]
movzx edx, word [rbp + 0x78]
movzx eax, word [rbp + 0x7c]
movzx r10d, word [rbp + 0x76]
movzx r9d, word [rbp + 0x72]
movzx r8d, word [rbp + 0x70]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
lea rcx, [rbp + 0x100]
mov dword [rsp + 0x28], edx
lea rdx, str._04d_02d_02d_02d_02d_02d
mov dword [rsp + 0x20], r10d
call fcn.1400062d0
lea rbx, [rbp + 0x100]
mov dword [rbp + 0x20], edi
mov qword [rbp + 0x10], rbx
jmp 0x1400a0de2
mov rcx, qword [r14]
mov edx, 0xfffffff0
mov dword [rbp + 0x20], edi
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [r14]
lea r9, [rbp + 0x70]
and eax, 2
je 0x1400a042a
xor r8d, r8d
mov edx, 0x1005
call qword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, word [rbp + 0x7a]
movzx edx, word [rbp + 0x78]
movzx eax, word [rbp + 0x7c]
movzx r10d, word [rbp + 0x76]
movzx r9d, word [rbp + 0x72]
movzx r8d, word [rbp + 0x70]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
lea rcx, [rbp + 0x100]
mov dword [rsp + 0x28], edx
lea rdx, str._04d_02d_02d_02d_02d_02d
mov dword [rsp + 0x20], r10d
call fcn.1400062d0
movzx ecx, word [rbp + 0x8a]
mov eax, 0x2d
movzx edx, word [rbp + 0x88]
movzx r10d, word [rbp + 0x86]
movzx r9d, word [rbp + 0x82]
movzx r8d, word [rbp + 0x80]
mov word [rbp + 0x110], ax
movzx eax, word [rbp + 0x8c]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
lea rcx, [rbp + 0x112]
mov dword [rsp + 0x28], edx
lea rdx, str._04d_02d_02d_02d_02d_02d
mov dword [rsp + 0x20], r10d
call fcn.1400062d0
mov word [rbp + 0x122], di
mov qword [rbp + 0x18], reloc.OLEAUT32.dll_SafeArrayGetElemsize
jmp 0x1400a0de2
xor r8d, r8d
mov edx, 0x1001
call qword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, word [rbp + 0x7a]
movzx edx, word [rbp + 0x78]
movzx eax, word [rbp + 0x7c]
movzx r10d, word [rbp + 0x76]
movzx r9d, word [rbp + 0x72]
movzx r8d, word [rbp + 0x70]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
lea rcx, [rbp + 0x100]
mov dword [rsp + 0x28], edx
lea rdx, str._04d_02d_02d_02d_02d_02d
mov dword [rsp + 0x20], r10d
call fcn.1400062d0
mov word [rbp + 0x110], di
mov qword [rbp + 0x18], 8
jmp 0x1400a0de2
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x402
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
lea rdx, [rbp + 0x100]
call fcn.1400a4230
mov dword [rbp + 0x20], edi
jmp 0x1400a0de2
lea rdx, str.Text
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je case.0x1400a04eb.12
movzx eax, byte [r14 + 8]
dec eax
cmp eax, 0x16
ja case.0x1400a04eb.12
cdqe
mov ecx, dword [r12 + rax*4 + 0xa0e38]
add rcx, r12
jmp rcx
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400a0de2
sub rax, 1
je 0x1400a052a
cmp rax, 1
je 0x1400a051d
xor eax, eax
jmp 0x1400a0e0a
mov qword [rbp + 0x10], 0xffffffffffffffff
jmp 0x1400a0de2
mov qword [rbp + 0x10], 1
jmp 0x1400a0de2
test byte [r14 + 9], 2
je case.0x1400a04eb.12
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi]
lea r8, [rbp + 0x30]
mov dword [rsp + 0x28], 2
mov r9d, 1
lea rdx, [rbp + 0x50]
mov r10, qword [rcx + 0x38]
cmp rax, 0xffffffffffffffff
jne 0x1400a0594
lea rax, [rbp]
mov dword [rbp + 0x20], edi
mov rcx, rsi
mov qword [rsp + 0x20], rax
mov qword [rbp + 0x10], rbx
call r10
jmp 0x1400a0e0a
inc eax
movsxd rcx, eax
lea rax, [rbp]
mov qword [rbp + 0x10], rcx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call r10
jmp 0x1400a0e0a
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
call qword [sym.imp.USER32.dll_SendMessageW]
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x1400a0611
mov rcx, qword [r14]
lea rdx, [rbp + 0x100]
mov r8d, 0x400
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je case.0x1400a04eb.12
mov rcx, qword [r14]
lea r9, [rbp + 0x100]
mov edx, 0x158
mov r8, r15
call qword [sym.imp.USER32.dll_SendMessageW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je case.0x1400a04eb.12
test byte [r14 + 9], 2
je 0x1400a0628
lea eax, [r15 + 1]
movsxd rcx, eax
mov qword [rbp + 0x10], rcx
jmp 0x1400a0de2
mov rcx, qword [r14]
xor r9d, r9d
mov r8, r15
mov edx, 0x149
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbp + 0x20], edi
mov qword [rbp + 0x10], rbx
cmp rax, 0xffffffffffffffff
je 0x1400a0de2
lea rax, [rax*2 + 2]
lea rdx, [rax + 0xf]
cmp rdx, rax
ja 0x1400a0668
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.1400ddd60
sub rsp, rdx
lea rdi, [rsp + 0x40]
test rdi, rdi
jne 0x1400a069c
mov r8, rbx
lea rdx, str.Out_of_memory.
lea rcx, [0x140118bf0]
call fcn.14004dc70
jmp 0x1400a0e0a
mov rcx, qword [r14]
mov r9, rdi
mov r8, r15
mov edx, 0x148
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi]
lea r8, [rbp + 0x30]
mov dword [rsp + 0x28], 2
mov r9d, 1
lea rdx, [rbp + 0x50]
mov r10, qword [rcx + 0x38]
mov rcx, rsi
cmp rax, 0xffffffffffffffff
je 0x1400a06de
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], rax
lea rax, [rbp]
mov qword [rsp + 0x20], rax
call r10
jmp 0x1400a0e0a
mov rcx, qword [r14]
mov edx, 0xfffffff0
mov dword [rbp + 0x20], edi
mov qword [rbp + 0x10], rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [r14]
and eax, 0x808
je 0x1400a091d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x190
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, 1
jl 0x1400a0de2
lea rcx, [rax*4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r12, rax
test rax, rax
je 0x1400a0de2
mov rcx, qword [r14]
mov r9, rax
mov r8, rbx
mov edx, 0x191
call qword [sym.imp.USER32.dll_SendMessageW]
mov r13, rax
cmp rax, 1
jge 0x1400a0775
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400a0de2
test byte [r14 + 9], 2
lea r15, [rax - 1]
mov rbx, rdi
je 0x1400a07d1
mov esi, 0xa
nop dword [rax + rax]
mov ecx, dword [r12 + rbx*4]
lea rdx, [rbp + 0x100]
inc ecx
mov r8d, esi
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow]
lea rcx, [rbp + 0x100]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x1400a07b4
add r15, rax
inc rbx
cmp rbx, r13
jl 0x1400a0790
mov rsi, qword [rbp + 0x958]
jmp 0x1400a07fb
movsxd r8, dword [r12 + rbx*4]
xor r9d, r9d
mov rcx, qword [r14]
mov edx, 0x18a
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x1400a0767
add r15, rax
inc rbx
cmp rbx, r13
jl 0x1400a07d1
lea rax, [r15*2 + 2]
lea rdx, [rax + 0xf]
cmp rdx, rax
ja 0x1400a0816
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.1400ddd60
sub rsp, rdx
lea rax, [rsp + 0x40]
mov qword [rbp + 0x968], rax
test rax, rax
jne 0x1400a0842
lea r8, [0x1400e0674]
jmp 0x1400a0684
test byte [r14 + 9], 2
mov rbx, rax
je 0x1400a08b5
mov r14, qword [rbp + 0x950]
test rdi, rdi
je 0x1400a0864
movzx eax, word [r14 + 0x6e]
mov word [rbx], ax
add rbx, 2
mov ecx, dword [r12 + rdi*4]
mov r8d, 0xa
inc ecx
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow]
mov rax, 0xffffffffffffffff
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x1400a0880
inc rdi
lea rbx, [rbx + rax*2]
cmp rdi, r13
jl 0x1400a0853
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rbp + 0x968]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], r15
jmp 0x1400a0de2
mov rsi, qword [rbp + 0x950]
lea r15, [r13 - 1]
test rdi, rdi
je 0x1400a08d0
movzx eax, word [rsi + 0x6e]
mov word [rbx], ax
add rbx, 2
movsxd r8, dword [r12 + rdi*4]
mov r9, rbx
mov rcx, qword [r14]
mov edx, 0x189
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
jle 0x1400a08f1
add r15, rax
lea rbx, [rbx + rax*2]
inc rdi
cmp rdi, r13
jl 0x1400a08c0
mov rsi, qword [rbp + 0x958]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rbp + 0x968]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], r15
jmp 0x1400a0de2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x188
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400a0de2
test byte [r14 + 9], 2
je 0x1400a0957
inc eax
mov dword [rbp + 0x20], 1
movsxd rcx, eax
mov qword [rbp + 0x10], rcx
jmp 0x1400a0de2
mov rcx, qword [r14]
xor r9d, r9d
mov r8, rdi
mov edx, 0x18a
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x1400a0de2
lea rax, [rax*2 + 2]
lea rdx, [rax + 0xf]
cmp rdx, rax
ja 0x1400a0990
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.1400ddd60
sub rsp, rdx
lea rax, [rsp + 0x40]
mov qword [rbp + 0x968], rax
test rax, rax
je 0x1400a0681
mov rcx, qword [r14]
mov r9, rax
mov r8, rdi
mov edx, 0x189
call qword [sym.imp.USER32.dll_SendMessageW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x1400a0de2
mov rax, qword [rbp + 0x968]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], r15
jmp 0x1400a0de2
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov dword [rbp + 0x20], edi
mov edx, 0x130b
mov qword [rbp + 0x10], rbx
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x1400a0de2
test byte [r14 + 9], 2
je 0x1400a0a29
inc eax
mov dword [rbp + 0x20], 1
movsxd rcx, eax
mov qword [rbp + 0x10], rcx
jmp 0x1400a0de2
lea rcx, [rbp + 0x100]
movsxd r8, eax
mov qword [rbp + 0xe8], rcx
lea r9, [rbp + 0xd8]
mov rcx, qword [r14]
mov edx, 0x133c
mov dword [rbp + 0xd8], 1
mov dword [rbp + 0xf0], 0x3ff
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi]
lea r8, [rbp + 0x30]
mov dword [rsp + 0x28], 2
mov r9d, 1
lea rdx, [rbp + 0x50]
mov r10, qword [rcx + 0x38]
mov rcx, rsi
test eax, eax
je 0x1400a06de
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0x10], rax
lea rax, [rbp]
mov qword [rsp + 0x20], rax
call r10
jmp 0x1400a0e0a
test r15b, r15b
jne 0x1400a0aff
mov rcx, qword [r14]
call fcn.14008aeb0
mov rcx, qword [rsi]
mov r9d, 1
mov dword [rsp + 0x28], 2
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x50]
mov r10, qword [rcx + 0x38]
mov rcx, rsi
test rax, rax
je 0x1400a0ae2
mov dword [rbp + 0x20], 6
jmp 0x1400a0a92
lea rax, [rbp]
mov dword [rbp + 0x20], edi
mov qword [rsp + 0x20], rax
mov qword [rbp + 0x10], rbx
call r10
jmp 0x1400a0e0a
test r15b, r15b
je case.0x1400a04eb.12
mov eax, 1
jmp 0x1400a0e0a
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [rbp + 0x960], eax
lea r8d, [rax + 1]
movsxd rcx, r8d
add rcx, rcx
lea rdx, [rcx + 0xf]
cmp rdx, rcx
ja 0x1400a0b35
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.1400ddd60
sub rsp, rdx
lea rax, [rsp + 0x40]
mov qword [rbp + 0x98], rax
test rax, rax
je 0x1400a0681
mov rcx, qword [r14]
mov rdx, rax
mov dword [rbp + 0x20], edi
mov qword [rbp + 0x10], rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x1400a0de2
cmp byte [r14 + 8], 0xc
jne 0x1400a0dcc
mov r14, qword [rbp + 0x98]
mov rbx, 0xffffffffffffffff
mov r13d, 0xffffffff
inc rbx
cmp word [r14 + rbx*2], di
jne 0x1400a0b93
mov r12, rdi
mov r15, rdi
mov qword [rbp + 0xa0], rdi
cmp word [r14], di
je 0x1400a0dcc
cmp rbx, 0x1388
jb 0x1400a0d6f
mov rax, r14
mov dword [rbp + 0x968], edi
mov qword [rbp + 0x90], rax
nop dword [rax]
nop word [rax + rax]
lea rdx, [0x1400fd978]
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov rcx, rax
mov qword [rbp + 0xb0], rax
test rax, rax
mov rax, qword [rbp + 0x90]
je 0x1400a0cda
mov r10d, dword [rbp + 0x968]
dec r13d
inc r10d
mov r14, rcx
sub r14, rax
mov dword [rbp + 0x968], r10d
sar r14, 1
lea rdx, [r14 + r15]
mov qword [rbp + 0xa8], rdx
inc rdx
cmp rdx, qword [rbp + 0xa0]
jb 0x1400a0c96
mov rax, rcx
movsxd r9, ebx
sub rax, qword [rbp + 0x98]
mov r8d, r13d
movsxd rcx, edx
mov edx, r10d
sar rax, 1
cdqe
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, 0xffffffffffffffff
call fcn.1400c00a0
mov rcx, r12
mov qword [rbp + 0xa0], rax
lea rdx, [rax + rax]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x1400a0d1b
mov r12, rax
mov rax, qword [rbp + 0x90]
test r14, r14
je 0x1400a0cb2
lea r8, [r14 + r14]
mov rdx, rax
lea rcx, [r12 + r15*2]
call sub.VCRUNTIME140.dll_memcpy
mov r15, qword [rbp + 0xa8]
mov eax, 0xa
mov word [r12 + r15*2], ax
inc r15
mov rax, qword [rbp + 0xb0]
add rax, 4
mov qword [rbp + 0x90], rax
test r13d, r13d
jne 0x1400a0be0
cmp dword [rbp + 0x968], edi
je 0x1400a0dcc
mov r14, qword [rbp + 0x98]
sub rax, r14
sar rax, 1
sub rbx, rax
je 0x1400a0d4c
lea r13, [rbx + r15]
cmp r13, qword [rbp + 0xa0]
jb 0x1400a0d35
lea rdx, [r13*2 + 2]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
jne 0x1400a0d32
test r12, r12
je 0x1400a0dcc
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400a0dcc
mov r12, rax
mov rdx, qword [rbp + 0x90]
lea r8, [rbx + rbx]
lea rcx, [r12 + r15*2]
call sub.VCRUNTIME140.dll_memcpy
mov r15, r13
lea r8, [r15*2 + 2]
mov word [r12 + r15*2], di
mov rdx, r12
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400a0dcc
mov r15, r14
mov r12d, 0xa
nop dword [rax + rax]
lea rdx, [0x1400fd978]
mov rcx, r15
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov rdi, rax
test rax, rax
je 0x1400a0dcc
mov rcx, rax
lea r15, [rax + 2]
sub rcx, r14
lea rdx, [rax + 4]
sar rcx, 1
mov r8, rbx
sub r8, rcx
mov rcx, r15
lea r8, [r8*2 - 2]
call sub.VCRUNTIME140.dll_memmove
dec rbx
mov word [rdi], r12w
add r13d, 0xffffffff
jne 0x1400a0d80
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0x10], rax
movsxd rax, dword [rbp + 0x960]
mov qword [rbp + 0x18], rax
mov rax, qword [rsi]
lea rcx, [rbp]
mov dword [rsp + 0x28], 2
lea r8, [rbp + 0x30]
mov qword [rsp + 0x20], rcx
lea rdx, [rbp + 0x50]
mov rcx, rsi
mov r9d, 1
call qword [rax + gethostname]
lea rsp, [rbp + 0x908]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret