Function at 0x1400c0b40
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rbx, rdx
mov qword [rsp + 0x48], rdx
lea rdx, str.Submit
mov rcx, r9
mov rsi, r9
mov r14, r8
call qword [sym.imp.MSVCR100.dll__wcsicmp]
lea r12, [0x140000000]
test eax, eax
movzx eax, byte [r14 + 8]
sete dil
add eax, 0xfffffff3
cmp eax, 5
ja case.default.0x1400c0bad
cdqe
mov ecx, dword [r12 + rax*4 + 0xc2a1c]
add rcx, r12
jmp rcx
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
test byte [r14 + 9], 0x80
je 0x1400c0bcc
mov edx, 0x472
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400c0bd8
mov edx, 0x468
call qword [sym.imp.USER32.dll_SendMessageW]
cwde
mov rcx, rbx
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
movsxd rdx, eax
call fcn.140001090
mov eax, 1
jmp 0x1400c29ff
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x400
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, r14
mov rdx, rax
call fcn.1400c6b30
jmp 0x1400c0bd8
test dil, dil
jne 0x1400c0be6
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x408
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400c0bd8
mov rcx, qword [r14]
lea r9, [rsp + 0x50]
xor r8d, r8d
mov edx, 0x1001
call qword [sym.imp.USER32.dll_SendMessageW]
lea r13, [0x1401035ac]
test eax, eax
jne 0x1400c0c94
movzx ecx, word [rsp + 0x5a]
movzx edx, word [rsp + 0x58]
movzx eax, word [rsp + 0x5c]
movzx edi, word [rsp + 0x56]
movzx r9d, word [rsp + 0x52]
movzx r8d, word [rsp + 0x50]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
lea rdx, str._04d_02d_02d_02d_02d_02d
lea rcx, [rbp - 0x40]
mov dword [rsp + 0x20], edi
call qword [sym.imp.MSVCR100.dll__swprintf]
lea r14, [rbp - 0x40]
jmp 0x1400c0c97
mov r14, r13
movzx edx, byte [rbx + 0x23]
test dl, dl
jne 0x1400c0cbf
mov rcx, qword [rbx + 0x10]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov rdx, r14
mov byte [rsp + 0x20], 1
call fcn.1400e6e20
mov r12d, eax
jmp 0x1400c29fc
xor esi, esi
mov r9b, 1
test r14, r14
jne 0x1400c0cd4
xor r9b, r9b
mov r15d, esi
mov r14, r13
jmp 0x1400c0cf6
cmp qword [rbx + 8], r14
jne 0x1400c0ce3
mov r15, qword [rbx + 0x10]
shr r15, 1
jmp 0x1400c0cf6
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r14
repne scasw ax, word [rdi]
not rcx
lea r15, [rcx - 1]
lea rax, [r15 + 1]
lea r12, [rax + rax]
cmp dl, 2
jne 0x1400c0d16
mov rdx, r15
mov rcx, r14
call fcn.140006bc0
mov r12d, eax
jmp 0x1400c29fc
mov r8, qword [0x14013b0d0]
cmp r12, r8
jbe 0x1400c0d46
cmp r12, qword [rbx + 0x18]
jbe 0x1400c0d46
mov r8, r13
lea rdx, [0x140124720]
lea rcx, [0x140143150]
call fcn.14005f7b0
mov r12d, eax
jmp 0x1400c29fc
cmp rax, 2
jae 0x1400c0d6c
test r9b, r9b
mov rcx, rbx
setne sil
xor r8d, r8d
lea edx, [rsi + 2]
call fcn.1400e74d0
mov r12d, 1
jmp 0x1400c29fc
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x1400c0d89
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov r8, qword [0x14013b0d0]
mov r9, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp r12, r9
jbe 0x1400c0f01
movzx r10d, byte [rbx + 0x20]
movzx eax, r10b
cmp r10b, 1
jbe 0x1400c0dc0
cmp al, 2
je 0x1400c0dfe
mov rdi, qword [rbp + 0x810]
mov rax, qword [rbp + 0x810]
jmp 0x1400c0ef5
mov edi, 0x80
cmp r12, rdi
ja 0x1400c0dfe
cmp r12, 8
ja 0x1400c0dd7
mov edi, 8
jmp 0x1400c0de4
mov r13d, reloc.WSOCK32.dll_recv
cmp r12, r13
cmovbe rdi, r13
mov rcx, rdi
call fcn.1400dd290
test rax, rax
je 0x1400c1518
mov byte [rbx + 0x20], 1
jmp 0x1400c0ef5
cmp r12, 0x20
jae 0x1400c0e0e
mov edi, SafeArrayAllocDescriptor
jmp 0x1400c0eba
mov edi, 0x208
cmp r12, rdi
jb 0x1400c0eba
cmp r12, 0x50000
jae 0x1400c0e74
pxor xmm0, xmm0
cvtsi2sd xmm0, r12
test r12, r12
jns 0x1400c0e3b
addsd xmm0, qword [0x1401279a8]
mulsd xmm0, qword [0x1401279e0]
movsd xmm1, qword [0x1401279d8]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x1400c0e6a
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x1400c0e6a
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rdi, xmm0
add rdi, rcx
jmp 0x1400c0eba
cmp r12, 0x320000
jae 0x1400c0e87
lea rdi, [r12 + 0x8000]
jmp 0x1400c0eba
cmp r12, 0xc80000
jae 0x1400c0eb2
movabs rax, 0x47ae147ae147ae15
mov rdi, r12
mul r12
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, r12
jmp 0x1400c0eba
lea rdi, [r12 + 0x20000]
cmp rdi, r8
cmova rdi, r8
cmp r10b, 2
jne 0x1400c0edb
test r9, r9
je 0x1400c0edb
mov rcx, qword [rbx + 8]
mov r12b, 1
call qword [sym.imp.MSVCR100.dll_free]
jmp 0x1400c0ede
xor r12b, r12b
test rdi, rdi
js 0x1400c0f32
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_malloc]
test rax, rax
je 0x1400c0f32
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
mov rcx, qword [rbx + 8]
cmp rcx, r14
je 0x1400c0f17
lea r8, [r15 + r15]
mov rdx, r14
call qword [sym.imp.MSVCR100.dll_memmove]
lea rcx, [r15 + r15]
mov rax, qword [rbx + 8]
mov r12d, 1
mov word [rcx + rax], si
mov qword [rbx + 0x10], rcx
jmp 0x1400c29fc
test r12b, r12b
je 0x1400c0f48
lea rax, [0x140141fa8]
mov qword [rbx + 0x18], rsi
mov qword [rbx + 8], rax
jmp 0x1400c0f4f
mov rax, qword [rbx + 8]
mov word [rax], si
lea rdx, str.Out_of_memory.
lea rcx, [0x140143150]
mov r8, r13
mov qword [rbx + 0x10], rsi
call fcn.14005f7b0
mov r12d, eax
jmp 0x1400c29fc
mov rcx, qword [r14]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [r14]
xor r8d, r8d
lea r9, [rsp + 0x50]
test al, 2
je 0x1400c11b5
mov edx, 0x1005
call qword [sym.imp.USER32.dll_SendMessageW]
movzx edx, word [rsp + 0x5c]
movzx ecx, word [rsp + 0x58]
movzx eax, word [rsp + 0x5a]
movzx edi, word [rsp + 0x56]
movzx r9d, word [rsp + 0x52]
movzx r8d, word [rsp + 0x50]
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
lea rdx, str._04d_02d_02d_02d_02d_02d
lea rcx, [rbp - 0x40]
mov dword [rsp + 0x20], edi
call qword [sym.imp.MSVCR100.dll__swprintf]
mov edx, 0x2d
mov word [rbp - 0x30], dx
lea rcx, [rbp - 0x2e]
lea rdx, [rsp + 0x60]
call fcn.1400e0310
movzx edx, byte [rbx + 0x23]
test dl, dl
jne 0x1400c101d
mov rcx, qword [rbx + 0x10]
xor r9d, r9d
lea rdx, [rbp - 0x40]
lea r8d, [r9 + 0x11]
mov byte [rsp + 0x20], 1
call fcn.1400e6e20
mov esi, eax
jmp 0x1400c29ff
cmp dl, 2
jne 0x1400c1037
lea rcx, [rbp - 0x40]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call fcn.140006bc0
mov esi, eax
jmp 0x1400c29ff
mov rcx, qword [0x14013b0d0]
cmp rcx, 0x24
jae 0x1400c106c
cmp qword [rbx + 0x18], 0x24
jae 0x1400c106c
lea r8, [0x1401035ac]
lea rdx, [0x140124720]
lea rcx, [0x140143150]
call fcn.14005f7b0
mov esi, eax
jmp 0x1400c29ff
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x1400c1089
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [0x14013b0d0]
mov rax, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rax, 0x24
jae 0x1400c117a
movzx r8d, byte [rbx + 0x20]
movzx edx, r8b
cmp r8b, 1
jbe 0x1400c114e
cmp dl, 2
je 0x1400c10c6
mov rsi, qword [rbp + 0x810]
mov rax, qword [rbp + 0x810]
jmp 0x1400c116e
mov edi, 0x208
cmp rcx, rdi
mov esi, edi
cmovb rsi, rcx
cmp r8b, 2
jne 0x1400c10ee
test rax, rax
je 0x1400c10ee
mov rcx, qword [rbx + 8]
mov dil, 1
call qword [sym.imp.MSVCR100.dll_free]
jmp 0x1400c10f1
xor dil, dil
test rsi, rsi
js 0x1400c110a
mov rcx, rsi
call qword [sym.imp.MSVCR100.dll_malloc]
test rax, rax
je 0x1400c110a
mov byte [rbx + 0x20], 2
jmp 0x1400c116e
xor esi, esi
test dil, dil
je 0x1400c1122
lea rax, [0x140141fa8]
mov qword [rbx + 0x18], rsi
mov qword [rbx + 8], rax
jmp 0x1400c1129
mov rax, qword [rbx + 8]
mov word [rax], si
lea r8, [0x1401035ac]
lea rdx, str.Out_of_memory.
lea rcx, [0x140143150]
mov qword [rbx + 0x10], rsi
call fcn.14005f7b0
mov esi, eax
jmp 0x1400c29ff
mov edi, 0x80
mov ecx, edi
mov esi, edi
call fcn.1400dd290
test rax, rax
jne 0x1400c116a
xor esi, esi
mov eax, esi
jmp 0x1400c29ff
mov byte [rbx + 0x20], 1
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rsi
mov rcx, qword [rbx + 8]
lea rax, [rbp - 0x40]
cmp rcx, rax
je 0x1400c1197
lea rdx, [rbp - 0x40]
mov r8d, SafeArrayAllocDescriptor
call qword [sym.imp.MSVCR100.dll_memmove]
mov rax, qword [rbx + 8]
xor esi, esi
mov word [rax + 0x22], si
mov esi, 1
mov qword [rbx + 0x10], SafeArrayAllocDescriptor
mov eax, esi
jmp 0x1400c29ff
mov edx, 0x1001
call qword [sym.imp.USER32.dll_SendMessageW]
movzx edx, word [rsp + 0x5c]
movzx ecx, word [rsp + 0x58]
movzx eax, word [rsp + 0x5a]
movzx edi, word [rsp + 0x56]
movzx r9d, word [rsp + 0x52]
movzx r8d, word [rsp + 0x50]
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
lea rdx, str._04d_02d_02d_02d_02d_02d
lea rcx, [rbp - 0x40]
mov dword [rsp + 0x20], edi
call qword [sym.imp.MSVCR100.dll__swprintf]
movzx edx, byte [rbx + 0x23]
test dl, dl
jne 0x1400c1229
mov rcx, qword [rbx + 0x10]
xor r9d, r9d
lea rdx, [rbp - 0x40]
lea r8d, [r9 + 8]
mov byte [rsp + 0x20], 1
call fcn.1400e6e20
mov esi, eax
jmp 0x1400c29ff
cmp dl, 2
jne 0x1400c1243
lea rcx, [rbp - 0x40]
mov edx, 8
call fcn.140006bc0
mov esi, eax
jmp 0x1400c29ff
mov rcx, qword [0x14013b0d0]
cmp rcx, 0x12
jae 0x1400c1278
cmp qword [rbx + 0x18], 0x12
jae 0x1400c1278
lea r8, [0x1401035ac]
lea rdx, [0x140124720]
lea rcx, [0x140143150]
call fcn.14005f7b0
mov esi, eax
jmp 0x1400c29ff
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x1400c1295
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [0x14013b0d0]
mov rax, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rax, 0x12
jae 0x1400c1384
movzx r8d, byte [rbx + 0x20]
movzx edx, r8b
cmp r8b, 1
jbe 0x1400c135a
cmp dl, 2
je 0x1400c12d2
mov rdi, qword [rbp + 0x810]
mov rax, qword [rbp + 0x810]
jmp 0x1400c1378
mov edi, SafeArrayAllocDescriptor
cmp rcx, rdi
cmovb rdi, rcx
cmp r8b, 2
jne 0x1400c12f8
test rax, rax
je 0x1400c12f8
mov rcx, qword [rbx + 8]
mov sil, 1
call qword [sym.imp.MSVCR100.dll_free]
jmp 0x1400c12fb
xor sil, sil
test rdi, rdi
js 0x1400c1314
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_malloc]
test rax, rax
je 0x1400c1314
mov byte [rbx + 0x20], 2
jmp 0x1400c1378
test sil, sil
je 0x1400c132c
lea rax, [0x140141fa8]
xor esi, esi
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rsi
jmp 0x1400c1335
mov rax, qword [rbx + 8]
xor esi, esi
mov word [rax], si
lea r8, [0x1401035ac]
lea rdx, str.Out_of_memory.
lea rcx, [0x140143150]
mov qword [rbx + 0x10], rsi
call fcn.14005f7b0
mov esi, eax
jmp 0x1400c29ff
mov edi, 0x80
mov ecx, edi
call fcn.1400dd290
test rax, rax
jne 0x1400c1374
xor esi, esi
mov eax, esi
jmp 0x1400c29ff
mov byte [rbx + 0x20], 1
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
mov rcx, qword [rbx + 8]
lea rax, [rbp - 0x40]
mov r13d, reloc.WSOCK32.dll_recv
cmp rcx, rax
je 0x1400c13a4
lea rdx, [rbp - 0x40]
mov r8d, r13d
call qword [sym.imp.MSVCR100.dll_memmove]
mov rax, qword [rbx + 8]
xor esi, esi
mov word [rax + 0x10], si
mov esi, 1
mov qword [rbx + 0x10], r13
mov eax, esi
jmp 0x1400c29ff
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x402
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.1400c68a0
movzx r11d, byte [rbx + 0x23]
test r11b, r11b
jne 0x1400c1409
mov rcx, qword [rbx + 0x10]
lea rdx, [rbp - 0x40]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400e6e20
mov r12d, eax
jmp 0x1400c29fc
lea rax, [rbp - 0x40]
cmp qword [rbx + 8], rax
jne 0x1400c141c
mov r12, qword [rbx + 0x10]
shr r12, 1
jmp 0x1400c1430
or rcx, 0xffffffffffffffff
lea rdi, [rbp - 0x40]
xor eax, eax
repne scasw ax, word [rdi]
not rcx
lea r12, [rcx - 1]
lea rax, [r12 + 1]
lea rsi, [rax + rax]
cmp r11b, 2
jne 0x1400c1453
lea rcx, [rbp - 0x40]
mov rdx, r12
call fcn.140006bc0
mov r12d, eax
jmp 0x1400c29fc
mov rcx, qword [0x14013b0d0]
cmp rsi, rcx
jbe 0x1400c1471
cmp rsi, qword [rbx + 0x18]
jbe 0x1400c1471
lea r8, [0x1401035ac]
jmp 0x1400c0d2b
cmp rax, 2
jae 0x1400c1491
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 3]
call fcn.1400e74d0
mov r12d, 1
jmp 0x1400c29fc
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x1400c14ae
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [0x14013b0d0]
mov r8, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rsi, r8
jbe 0x1400c162a
movzx r9d, byte [rbx + 0x20]
movzx eax, r9b
cmp r9b, 1
jbe 0x1400c14e5
cmp al, 2
je 0x1400c1529
mov rdi, qword [rbp + 0x810]
mov rax, qword [rbp + 0x810]
jmp 0x1400c161e
mov edi, 0x80
cmp rsi, rdi
ja 0x1400c1529
cmp rsi, 8
ja 0x1400c14fc
mov edi, 8
jmp 0x1400c1509
mov r13d, reloc.WSOCK32.dll_recv
cmp rsi, r13
cmovbe rdi, r13
mov rcx, rdi
call fcn.1400dd290
test rax, rax
jne 0x1400c1520
xor esi, esi
mov r12d, esi
jmp 0x1400c29fc
mov byte [rbx + 0x20], 1
jmp 0x1400c161e
cmp rsi, 0x20
jae 0x1400c1539
mov edi, SafeArrayAllocDescriptor
jmp 0x1400c15e3
mov edi, 0x208
cmp rsi, rdi
jb 0x1400c15e3
cmp rsi, 0x50000
jae 0x1400c159f
pxor xmm0, xmm0
cvtsi2sd xmm0, rsi
test rsi, rsi
jns 0x1400c1566
addsd xmm0, qword [0x1401279a8]
mulsd xmm0, qword [0x1401279e0]
movsd xmm1, qword [0x1401279d8]
xor edx, edx
comisd xmm0, xmm1
jbe 0x1400c1595
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x1400c1595
movabs rax, 0x8000000000000000
mov rdx, rax
cvttsd2si rdi, xmm0
add rdi, rdx
jmp 0x1400c15e3
cmp rsi, 0x320000
jae 0x1400c15b1
lea rdi, [rsi + 0x8000]
jmp 0x1400c15e3
cmp rsi, 0xc80000
jae 0x1400c15dc
movabs rax, 0x47ae147ae147ae15
mov rdi, rsi
mul rsi
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rsi
jmp 0x1400c15e3
lea rdi, [rsi + 0x20000]
cmp rdi, rcx
cmova rdi, rcx
cmp r9b, 2
jne 0x1400c1604
test r8, r8
je 0x1400c1604
mov rcx, qword [rbx + 8]
mov sil, 1
call qword [sym.imp.MSVCR100.dll_free]
jmp 0x1400c1607
xor sil, sil
test rdi, rdi
js 0x1400c1650
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_malloc]
test rax, rax
je 0x1400c1650
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
mov rcx, qword [rbx + 8]
lea rax, [rbp - 0x40]
cmp rcx, rax
je 0x1400c1645
lea rdx, [rbp - 0x40]
lea r8, [r12 + r12]
call qword [sym.imp.MSVCR100.dll_memmove]
lea rcx, [r12 + r12]
xor esi, esi
jmp 0x1400c0f1b
test sil, sil
je 0x1400c1668
lea rax, [0x140141fa8]
xor esi, esi
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rsi
jmp 0x1400c1671
mov rax, qword [rbx + 8]
xor esi, esi
mov word [rax], si
lea r8, [0x1401035ac]
lea rdx, str.Out_of_memory.
lea rcx, [0x140143150]
mov qword [rbx + 0x10], rsi
call fcn.14005f7b0
mov r12d, eax
jmp 0x1400c29fc
lea rdx, str.Text
mov rcx, rsi
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
je case.0x1400c16cc.12
movzx eax, byte [r14 + 8]
dec eax
cmp eax, 0x16
ja case.0x1400c16cc.12
cdqe
mov ecx, dword [r12 + rax*4 + 0xc2a34]
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 0x1400c1b97
dec rax
je 0x1400c1935
dec rax
jne 0x1400c26b9
movzx eax, byte [rbx + 0x23]
test al, al
jne 0x1400c1729
mov rcx, qword [rbx + 0x10]
lea rdx, [0x140107738]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400e6e20
mov r12d, eax
jmp 0x1400c29fc
lea r14, [0x140107738]
cmp qword [rbx + 8], r14
jne 0x1400c173f
mov r12, qword [rbx + 0x10]
shr r12, 1
jmp 0x1400c1745
mov r12d, 2
lea rdx, [r12 + 1]
lea rsi, [rdx + rdx]
cmp al, 2
jne 0x1400c1765
mov rdx, r12
mov rcx, r14
call fcn.140006bc0
mov r12d, eax
jmp 0x1400c29fc
mov rcx, qword [0x14013b0d0]
cmp rsi, rcx
jbe 0x1400c177b
cmp rsi, qword [rbx + 0x18]
ja 0x1400c1465
cmp rdx, 2
jb 0x1400c1477
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x1400c17a2
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [0x14013b0d0]
mov r8, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rsi, r8
jbe 0x1400c1920
movzx r9d, byte [rbx + 0x20]
movzx eax, r9b
cmp r9b, 1
jbe 0x1400c17d9
cmp al, 2
je 0x1400c1817
mov rdi, qword [rbp + 0x810]
mov rax, qword [rbp + 0x810]
jmp 0x1400c1914
mov edi, 0x80
cmp rsi, rdi
ja 0x1400c1817
cmp rsi, 8
ja 0x1400c17f0
mov edi, 8
jmp 0x1400c17fd
mov r13d, reloc.WSOCK32.dll_recv
cmp rsi, r13
cmovbe rdi, r13
mov rcx, rdi
call fcn.1400dd290
test rax, rax
je 0x1400c1516
mov byte [rbx + 0x20], 1
jmp 0x1400c1914
cmp rsi, 0x20
jae 0x1400c1827
mov edi, SafeArrayAllocDescriptor
jmp 0x1400c18d1
mov edi, 0x208
cmp rsi, rdi
jb 0x1400c18d1
cmp rsi, 0x50000
jae 0x1400c188d
pxor xmm0, xmm0
cvtsi2sd xmm0, rsi
test rsi, rsi
jns 0x1400c1854
addsd xmm0, qword [0x1401279a8]
mulsd xmm0, qword [0x1401279e0]
movsd xmm1, qword [0x1401279d8]
xor edx, edx
comisd xmm0, xmm1
jbe 0x1400c1883
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x1400c1883
movabs rax, 0x8000000000000000
mov rdx, rax
cvttsd2si rdi, xmm0
add rdi, rdx
jmp 0x1400c18d1
cmp rsi, 0x320000
jae 0x1400c189f
lea rdi, [rsi + 0x8000]
jmp 0x1400c18d1
cmp rsi, 0xc80000
jae 0x1400c18ca
movabs rax, 0x47ae147ae147ae15
mov rdi, rsi
mul rsi
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rsi
jmp 0x1400c18d1
lea rdi, [rsi + 0x20000]
cmp rdi, rcx
cmova rdi, rcx
cmp r9b, 2
jne 0x1400c18f2
test r8, r8
je 0x1400c18f2
mov rcx, qword [rbx + 8]
mov sil, 1
call qword [sym.imp.MSVCR100.dll_free]
jmp 0x1400c18f5
xor sil, sil
test rdi, rdi
js 0x1400c1650
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_malloc]
test rax, rax
je 0x1400c1650
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
mov rcx, qword [rbx + 8]
cmp rcx, r14
je 0x1400c1645
mov rdx, r14
jmp 0x1400c163b
movzx eax, byte [rbx + 0x23]
test al, al
jne 0x1400c1961
mov rcx, qword [rbx + 0x10]
lea rdx, [0x14010771c]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400e6e20
mov r12d, eax
jmp 0x1400c29fc
lea r15, [0x14010771c]
mov r12d, 1
cmp qword [rbx + 8], r15
jne 0x1400c197d
mov r14, qword [rbx + 0x10]
shr r14, 1
jmp 0x1400c1980
mov r14, r12
lea rcx, [r14 + 1]
lea rsi, [rcx + rcx]
cmp al, 2
jne 0x1400c199f
mov rdx, r14
mov rcx, r15
call fcn.140006bc0
mov r12d, eax
jmp 0x1400c29fc
mov r8, qword [0x14013b0d0]
cmp rsi, r8
jbe 0x1400c19b5
cmp rsi, qword [rbx + 0x18]
ja 0x1400c1465
cmp rcx, 2
jae 0x1400c19cf
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 3]
call fcn.1400e74d0
jmp 0x1400c29fc
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x1400c19ec
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov r8, qword [0x14013b0d0]
mov r9, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rsi, r9
jbe 0x1400c1b6a
movzx r10d, byte [rbx + 0x20]
movzx eax, r10b
cmp r10b, r12b
jbe 0x1400c1a22
cmp al, 2
je 0x1400c1a60
mov rdi, qword [rbp + 0x810]
mov rax, qword [rbp + 0x810]
jmp 0x1400c1b5e
mov edi, 0x80
cmp rsi, rdi
ja 0x1400c1a60
cmp rsi, 8
ja 0x1400c1a39
mov edi, 8
jmp 0x1400c1a46
mov r13d, reloc.WSOCK32.dll_recv
cmp rsi, r13
cmovbe rdi, r13
mov rcx, rdi
call fcn.1400dd290
test rax, rax
je 0x1400c1516
mov byte [rbx + 0x20], r12b
jmp 0x1400c1b5e
cmp rsi, 0x20
jae 0x1400c1a70
mov edi, SafeArrayAllocDescriptor
jmp 0x1400c1b1a
mov edi, 0x208
cmp rsi, rdi
jb 0x1400c1b1a
cmp rsi, 0x50000
jae 0x1400c1ad6
pxor xmm0, xmm0
cvtsi2sd xmm0, rsi
test rsi, rsi
jns 0x1400c1a9d
addsd xmm0, qword [0x1401279a8]
mulsd xmm0, qword [0x1401279e0]
movsd xmm1, qword [0x1401279d8]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x1400c1acc
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x1400c1acc
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rdi, xmm0
add rdi, rcx
jmp 0x1400c1b1a
cmp rsi, 0x320000
jae 0x1400c1ae8
lea rdi, [rsi + 0x8000]
jmp 0x1400c1b1a
cmp rsi, 0xc80000
jae 0x1400c1b13
movabs rax, 0x47ae147ae147ae15
mov rdi, rsi
mul rsi
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rsi
jmp 0x1400c1b1a
lea rdi, [rsi + 0x20000]
cmp rdi, r8
cmova rdi, r8
cmp r10b, 2
jne 0x1400c1b3c
test r9, r9
je 0x1400c1b3c
mov rcx, qword [rbx + 8]
movzx esi, r12b
call qword [sym.imp.MSVCR100.dll_free]
jmp 0x1400c1b3f
xor sil, sil
test rdi, rdi
js 0x1400c1650
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_malloc]
test rax, rax
je 0x1400c1650
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 0x18], rdi
mov qword [rbx + 8], rax
mov rcx, qword [rbx + 8]
cmp rcx, r15
je 0x1400c1b80
lea r8, [r14 + r14]
mov rdx, r15
call qword [sym.imp.MSVCR100.dll_memmove]
mov rax, qword [rbx + 8]
lea rcx, [r14 + r14]
xor esi, esi
mov word [rcx + rax], si
mov qword [rbx + 0x10], rcx
jmp 0x1400c29fc
movzx eax, byte [rbx + 0x23]
test al, al
jne 0x1400c1bc3
mov rcx, qword [rbx + 0x10]
lea rdx, [0x140103674]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400e6e20
mov r12d, eax
jmp 0x1400c29fc
lea r15, [0x140103674]
mov r12d, 1
cmp qword [rbx + 8], r15
jne 0x1400c1bdf
mov r14, qword [rbx + 0x10]
shr r14, 1
jmp 0x1400c1be2
mov r14, r12
lea rcx, [r14 + 1]
lea rsi, [rcx + rcx]
cmp al, 2
je 0x1400c198c
mov r8, qword [0x14013b0d0]
cmp rsi, r8
jbe 0x1400c1c08
cmp rsi, qword [rbx + 0x18]
ja 0x1400c1465
cmp rcx, 2
jb 0x1400c19bb
jmp 0x1400c19cf
test byte [r14 + 9], 2
je case.0x1400c16cc.12
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
cmp rax, 0xffffffffffffffff
je 0x1400c1d5c
inc eax
jmp 0x1400c0bdb
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400c1ca4
mov rcx, qword [r14]
lea rdx, [rbp - 0x40]
mov r8d, 0x400
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je case.0x1400c16cc.12
mov rcx, qword [r14]
lea r9, [rbp - 0x40]
or r8, rdi
mov edx, 0x158
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je case.0x1400c16cc.12
test byte [r14 + 9], 2
je 0x1400c1cb3
lea eax, [rdi + 1]
jmp 0x1400c0bd8
mov rcx, qword [r14]
xor r9d, r9d
mov r8, rdi
mov edx, 0x149
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
cmp rax, 0xffffffffffffffff
je 0x1400c1d5c
xor r9d, r9d
mov r8, rax
xor edx, edx
mov byte [rsp + 0x20], 1
call fcn.1400e6e20
cmp eax, 1
jne 0x1400c26b9
mov r12d, 1
xor r8d, r8d
mov rcx, rbx
mov edx, r12d
call fcn.140001830
mov rcx, qword [r14]
mov r8, rdi
mov r9, rax
mov edx, 0x148
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
jne 0x1400c1d66
cmp byte [rbx + 0x23], 0
jne 0x1400c1d29
mov rax, qword [rbx + 0x10]
jmp 0x1400c1d2c
mov rax, rbx
cmp byte [rax + 0x23], 2
jne 0x1400c1d55
cmp qword [0x140143de8], 0
je 0x1400c1d55
lea rcx, [0x140143dd0]
call fcn.140006d40
mov rcx, rbx
call fcn.14002f9e0
jmp 0x1400c29ff
and byte [rax + 0x21], 0x86
mov rcx, rbx
call fcn.14002f9e0
jmp 0x1400c29ff
mov rdx, rax
jmp 0x1400c29c5
mov rcx, qword [r14]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
test eax, 0x808
je 0x1400c1fac
mov edx, 0x190
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
cmp rax, 1
jl 0x1400c1d59
lea rcx, [rax*4]
call qword [sym.imp.MSVCR100.dll_malloc]
mov r12, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400c1d59
mov rcx, qword [r14]
mov r9, rax
mov r8, rdi
mov edx, 0x191
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
mov qword [rbp + 0x810], rax
cmp rax, 1
jge 0x1400c1df9
mov rcx, r12
call qword [sym.imp.MSVCR100.dll_free]
mov rcx, rbx
call fcn.14002f9e0
jmp 0x1400c29ff
xor esi, esi
test byte [r14 + 9], 2
lea r15, [rax - 1]
mov r13d, esi
je 0x1400c1e62
test rax, rax
jle 0x1400c1e9a
mov rbx, rax
nop word [rax + rax]
mov ecx, dword [r12 + r13*4]
lea rdx, [rbp - 0x40]
mov r8d, 0xa
inc ecx
call qword [sym.imp.MSVCR100.dll__itow]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rbp - 0x40]
inc r13
repne scasw ax, word [rdi]
not rcx
dec rcx
add r15, rcx
cmp r13, rbx
jl 0x1400c1e20
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rbp + 0x810]
jmp 0x1400c1e9a
test rax, rax
jle 0x1400c1e9a
nop word [rax + rax]
movsxd r8, dword [r12 + r13*4]
mov rcx, qword [r14]
xor r9d, r9d
mov edx, 0x18a
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x1400c1de3
inc r13
add r15, rax
cmp r13, rdi
jl 0x1400c1e70
xor r9d, r9d
mov r8, r15
xor edx, edx
mov rcx, rbx
mov byte [rsp + 0x20], 1
call fcn.1400e6e20
cmp eax, 1
jne 0x1400c26b9
mov r12d, 1
xor r8d, r8d
mov rcx, rbx
mov edx, r12d
call fcn.140001830
test byte [r14 + 9], 2
mov r13, rax
je 0x1400c1f38
test rdi, rdi
jle 0x1400c1f99
mov r14, qword [rbp + 0x810]
mov rbx, qword [rsp + 0x40]
mov r12, qword [rbp + 0x800]
test rsi, rsi
je 0x1400c1f06
movzx ecx, word [r12 + 0x6e]
add r13, 2
mov word [r13 - 2], cx
mov ecx, dword [rbx + rsi*4]
mov r8d, 0xa
mov rdx, r13
inc ecx
call qword [sym.imp.MSVCR100.dll__itow]
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r13
inc rsi
repne scasw ax, word [rdi]
not rcx
lea r13, [r13 + rcx*2 - 2]
cmp rsi, r14
jl 0x1400c1ef2
jmp 0x1400c1f8e
lea r15, [rdi - 1]
test rdi, rdi
jle 0x1400c1f99
mov rbx, qword [rsp + 0x40]
mov r12, qword [rbp + 0x800]
nop dword [rax]
test rsi, rsi
je 0x1400c1f64
movzx eax, word [r12 + 0x6e]
add r13, 2
mov word [r13 - 2], ax
movsxd r8, dword [rbx + rsi*4]
mov rcx, qword [r14]
mov r9, r13
mov edx, 0x189
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
jle 0x1400c1f86
add r15, rax
lea r13, [r13 + rax*2]
inc rsi
cmp rsi, rdi
jl 0x1400c1f50
mov rbx, qword [rsp + 0x48]
mov r12d, 1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCR100.dll_free]
mov rdx, r15
jmp 0x1400c29c5
mov edx, 0x188
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400c1d59
test byte [r14 + 9], 2
je 0x1400c1fd2
inc eax
jmp 0x1400c0bd8
mov rcx, qword [r14]
xor r9d, r9d
mov r8, rax
mov edx, 0x18a
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
cmp rax, 0xffffffffffffffff
je 0x1400c1d5c
xor r9d, r9d
mov r8, rax
xor edx, edx
mov byte [rsp + 0x20], 1
call fcn.1400e6e20
cmp eax, 1
jne 0x1400c26b9
mov r12d, 1
xor r8d, r8d
mov rcx, rbx
mov edx, r12d
call fcn.140001830
mov rcx, qword [r14]
mov r8, rdi
mov r9, rax
mov edx, 0x189
call qword [sym.imp.USER32.dll_SendMessageW]
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x1400c1fa4
cmp byte [rbx + 0x23], 0
jne 0x1400c1d29
mov rax, qword [rbx + 0x10]
jmp 0x1400c1d2c
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
je 0x1400c1d59
test byte [r14 + 9], 2
je 0x1400c2086
lea eax, [rcx + 1]
jmp 0x1400c0bd8
mov r8, rcx
mov rcx, qword [r14]
lea rax, [rbp - 0x40]
lea r9, [rbp - 0x70]
mov r12d, 1
mov edx, 0x133c
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x58], 0x3ff
mov dword [rbp - 0x70], r12d
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400c1d59
movzx edx, byte [rbx + 0x23]
mov r15, qword [rbp - 0x60]
test dl, dl
jne 0x1400c20e8
mov rcx, qword [rbx + 0x10]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov rdx, r15
mov byte [rsp + 0x20], r12b
call fcn.1400e6e20
mov r12d, eax
jmp 0x1400c29fc
xor esi, esi
movzx r8d, r12b
lea r13, [0x1401035ac]
test r15, r15
jne 0x1400c210b
xor r8b, r8b
mov edi, esi
mov qword [rbp + 0x810], rsi
mov r15, r13
jmp 0x1400c2134
cmp qword [rbx + 8], r15
jne 0x1400c211a
mov rdi, qword [rbx + 0x10]
shr rdi, 1
jmp 0x1400c212d
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r15
repne scasw ax, word [rdi]
not rcx
lea rdi, [rcx - 1]
mov qword [rbp + 0x810], rdi
lea rax, [rdi + 1]
lea r14, [rax + rax]
cmp dl, 2
jne 0x1400c2154
mov rdx, rdi
mov rcx, r15
call fcn.140006bc0
mov r12d, eax
jmp 0x1400c29fc
mov r9, qword [0x14013b0d0]
cmp r14, r9
jbe 0x1400c2184
cmp r14, qword [rbx + 0x18]
jbe 0x1400c2184
lea rdx, [0x140124720]
lea rcx, [0x140143150]
mov r8, r13
call fcn.14005f7b0
mov r12d, eax
jmp 0x1400c29fc
cmp rax, 2
jae 0x1400c21a4
test r8b, r8b
mov rcx, rbx
setne sil
xor r8d, r8d
lea edx, [rsi + 2]
call fcn.1400e74d0
jmp 0x1400c29fc
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x1400c21c1
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov r9, qword [0x14013b0d0]
mov r8, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp r14, r8
jbe 0x1400c233e
movzx r10d, byte [rbx + 0x20]
movzx eax, r10b
cmp r10b, r12b
jbe 0x1400c21f7
cmp al, 2
je 0x1400c2235
mov rdi, qword [rbp + 0x810]
mov rax, qword [rbp + 0x810]
jmp 0x1400c232b
mov edi, 0x80
cmp r14, rdi
ja 0x1400c2235
cmp r14, 8
ja 0x1400c220e
mov edi, 8
jmp 0x1400c221b
mov r13d, reloc.WSOCK32.dll_recv
cmp r14, r13
cmovbe rdi, r13
mov rcx, rdi
call fcn.1400dd290
test rax, rax
je 0x1400c1518
mov byte [rbx + 0x20], r12b
jmp 0x1400c232b
cmp r14, 0x20
jae 0x1400c2245
mov edi, SafeArrayAllocDescriptor
jmp 0x1400c22ef
mov edi, 0x208
cmp r14, rdi
jb 0x1400c22ef
cmp r14, 0x50000
jae 0x1400c22ab
pxor xmm0, xmm0
cvtsi2sd xmm0, r14
test r14, r14
jns 0x1400c2272
addsd xmm0, qword [0x1401279a8]
mulsd xmm0, qword [0x1401279e0]
movsd xmm1, qword [0x1401279d8]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x1400c22a1
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x1400c22a1
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rdi, xmm0
add rdi, rcx
jmp 0x1400c22ef
cmp r14, 0x320000
jae 0x1400c22bd
lea rdi, [r14 + 0x8000]
jmp 0x1400c22ef
cmp r14, 0xc80000
jae 0x1400c22e8
movabs rax, 0x47ae147ae147ae15
mov rdi, r14
mul r14
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, r14
jmp 0x1400c22ef
lea rdi, [r14 + 0x20000]
cmp rdi, r9
cmova rdi, r9
cmp r10b, 2
jne 0x1400c2311
test r8, r8
je 0x1400c2311
mov rcx, qword [rbx + 8]
movzx r14d, r12b
call qword [sym.imp.MSVCR100.dll_free]
jmp 0x1400c2314
xor r14b, r14b
test rdi, rdi
js 0x1400c2369
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_malloc]
test rax, rax
je 0x1400c2369
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 0x18], rdi
mov rdi, qword [rbp + 0x810]
mov qword [rbx + 8], rax
mov rcx, qword [rbx + 8]
cmp rcx, r15
je 0x1400c2354
lea r8, [rdi + rdi]
mov rdx, r15
call qword [sym.imp.MSVCR100.dll_memmove]
mov rax, qword [rbx + 8]
lea rcx, [rdi + rdi]
mov word [rcx + rax], si
mov qword [rbx + 0x10], rcx
jmp 0x1400c29fc
test r14b, r14b
je 0x1400c237f
lea rax, [0x140141fa8]
mov qword [rbx + 0x18], rsi
mov qword [rbx + 8], rax
jmp 0x1400c2386
mov rax, qword [rbx + 8]
mov word [rax], si
lea rdx, str.Out_of_memory.
lea rcx, [0x140143150]
mov r8, r13
mov qword [rbx + 0x10], rsi
call fcn.14005f7b0
mov r12d, eax
jmp 0x1400c29fc
test dil, dil
jne 0x1400c0be6
mov rcx, qword [r14]
call fcn.1400ab390
mov rcx, rbx
test rax, rax
je 0x1400c1d5c
mov rdx, rax
call fcn.1400e71a0
jmp 0x1400c29ff
test dil, dil
jne 0x1400c0be6
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movzx ecx, byte [rbx + 0x23]
xor esi, esi
mov dword [rsp + 0x40], eax
movsxd r15, eax
test cl, cl
jne 0x1400c2410
mov rcx, qword [rbx + 0x10]
xor r9d, r9d
mov r8, r15
xor edx, edx
mov byte [rsp + 0x20], 1
call fcn.1400e6e20
jmp 0x1400c26b2
mov dl, 1
mov byte [rbp + 0x810], dl
movzx edi, dl
cmp r15, 0xffffffffffffffff
jne 0x1400c2429
xor dil, dil
mov r15, rsi
jmp 0x1400c2431
xor dl, dl
mov byte [rbp + 0x810], dl
lea rax, [r15 + 1]
lea r12, [rax + rax]
cmp cl, 2
jne 0x1400c2472
test dl, dl
je 0x1400c2456
lea rcx, [0x1401035ac]
mov rdx, r15
call fcn.140006bc0
jmp 0x1400c26b2
lea rcx, [0x140143dd0]
mov rdx, rax
call fcn.140006c80
mov edx, esi
test rax, rax
setne dl
jmp 0x1400c26b4
mov r8, qword [0x14013b0d0]
cmp r12, r8
jbe 0x1400c2490
cmp r12, qword [rbx + 0x18]
jbe 0x1400c2490
lea rdx, [0x140124720]
jmp 0x1400c269f
cmp rax, 2
jae 0x1400c24b1
mov edx, esi
test dil, dil
mov rcx, rbx
setne dl
xor r8d, r8d
add edx, 2
call fcn.1400e74d0
jmp 0x1400c26cf
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x1400c24ce
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov r8, qword [0x14013b0d0]
mov r9, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp r12, r9
jbe 0x1400c2646
movzx r10d, byte [rbx + 0x20]
movzx eax, r10b
cmp r10b, 1
jbe 0x1400c2505
cmp al, 2
je 0x1400c2543
mov rdi, qword [rbp + 0x810]
mov rax, qword [rbp + 0x810]
jmp 0x1400c263a
mov edi, 0x80
cmp r12, rdi
ja 0x1400c2543
cmp r12, 8
ja 0x1400c251c
mov edi, 8
jmp 0x1400c2529
mov r13d, reloc.WSOCK32.dll_recv
cmp r12, r13
cmovbe rdi, r13
mov rcx, rdi
call fcn.1400dd290
test rax, rax
je 0x1400c26b9
mov byte [rbx + 0x20], 1
jmp 0x1400c263a
cmp r12, 0x20
jae 0x1400c2553
mov edi, SafeArrayAllocDescriptor
jmp 0x1400c25ff
mov edi, 0x208
cmp r12, rdi
jb 0x1400c25ff
cmp r12, 0x50000
jae 0x1400c25b9
pxor xmm0, xmm0
cvtsi2sd xmm0, r12
test r12, r12
jns 0x1400c2580
addsd xmm0, qword [0x1401279a8]
mulsd xmm0, qword [0x1401279e0]
movsd xmm1, qword [0x1401279d8]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x1400c25af
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x1400c25af
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rdi, xmm0
add rdi, rcx
jmp 0x1400c25ff
cmp r12, 0x320000
jae 0x1400c25cc
lea rdi, [r12 + 0x8000]
jmp 0x1400c25ff
cmp r12, 0xc80000
jae 0x1400c25f7
movabs rax, 0x47ae147ae147ae15
mov rdi, r12
mul r12
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, r12
jmp 0x1400c25ff
lea rdi, [r12 + 0x20000]
cmp rdi, r8
cmova rdi, r8
cmp r10b, 2
jne 0x1400c2620
test r9, r9
je 0x1400c2620
mov rcx, qword [rbx + 8]
mov r12b, 1
call qword [sym.imp.MSVCR100.dll_free]
jmp 0x1400c2623
xor r12b, r12b
test rdi, rdi
js 0x1400c2677
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_malloc]
test rax, rax
je 0x1400c2677
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
cmp byte [rbp + 0x810], sil
je 0x1400c26c0
mov rcx, qword [rbx + 8]
lea r13, [0x1401035ac]
cmp rcx, r13
je 0x1400c266c
lea r8, [r15 + r15]
mov rdx, r13
call qword [sym.imp.MSVCR100.dll_memmove]
mov rax, qword [rbx + 8]
mov word [rax + r15*2], si
jmp 0x1400c26c7
test r12b, r12b
je 0x1400c268d
lea rax, [0x140141fa8]
mov qword [rbx + 0x18], rsi
mov qword [rbx + 8], rax
jmp 0x1400c2694
mov rax, qword [rbx + 8]
mov word [rax], si
mov qword [rbx + 0x10], rsi
lea rdx, str.Out_of_memory.
lea r8, [0x1401035ac]
lea rcx, [0x140143150]
call fcn.14005f7b0
mov edx, eax
cmp edx, 1
je 0x1400c26cf
xor eax, eax
jmp 0x1400c29ff
mov rax, qword [rbx + 8]
mov word [rax], si
lea rax, [r15 + r15]
mov qword [rbx + 0x10], rax
mov edi, dword [rsp + 0x40]
mov r12d, 1
xor r8d, r8d
mov edx, r12d
mov rcx, rbx
call fcn.140001830
mov rcx, qword [r14]
lea r8d, [rdi + 1]
mov rdx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
movsxd r13, eax
cmp byte [rbx + 0x23], sil
jne 0x1400c2706
mov rdi, qword [rbx + 0x10]
jmp 0x1400c2709
mov rdi, rbx
cmp byte [rdi + 0x23], r12b
jne 0x1400c2723
test byte [rdi + 0x21], 8
je 0x1400c271d
mov rcx, rdi
call fcn.140001130
add rdi, 0x10
jmp 0x1400c272a
lea rdi, [0x140143ff8]
lea rax, [r13 + r13]
mov qword [rdi], rax
test r13, r13
jne 0x1400c274d
xor r8d, r8d
mov edx, r12d
mov rcx, rbx
call fcn.140001830
mov word [rax], si
jmp 0x1400c29cd
cmp byte [r14 + 8], 0xc
jne 0x1400c29cd
xor r8d, r8d
mov edx, r12d
mov rcx, rbx
or r15d, 0xffffffff
call fcn.140001830
or rcx, 0xffffffffffffffff
mov rdx, rax
mov qword [rsp + 0x40], rax
xor eax, eax
mov rdi, rdx
mov r14, rsi
mov r13, rsi
repne scasw ax, word [rdi]
mov qword [rsp + 0x70], rsi
not rcx
dec rcx
mov rax, rcx
mov qword [rsp + 0x78], rcx
cmp word [rdx], si
je 0x1400c29a4
cmp rax, 0x1388
jb 0x1400c293f
mov dword [rbp + 0x810], esi
mov rdi, rdx
mov qword [rsp + 0x48], rdx
nop word [rax + rax]
lea rdx, [0x140122ac8]
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_wcsstr]
mov rcx, rax
mov qword [rbp - 0x78], rax
test rax, rax
je 0x1400c28a4
mov r10d, dword [rbp + 0x810]
mov rdi, rax
mov rax, qword [rsp + 0x48]
sub rdi, rax
inc r10d
dec r15d
sar rdi, 1
mov dword [rbp + 0x810], r10d
lea rdx, [rdi + r13]
mov qword [rbp - 0x80], rdx
inc rdx
cmp rdx, qword [rsp + 0x70]
jb 0x1400c2865
movsxd r9, dword [rsp + 0x78]
mov rax, rcx
movsxd rcx, edx
sub rax, qword [rsp + 0x40]
mov r8d, r15d
mov edx, r10d
sar rax, 1
cdqe
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
or rcx, 0xffffffffffffffff
call fcn.1400e1330
mov rcx, r14
lea rdx, [rax + rax]
mov qword [rsp + 0x70], rax
call qword [sym.imp.MSVCR100.dll_realloc]
test rax, rax
je 0x1400c28ec
mov r14, rax
mov rax, qword [rsp + 0x48]
test rdi, rdi
je 0x1400c287e
lea r8, [rdi + rdi]
lea rcx, [r14 + r13*2]
mov rdx, rax
call sub.MSVCR100.dll_memcpy
mov r13, qword [rbp - 0x80]
movzx eax, word [reloc.WSOCK32.dll_inet_addr]
mov rdi, qword [rbp - 0x78]
inc r13
add rdi, 4
mov word [r14 + r13*2 - 2], ax
mov qword [rsp + 0x48], rdi
test r15d, r15d
jne 0x1400c27c0
mov eax, dword [rbp + 0x810]
test eax, eax
je 0x1400c29a4
mov r15, qword [rsp + 0x78]
mov rax, rdi
sub rax, qword [rsp + 0x40]
sar rax, 1
sub r15, rax
je 0x1400c291d
lea rax, [r15 + r13]
mov qword [rbp + 0x810], rax
cmp rax, qword [rsp + 0x70]
jb 0x1400c2906
lea rdx, [rax + rax + 2]
mov rcx, r14
call qword [sym.imp.MSVCR100.dll_realloc]
test rax, rax
jne 0x1400c2903
test r14, r14
je 0x1400c29a4
mov rcx, r14
call qword [sym.imp.MSVCR100.dll_free]
jmp 0x1400c29a4
mov r14, rax
lea r8, [r15 + r15]
lea rcx, [r14 + r13*2]
mov rdx, rdi
call sub.MSVCR100.dll_memcpy
mov r13, qword [rbp + 0x810]
mov rcx, qword [rsp + 0x40]
lea r8, [r13 + r13 + 2]
mov rdx, r14
mov word [r14 + r13*2], si
call sub.MSVCR100.dll_memcpy
mov rcx, r14
call qword [sym.imp.MSVCR100.dll_free]
jmp 0x1400c29a4
mov r13, qword [rsp + 0x78]
mov rsi, rdx
mov rbx, rdx
nop word [rax + rax]
lea rdx, [0x140122ac8]
mov rcx, rsi
call qword [sym.imp.MSVCR100.dll_wcsstr]
mov rdi, rax
test rax, rax
je 0x1400c299f
mov rcx, rax
lea rsi, [rax + 2]
mov r8, r13
sub rcx, rbx
lea rdx, [rax + 4]
sar rcx, 1
sub r8, rcx
mov rcx, rsi
lea r8, [r8 + r8 - 2]
call qword [sym.imp.MSVCR100.dll_memmove]
movzx eax, word [reloc.WSOCK32.dll_inet_addr]
dec r13
dec r15d
mov word [rdi], ax
jne 0x1400c2950
mov rbx, qword [rsp + 0x48]
xor r8d, r8d
mov edx, r12d
mov rcx, rbx
call fcn.140001830
or rcx, 0xffffffffffffffff
mov rdi, rax
xor eax, eax
repne scasw ax, word [rdi]
not rcx
lea rdx, [rcx - 1]
mov rcx, rbx
call fcn.14002fd90
cmp byte [rbx + 0x23], 0
jne 0x1400c29d7
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x23], 2
jne 0x1400c29f8
cmp qword [0x140143de8], 0
je 0x1400c29f8
lea rcx, [0x140143dd0]
call fcn.140006d40
mov r12d, eax
jmp 0x1400c29fc
and byte [rbx + 0x21], 0x86
mov eax, r12d
mov rbx, qword [rsp + 0x908]
add rsp, 0x8c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret