Function at 0x1400b1eb0
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x178]
sub rsp, 0x278
mov rax, rdx
mov r12, r9
mov rdi, r8
mov rsi, rcx
mov qword [rsp + 0x20], r8
lea rdx, [rbp + 0x1b8]
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
call fcn.1400b0da0
mov rbx, qword [rbp + 0x1b8]
mov rcx, rbx
mov r13, rax
call fcn.140031c00
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x1400b1f2b
mov dl, 1
mov rcx, rsi
call fcn.14005e3f0
add rsp, 0x278
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
test r13, r13
je 0x1400b1f11
mov rdx, rdi
mov rcx, r13
mov qword [rsp + 0x2c0], r14
call fcn.1400c3760
mov r14d, eax
mov dword [rsp + 0x30], r14d
cmp eax, dword [r13 + 0x20]
jb 0x1400b1f60
mov dl, 1
mov rcx, rsi
call fcn.14005e3f0
jmp 0x1400b266f
mov rdi, qword [0x140140268]
mov rsi, r14
mov qword [rsp + 0x270], r15
movzx eax, byte [rdi + 0x23]
imul rsi, rsi, 0x58
add rsi, qword [r13 + 0x28]
test al, al
jne 0x1400b1fa3
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140103674]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400e6e20
jmp 0x1400b21f7
lea rbx, [0x140103674]
cmp qword [rdi + 8], rbx
jne 0x1400b1fb9
mov r15, qword [rdi + 0x10]
shr r15, 1
jmp 0x1400b1fbf
mov r15d, 1
lea rcx, [r15 + 1]
lea r14, [rcx + rcx]
cmp al, 2
jne 0x1400b1fdb
mov rdx, r15
mov rcx, rbx
call fcn.140006bc0
jmp 0x1400b21eb
mov r8, qword [0x14013b0d0]
cmp r14, r8
jbe 0x1400b200c
cmp r14, qword [rdi + 0x18]
jbe 0x1400b200c
lea r8, [0x1401035ac]
lea rdx, [0x140124720]
lea rcx, [0x140143150]
call fcn.14005f7b0
jmp 0x1400b21eb
cmp rcx, 2
jae 0x1400b2026
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 3]
call fcn.1400e74d0
jmp 0x1400b21eb
movzx eax, byte [rdi + 0x21]
test al, 2
je 0x1400b2043
mov rcx, qword [rdi]
and al, 0x3d
mov byte [rdi + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov r8, qword [0x14013b0d0]
mov rcx, qword [rdi + 0x18]
and byte [rdi + 0x21], 0x82
cmp r14, rcx
jbe 0x1400b21c3
movzx r9d, byte [rdi + 0x20]
movzx eax, r9b
cmp r9b, 1
jbe 0x1400b2076
cmp al, 2
je 0x1400b20b3
mov rbx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x68]
jmp 0x1400b21b0
mov ebx, 0x80
cmp r14, rbx
ja 0x1400b20b3
cmp r14, 8
ja 0x1400b208d
mov ebx, 8
jmp 0x1400b2099
mov eax, reloc.WSOCK32.dll_recv
cmp r14, rax
cmovbe rbx, rax
mov rcx, rbx
call fcn.1400dd290
test rax, rax
je 0x1400b21eb
mov byte [rdi + 0x20], 1
jmp 0x1400b21b0
cmp r14, 0x20
jae 0x1400b20c3
mov ebx, SafeArrayAllocDescriptor
jmp 0x1400b216d
mov ebx, 0x208
cmp r14, rbx
jb 0x1400b216d
cmp r14, 0x50000
jae 0x1400b2129
pxor xmm0, xmm0
cvtsi2sd xmm0, r14
test r14, r14
jns 0x1400b20f0
addsd xmm0, qword [0x1401279a8]
mulsd xmm0, qword [0x1401279e0]
movsd xmm1, qword [0x1401279d8]
xor eax, eax
comisd xmm0, xmm1
jbe 0x1400b211f
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x1400b211f
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si rbx, xmm0
add rbx, rax
jmp 0x1400b216d
cmp r14, 0x320000
jae 0x1400b213b
lea rbx, [r14 + 0x8000]
jmp 0x1400b216d
cmp r14, 0xc80000
jae 0x1400b2166
movabs rax, 0x47ae147ae147ae15
mov rbx, r14
mul r14
sub rbx, rdx
shr rbx, 1
add rbx, rdx
shr rbx, 6
add rbx, r14
jmp 0x1400b216d
lea rbx, [r14 + 0x20000]
cmp rbx, r8
cmova rbx, r8
cmp r9b, 2
jne 0x1400b218e
test rcx, rcx
je 0x1400b218e
mov rcx, qword [rdi + 8]
mov r14b, 1
call qword [sym.imp.MSVCR100.dll_free]
jmp 0x1400b2191
xor r14b, r14b
test rbx, rbx
js 0x1400b2247
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll_malloc]
test rax, rax
je 0x1400b2247
mov byte [rdi + 0x20], 2
and byte [rdi + 0x21], 0x7f
mov qword [rdi + 0x18], rbx
mov qword [rdi + 8], rax
lea rbx, [0x140103674]
mov rcx, qword [rdi + 8]
cmp rcx, rbx
je 0x1400b21d9
lea r8, [r15 + r15]
mov rdx, rbx
call qword [sym.imp.MSVCR100.dll_memmove]
mov rax, qword [rdi + 8]
lea rcx, [r15 + r15]
xor edx, edx
mov word [rcx + rax], dx
mov qword [rdi + 0x10], rcx
mov r14d, dword [rsp + 0x30]
mov rbx, qword [rbp + 0x1b8]
mov rax, qword [0x140141290]
mov edi, dword [rsp + 0x34]
xor r15b, r15b
mov qword [rbp - 0x70], rax
mov rax, qword [0x140141298]
mov qword [rsp + 0x68], rax
xor eax, eax
mov qword [0x140141290], rax
mov qword [0x140141298], rax
lea eax, [rdi - 1]
cmp eax, 0xc
ja case.default.0x1400b2245
lea r8, [0x140000000]
cdqe
mov eax, dword [r8 + rax*4 + 0xb3554]
add rax, r8
jmp rax
test r14b, r14b
je 0x1400b2261
lea rax, [0x140141fa8]
mov qword [rdi + 0x18], 0
mov qword [rdi + 8], rax
jmp 0x1400b226a
mov rax, qword [rdi + 8]
xor edx, edx
mov word [rax], dx
lea r8, [0x1401035ac]
lea rdx, str.Out_of_memory.
lea rcx, [0x140143150]
mov qword [rdi + 0x10], 0
call fcn.14005f7b0
jmp 0x1400b21eb
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, 0x1d0
call sub.MSVCR100.dll_memset
cmp byte [rsi + 8], 0xa
jne 0x1400b22cb
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400b22c4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1037
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbp - 0x50], eax
mov dword [rbp - 0x4c], 0xffffffff
mov rax, qword [rbp + 0x1d0]
lea r8, [rbp - 0x60]
mov r9, rsi
mov qword [rsp + 0x28], rax
mov rdx, rbx
mov rcx, r13
mov dword [rbp - 0x2c], 0x80000000
mov dword [rbp - 0x30], 0x80000000
mov dword [rbp - 0x34], 0x80000000
mov dword [rsp + 0x20], r14d
mov dword [rbp - 0x38], 0x80000000
mov qword [rbp + 0x10], 0xffffffffff000000
call fcn.1400badc0
mov esi, eax
jmp 0x1400b2624
movzx edx, byte [rsi + 8]
lea eax, [rdx - 1]
cmp eax, 0x18
ja case.0x1400b2336.7
cdqe
mov ecx, dword [r8 + rax*4 + 0xb3588]
add rcx, r8
jmp rcx
movzx r15d, byte [rsi + 9]
shr r15b, 6
and r15b, 1
jmp case.0x1400b2336.4
mov rcx, qword [rsi]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x4c]
sub edx, dword [rsp + 0x40]
sub r8d, dword [rsp + 0x44]
xor r15d, r15d
mov r9d, r15d
mov dword [rsp + 0x38], r15d
mov rbx, r12
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x30], r8d
movzx eax, word [rbx]
cmp ax, 0x20
je 0x1400b2390
cmp ax, 9
jne 0x1400b2396
add rbx, 2
jmp 0x1400b2381
cmp word [rbx], 0x2a
jne 0x1400b249a
mov r14d, 4
nop word [rax + rax]
lea rdx, [0x140107c20]
mov rcx, rbx
call fcn.140007290
mov r12, rax
test rax, rax
jne 0x1400b23d9
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r12, [rbx + rcx*2 - 2]
movzx edi, word [r12]
lea rdx, str.Icon
lea rcx, [rbx + 2]
mov r8, r14
mov word [r12], r15w
call qword [sym.imp.MSVCR100.dll__wcsnicmp]
test eax, eax
jne 0x1400b240d
lea rcx, [rbx + 0xa]
call fcn.14001db30
mov r9d, eax
mov dword [rsp + 0x38], eax
jmp 0x1400b2459
movzx ecx, word [rbx + 2]
call fcn.140016bd0
movzx edx, ax
cmp edx, 0x48
je 0x1400b2439
cmp edx, 0x57
jne 0x1400b2454
lea rcx, [rbx + 4]
call fcn.14001db30
mov r9d, dword [rsp + 0x38]
mov edx, eax
mov dword [rsp + 0x34], eax
jmp 0x1400b245d
lea rcx, [rbx + 4]
call fcn.14001db30
mov edx, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
mov r8d, eax
mov dword [rsp + 0x30], eax
jmp 0x1400b2462
mov r9d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x30]
mov word [r12], di
mov rbx, r12
nop word [rax + rax]
movzx ecx, word [rbx]
cmp cx, 0x20
je 0x1400b247f
cmp cx, 9
jne 0x1400b2485
add rbx, 2
jmp 0x1400b2470
cmp word [rbx], 0x2a
je 0x1400b23b0
cmp word [r12], r15w
je 0x1400b249a
add r12, 2
mov dword [rsp + 0x20], r9d
mov r9d, r8d
mov r8d, edx
mov rdx, r12
mov rcx, rsi
call fcn.1400bee60
test eax, eax
je 0x1400b2eb1
mov r15b, 1
jmp case.0x1400b2336.4
cmp edi, 2
jne case.0x1400b2336.4
mov rdi, r12
nop dword [rax]
movzx eax, word [rdi]
cmp ax, 0x20
je 0x1400b24df
cmp ax, 9
jne 0x1400b24e5
add rdi, 2
jmp 0x1400b24d0
movzx eax, word [rdi]
test ax, ax
je case.0x1400b2336.4
cmp ax, 0x2d
je 0x1400b24fd
cmp ax, 0x2b
jne 0x1400b2501
add rdi, 2
cmp word [rdi], 0x30
jne 0x1400b2530
movzx eax, word [rdi + 2]
cmp ax, 0x78
je 0x1400b2517
cmp ax, 0x58
jne 0x1400b2530
movzx ecx, word [rdi + 4]
call qword [sym.imp.MSVCR100.dll_isxdigit]
test eax, eax
je 0x1400b2530
mov eax, 1
add rdi, 4
jmp 0x1400b2532
xor eax, eax
movzx ebx, word [rdi]
xor edx, edx
movsxd r14, eax
mov ecx, edx
cmp ebx, 0x20
je 0x1400b2593
cmp ebx, 9
je 0x1400b2593
test ebx, ebx
je 0x1400b25b2
cmp ebx, 0x2e
je case.0x1400b2336.4
test r14, r14
je 0x1400b2579
movzx ecx, bx
call qword [sym.imp.MSVCR100.dll_iswxdigit]
xor ecx, ecx
test eax, eax
sete cl
test ecx, ecx
je 0x1400b2581
movzx ecx, bx
call fcn.140016bd0
jmp case.0x1400b2336.4
lea eax, [rbx - 0x30]
cmp eax, 9
ja 0x1400b256c
movzx ebx, word [rdi + 2]
add rdi, 2
mov ecx, 1
cmp ebx, 0x20
jne 0x1400b2541
movzx eax, word [rdi]
cmp ax, 0x20
je 0x1400b25a2
cmp ax, 9
jne 0x1400b25a8
add rdi, 2
jmp 0x1400b2593
cmp word [rdi], 0
jne case.0x1400b2336.4
test ecx, ecx
je case.0x1400b2336.4
mov rcx, r12
call fcn.14001db30
movsxd rdi, eax
test eax, eax
je 0x1400b25e5
cmp rdi, 1
je 0x1400b25e5
cmp byte [rsi + 8], 5
jne case.0x1400b2336.4
cmp rdi, 0xffffffffffffffff
jne case.0x1400b2336.4
jmp 0x1400b25eb
cmp rdi, 0xffffffffffffffff
jne 0x1400b25f0
mov edi, 2
cmp byte [rsi + 8], 6
jne 0x1400b260b
mov r8d, dword [rsp + 0x30]
mov r9, rdi
mov rdx, rsi
mov rcx, r13
call fcn.1400c6970
jmp case.0x1400b2336.10
xor r9d, r9d
mov r8, rdi
mov edx, 0xf1
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_SendMessageW]
mov esi, 1
mov rdi, qword [rbp - 0x70]
mov r15, qword [rsp + 0x270]
test rdi, rdi
je 0x1400b266d
mov rcx, qword [0x140141290]
test rcx, rcx
je 0x1400b265a
call qword [sym.imp.MSVCR100.dll_free]
cmp qword [0x140141298], 0x400000
jbe 0x1400b265a
dec dword [0x1401412a0]
mov rax, qword [rsp + 0x68]
mov qword [0x140141290], rdi
mov qword [0x140141298], rax
mov eax, esi
mov r14, qword [rsp + 0x2c0]
add rsp, 0x278
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp word [r12], 0
je 0x1400b26ae
mov rcx, qword [rsi]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
je 0x1400b26ae
mov rcx, r12
call fcn.1400e14d0
mov rdi, rax
jmp 0x1400b26b1
mov rdi, r12
mov rcx, qword [rsi]
mov rdx, r12
test rdi, rdi
cmovne rdx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
test rdi, rdi
je case.0x1400b2336.10
cmp rdi, r12
je case.0x1400b2336.10
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_free]
jmp case.0x1400b2336.10
cmp edi, 2
jne 0x1400b2730
cmp word [r12], 0
je 0x1400b271b
lea rdx, [rsp + 0x70]
mov r8b, 1
mov rcx, r12
call fcn.1400e0030
test eax, eax
je case.0x1400b2336.10
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x1002
jmp 0x1400b2616
lea r9, [rsp + 0x70]
mov edx, 0x1002
mov r8d, 1
jmp 0x1400b2616
mov rcx, qword [rsi]
mov edx, 0xfffffff0
xor bl, bl
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, eax
and edi, 0xfffffff2
cmp word [r12], 0
je 0x1400b2764
lea rdx, str.LongDate
mov rcx, r12
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
jne 0x1400b278e
or edi, 4
mov rcx, qword [rsi]
mov r8d, edi
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_SetWindowLongW]
test bl, bl
mov r9d, 0
mov edx, 0x1032
cmovne r9, r12
xor r8d, r8d
jmp 0x1400b2616
lea rdx, str.Time
mov rcx, r12
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
jne 0x1400b27a7
or edi, 9
jmp 0x1400b2764
mov bl, 1
jmp 0x1400b2775
cmp word [r12], 0
je case.0x1400b2336.10
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.1400dff60
mov edi, eax
test eax, eax
je case.0x1400b2336.4
mov rcx, qword [rsi]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
test al, 2
je 0x1400b2878
cmp edi, 1
jne 0x1400b27fb
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x80], rax
mov rax, qword [rsp + 0x78]
mov qword [rbp - 0x78], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x1006
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_SendMessageW]
movzx edx, byte [rsi + 0xa]
mov rcx, r13
call fcn.1400c7400
test rax, rax
je case.0x1400b2336.10
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je case.0x1400b2336.10
mov rcx, qword [rsi]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rdx, qword [r13 + 8]
lea r8, [rsp + 0x40]
mov r9d, 2
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov rcx, qword [r13 + 8]
mov esi, 1
lea rdx, [rsp + 0x40]
mov r8d, esi
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x1400b2624
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x1002
jmp 0x1400b2808
mov rcx, r12
call fcn.1400c67e0
xor r9d, r9d
mov edx, 0x401
movzx r8d, ax
jmp 0x1400b2616
cmp word [r12], 0x2b
jne 0x1400b28e4
lea rcx, [r12 + 2]
call fcn.14001db30
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
test byte [rsi + 9], 0x80
mov edi, eax
je 0x1400b28d2
mov edx, 0x472
call qword [sym.imp.USER32.dll_SendMessageW]
add edi, eax
jmp 0x1400b28ee
mov edx, 0x468
call qword [sym.imp.USER32.dll_SendMessageW]
movsx ecx, ax
add edi, ecx
jmp 0x1400b28ee
mov rcx, r12
call fcn.14001db30
mov edi, eax
test byte [rsi + 9], 0x80
mov edx, 0x467
mov eax, 0x471
cmovne edx, eax
xor r8d, r8d
movsxd r9, edi
jmp 0x1400b2616
cmp word [r12], 0x2b
jne 0x1400b2950
lea rcx, [r12 + 2]
call fcn.14001db30
test byte [rsi + 9], 0x80
mov edi, eax
je 0x1400b2926
neg edi
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x400
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd r9, edi
mov edx, 0x405
add r9, rax
mov r8d, 1
jmp 0x1400b2616
mov rcx, r12
call fcn.14001db30
mov rcx, rsi
mov edx, eax
call fcn.1400c6b30
mov edx, 0x405
mov r8d, 1
movsxd r9, eax
jmp 0x1400b2616
cmp word [r12], 0x2b
jne 0x1400b2997
lea rcx, [r12 + 2]
call fcn.14001db30
xor r9d, r9d
mov edx, 0x403
movsxd r8, eax
jmp 0x1400b2616
mov rcx, r12
call fcn.14001db30
xor r9d, r9d
mov edx, 0x402
movsxd r8, eax
jmp 0x1400b2616
mov rcx, qword [rsi]
mov rdx, r12
call qword [sym.imp.USER32.dll_SetWindowTextW]
jmp case.0x1400b2336.10
cmp dl, 8
jne 0x1400b29f9
cmp edi, 3
jne 0x1400b29f9
mov rcx, qword [rsi]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov edx, 0x14e
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi]
mov rdx, r12
call qword [sym.imp.USER32.dll_SetWindowTextW]
test r15b, r15b
jne 0x1400b2837
jmp case.0x1400b2336.10
movzx eax, word [r13 + 0x6e]
cmp word [r12], ax
jne 0x1400b2a36
add r12, 2
movzx eax, dl
cmp dl, 9
je 0x1400b2a22
mov edx, 0x1309
mov ecx, 0x14b
cmp al, 0x13
cmovne edx, ecx
jmp 0x1400b2a27
mov edx, 0x184
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov r8, r12
mov rdx, rsi
mov rcx, r13
call fcn.1400beb80
cmp byte [rsi + 8], 0x13
jne case.0x1400b2336.10
mov rdx, qword [rsi]
mov rcx, r13
call fcn.1400c7d50
xor r8d, r8d
mov rdx, rsi
mov rcx, r13
call fcn.1400c7060
jmp case.0x1400b2336.10
cmp word [r12], 0
mov ebx, 0x80000000
mov dword [rsp + 0x30], ebx
mov edi, ebx
mov dword [rsp + 0x38], ebx
mov r14d, ebx
mov r15d, ebx
je 0x1400b2b96
add r12, 2
movzx ecx, word [r12 - 2]
call fcn.140016bd0
movzx edx, ax
sub edx, 0x48
je 0x1400b2b50
sub edx, 0xf
je 0x1400b2b21
dec edx
je 0x1400b2af0
dec edx
jne 0x1400b2b7d
mov rcx, r12
call qword [sym.imp.MSVCR100.dll__wtoi]
cmp byte [r13 + 0x110], 0
mov edi, eax
je 0x1400b2b7d
mov edx, dword [0x1401430c4]
mov r8d, WSAAsyncSelect
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
jmp 0x1400b2b7d
mov rcx, r12
call qword [sym.imp.MSVCR100.dll__wtoi]
cmp byte [r13 + 0x110], 0
mov ebx, eax
je 0x1400b2b7d
mov edx, dword [0x1401430c4]
mov r8d, WSAAsyncSelect
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov ebx, eax
jmp 0x1400b2b7d
mov rcx, r12
call qword [sym.imp.MSVCR100.dll__wtoi]
cmp byte [r13 + 0x110], 0
mov r14d, eax
je 0x1400b2b7d
mov edx, dword [0x1401430c4]
mov r8d, WSAAsyncSelect
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r14d, eax
jmp 0x1400b2b7d
mov rcx, r12
call qword [sym.imp.MSVCR100.dll__wtoi]
cmp byte [r13 + 0x110], 0
mov r15d, eax
je 0x1400b2b7d
mov edx, dword [0x1401430c4]
mov r8d, WSAAsyncSelect
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r15d, eax
add r12, 2
cmp word [r12 - 2], 0
jne 0x1400b2a94
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], ebx
mov rcx, qword [rsi]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [rsp + 0x40]
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsi]
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x54], eax
call qword [sym.imp.USER32.dll_GetParent]
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x54]
cmp ebx, 0x80000000
cmovne edx, ebx
cmp edi, 0x80000000
cmovne r8d, edi
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x54], r8d
cmp r15d, 0x80000000
jne 0x1400b2c03
mov eax, dword [rsp + 0x4c]
sub eax, dword [rsp + 0x44]
jmp 0x1400b2c06
mov eax, r15d
cmp r14d, 0x80000000
jne 0x1400b2c1b
mov r9d, dword [rsp + 0x48]
sub r9d, dword [rsp + 0x40]
jmp 0x1400b2c1e
mov r9d, r14d
mov rcx, qword [rsi]
mov r12d, 1
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_MoveWindow]
test eax, eax
je 0x1400b2eb1
movzx eax, byte [rsi + 8]
lea edi, [r12 + 1]
cmp al, 0x11
jne 0x1400b2cd9
mov rcx, qword [rsi]
xor r9d, r9d
mov r8d, r12d
mov edx, 0x421
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x421
mov r12, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
test r12, r12
je 0x1400b2ca6
mov rcx, qword [rsi]
lea r8d, [rdi - 1]
mov r9, r12
mov edx, 0x420
call qword [sym.imp.USER32.dll_SendMessageW]
lea r8d, [rdi - 1]
xor edx, edx
mov rcx, r12
call qword [sym.imp.USER32.dll_InvalidateRect]
test rbx, rbx
je 0x1400b2d31
mov rcx, qword [rsi]
mov r9, rbx
xor r8d, r8d
mov edx, 0x420
call qword [sym.imp.USER32.dll_SendMessageW]
mov r12d, 1
xor edx, edx
mov r8d, r12d
mov rcx, rbx
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x1400b2d37
cmp al, 0x13
jne 0x1400b2d3b
mov rcx, qword [rsi]
mov eax, 0
cmp r15d, 0x80000000
mov ebx, edi
lea rdx, str.ahk_autosize
cmove ebx, eax
cmp r14d, 0x80000000
setne al
or ebx, eax
call qword [sym.imp.USER32.dll_GetPropW]
test ebx, eax
je 0x1400b2d37
mov rcx, qword [rsi]
not ebx
lea rdx, str.ahk_autosize
and eax, ebx
je 0x1400b2d29
movsxd r8, eax
call qword [sym.imp.USER32.dll_SetPropW]
jmp 0x1400b2d37
call qword [sym.imp.USER32.dll_RemovePropW]
jmp 0x1400b2d37
mov r12d, 1
mov ebx, dword [rsp + 0x30]
cmp dword [rsp + 0x34], 5
jne 0x1400b2d76
mov rcx, qword [rsi]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rdx, qword [r13 + 8]
lea r8, [rsp + 0x40]
mov r9d, edi
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov rcx, qword [r13 + 8]
lea rdx, [rsp + 0x40]
mov r8d, r12d
call qword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [rsp + 0x38]
mov dword [rsi + 0x30], r14d
xor r14d, r14d
mov dword [rsi + 0x28], ebx
mov dword [rsi + 0x34], r15d
mov dword [rsi + 0x2c], eax
mov ebx, r14d
mov esi, r14d
mov r12d, r14d
cmp dword [r13 + 0x20], ebx
jbe 0x1400b2e3b
mov edi, r14d
mov rcx, qword [r13 + 0x28]
cmp byte [rdi + rcx + 8], 0x19
je 0x1400b2e2b
mov rcx, qword [rdi + rcx]
lea rdx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [rsp + 0x58]
mov eax, dword [rsp + 0x5c]
mov rcx, qword [r13 + 8]
mov dword [rsp + 0x38], edx
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_ScreenToClient]
mov r11, qword [r13 + 0x120]
test r11, r11
je 0x1400b2df0
mov eax, dword [r11 + 0x14]
jmp 0x1400b2df3
mov eax, r14d
sub eax, dword [rsp + 0x58]
mov rcx, qword [r13 + 0x118]
add eax, dword [rsp + 0x60]
add eax, dword [rsp + 0x38]
test rcx, rcx
je 0x1400b2e10
mov ecx, dword [rcx + 0x14]
jmp 0x1400b2e13
mov ecx, r14d
sub ecx, dword [rsp + 0x5c]
add ecx, dword [rsp + 0x64]
add ecx, dword [rsp + 0x3c]
cmp eax, esi
cmovg esi, eax
cmp ecx, r12d
cmovg r12d, ecx
inc ebx
add rdi, 0x58
cmp ebx, dword [r13 + 0x20]
jb 0x1400b2da1
mov eax, dword [r13 + 0xd8]
cmp esi, eax
cmovne eax, esi
mov dword [r13 + 0xd8], eax
mov eax, dword [r13 + 0xdc]
cmp r12d, eax
cmovne eax, r12d
mov dword [r13 + 0xdc], eax
mov eax, dword [r13 + 0x64]
bt eax, 0x14
jb 0x1400b2e77
bt eax, 0x15
jae case.0x1400b2336.10
mov rcx, qword [r13 + 8]
lea rdx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_GetClientRect]
mov r8d, dword [rsp + 0x64]
mov edx, dword [rsp + 0x60]
xor r9d, r9d
mov rcx, r13
call fcn.1400b0a70
jmp case.0x1400b2336.10
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_SetFocus]
test rax, rax
jne case.0x1400b2336.10
mov rcx, qword [rbp + 0x1b0]
mov dl, 1
call fcn.14005e3f0
mov esi, eax
jmp 0x1400b2624
cmp edi, 7
jne 0x1400b2ed1
and byte [rsi + 9], 0xef
jmp 0x1400b2ed5
or byte [rsi + 9], 0x10
movzx edx, byte [rsi + 0xa]
mov rcx, r13
call fcn.1400c7400
mov rdi, rax
test rax, rax
je 0x1400b2f26
mov rcx, qword [rax]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1b
jb case.0x1400b2336.10
mov rcx, qword [rdi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, byte [rsi + 0xb]
cmp eax, ecx
je 0x1400b2f26
cmp eax, 0xffffffff
jne case.0x1400b2336.10
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [r13 + 8]
jne 0x1400b2f42
call qword [sym.imp.USER32.dll_GetFocus]
cmp rax, qword [rsi]
jne 0x1400b2f42
mov dil, 1
jmp 0x1400b2f45
xor dil, dil
cmp dword [rsp + 0x34], 7
mov rcx, qword [rsi]
mov eax, 0
sete al
mov edx, eax
call qword [sym.imp.USER32.dll_EnableWindow]
test dil, dil
je 0x1400b2f77
call qword [sym.imp.USER32.dll_GetFocus]
test rax, rax
jne 0x1400b2f77
mov rcx, qword [r13 + 8]
call qword [sym.imp.USER32.dll_SetFocus]
cmp byte [rsi + 8], 0x13
jne case.0x1400b2336.10
xor r8d, r8d
mov rdx, rsi
mov rcx, r13
call fcn.1400c7060
jmp case.0x1400b2336.10
cmp edi, 9
jne 0x1400b2f9f
and byte [rsi + 9], 0xf7
jmp 0x1400b2fa3
or byte [rsi + 9], 8
movzx edx, byte [rsi + 0xa]
mov rcx, r13
call fcn.1400c7400
mov rdi, rax
test rax, rax
je 0x1400b2ff4
mov rcx, qword [rax]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1c
jae case.0x1400b2336.10
mov rcx, qword [rdi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, byte [rsi + 0xb]
cmp eax, ecx
je 0x1400b2ff4
cmp eax, 0xffffffff
jne case.0x1400b2336.10
cmp dword [rsp + 0x34], 9
mov rcx, qword [rsi]
mov edx, 0
mov r14d, 4
cmove edx, r14d
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1400b2f77
movzx eax, word [r13 + 0x6e]
xor r15d, r15d
mov ecx, r15d
lea r14d, [r15 + 1]
mov dword [rsp + 0x38], ecx
cmp word [r12], ax
jne 0x1400b303b
mov ecx, r14d
add r12, 2
mov dword [rsp + 0x38], ecx
cmp byte [rsi + 8], 0x13
jne 0x1400b3217
cmp edi, 0xb
jne 0x1400b3133
mov rdi, r12
movzx eax, word [rdi]
cmp ax, 0x20
je 0x1400b3060
cmp ax, 9
jne 0x1400b3066
add rdi, 2
jmp 0x1400b3051
movzx eax, word [rdi]
test ax, ax
je 0x1400b3138
cmp ax, 0x2d
je 0x1400b307e
cmp ax, 0x2b
jne 0x1400b3082
add rdi, 2
cmp word [rdi], 0x30
jne 0x1400b30af
movzx eax, word [rdi + 2]
cmp ax, 0x78
je 0x1400b3098
cmp ax, 0x58
jne 0x1400b30af
movzx ecx, word [rdi + 4]
call qword [sym.imp.MSVCR100.dll_isxdigit]
test eax, eax
je 0x1400b30af
mov eax, r14d
add rdi, 4
jmp 0x1400b30b2
mov eax, r15d
movzx ebx, word [rdi]
mov ecx, r15d
movsxd r14, eax
cmp ebx, 0x20
je 0x1400b3114
cmp ebx, 9
je 0x1400b3114
test ebx, ebx
je 0x1400b312f
cmp ebx, 0x2e
je 0x1400b3138
test r14, r14
je 0x1400b30fa
movzx ecx, bx
call qword [sym.imp.MSVCR100.dll_iswxdigit]
mov ecx, r15d
test eax, eax
sete cl
test ecx, ecx
je 0x1400b3102
movzx ecx, bx
call fcn.140016bd0
jmp 0x1400b3138
lea eax, [rbx - 0x30]
cmp eax, 9
ja 0x1400b30f0
movzx ebx, word [rdi + 2]
add rdi, 2
mov ecx, 1
cmp ebx, 0x20
jne 0x1400b30c0
movzx eax, word [rdi]
cmp ax, 0x20
je 0x1400b3123
cmp ax, 9
jne 0x1400b3129
add rdi, 2
jmp 0x1400b3114
cmp word [rdi], r15w
jne 0x1400b3138
test ecx, ecx
jmp 0x1400b3136
cmp edi, 0xc
jne 0x1400b314a
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call fcn.1400c7450
mov edi, eax
jmp 0x1400b3155
mov rcx, r12
call fcn.14001db30
lea edi, [rax - 1]
cmp edi, 0xff
ja 0x1400b2eb1
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageW]
mov r12d, dword [rsp + 0x38]
mov rbx, rax
test r12d, r12d
je 0x1400b31db
mov rcx, qword [rsi]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 8
jb 0x1400b31db
mov rcx, qword [rsi]
movsxd r8, edi
xor r9d, r9d
mov edx, 0x1330
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, edi
je case.0x1400b2336.10
mov rcx, qword [rbp + 0x1b0]
mov dl, 1
call fcn.14005e3f0
mov esi, eax
jmp 0x1400b2624
mov rcx, qword [rsi]
movsxd r8, edi
xor r9d, r9d
mov edx, 0x130c
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x1400b2eb1
cmp ebx, edi
je case.0x1400b2336.10
test r12d, r12d
mov rdx, rsi
mov rcx, r13
setg r8b
call fcn.1400c7060
jmp case.0x1400b2336.10
cmp word [r12], ax
jne 0x1400b3228
add r12, 2
inc ecx
mov dword [rsp + 0x38], ecx
cmp edi, 0xb
jne 0x1400b332e
mov rdi, r12
movzx eax, word [rdi]
cmp ax, 0x20
je 0x1400b3243
cmp ax, 9
jne 0x1400b3249
add rdi, 2
jmp 0x1400b3234
movzx eax, word [rdi]
test ax, ax
je 0x1400b331f
cmp ax, 0x2d
je 0x1400b3261
cmp ax, 0x2b
jne 0x1400b3265
add rdi, 2
cmp word [rdi], 0x30
jne 0x1400b3292
movzx eax, word [rdi + 2]
cmp ax, 0x78
je 0x1400b327b
cmp ax, 0x58
jne 0x1400b3292
movzx ecx, word [rdi + 4]
call qword [sym.imp.MSVCR100.dll_isxdigit]
test eax, eax
je 0x1400b3292
mov eax, r14d
add rdi, 4
jmp 0x1400b3295
mov eax, r15d
movzx ebx, word [rdi]
mov ecx, r15d
movsxd r14, eax
cmp ebx, 0x20
je 0x1400b3300
cmp ebx, 9
je 0x1400b3300
test ebx, ebx
je 0x1400b331b
cmp ebx, 0x2e
je 0x1400b331f
test r14, r14
je 0x1400b32e6
movzx ecx, bx
call qword [sym.imp.MSVCR100.dll_iswxdigit]
mov ecx, r15d
test eax, eax
sete cl
test ecx, ecx
je 0x1400b32ee
movzx ecx, bx
call fcn.140016bd0
mov edi, reloc.WSOCK32.dll_ioctlsocket
mov dword [rsp + 0x34], edi
jmp 0x1400b332e
lea eax, [rbx - 0x30]
cmp eax, 9
ja 0x1400b32d3
movzx ebx, word [rdi + 2]
add rdi, 2
mov ecx, 1
cmp ebx, 0x20
jne 0x1400b32a3
movzx eax, word [rdi]
cmp ax, 0x20
je 0x1400b330f
cmp ax, 9
jne 0x1400b3315
add rdi, 2
jmp 0x1400b3300
cmp word [rdi], r15w
jne 0x1400b331f
test ecx, ecx
jne 0x1400b332a
mov edi, reloc.WSOCK32.dll_ioctlsocket
mov dword [rsp + 0x34], edi
jmp 0x1400b332e
mov edi, dword [rsp + 0x34]
movzx eax, byte [rsi + 8]
cmp al, 7
jb 0x1400b2eb1
mov r14d, 0x185
cmp al, 8
jbe 0x1400b338b
cmp al, 9
jne 0x1400b2eb1
mov rcx, qword [rsi]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x808
je 0x1400b3374
cmp edi, 0xb
mov ebx, 0x18f
mov edi, 2
cmove ebx, r14d
jmp 0x1400b339f
cmp edi, 0xb
mov ebx, 0x18c
mov eax, 0x186
cmove ebx, eax
mov edi, 2
jmp 0x1400b339f
cmp edi, 0xb
mov ebx, r15d
mov edi, 9
sete bl
add ebx, 0x14d
cmp dword [rsp + 0x34], 0xc
jne 0x1400b33dc
mov rcx, qword [rsi]
or r8, 0xffffffffffffffff
mov r9, r12
cmp ebx, 0x18f
jne 0x1400b33d8
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x1400b2eb1
mov rcx, qword [rsi]
mov r9, rax
mov r8d, 1
jmp 0x1400b3409
mov edx, ebx
jmp 0x1400b340c
mov rcx, r12
call fcn.14001db30
lea r12d, [rax - 1]
cmp r12d, 0xffffffff
jl 0x1400b2eb1
mov rcx, qword [rsi]
cmp ebx, r14d
jne 0x1400b341e
mov rax, r15
test r12d, r12d
movsxd r9, r12d
setns al
mov r8, rax
mov edx, r14d
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x1400b2eb1
jmp 0x1400b343b
movsxd r8, r12d
xor r9d, r9d
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
jne 0x1400b343b
cmp r12d, eax
jne 0x1400b2eb1
mov ebx, dword [rsp + 0x30]
mov r12d, dword [rsp + 0x38]
add ebx, 3
test r12d, r12d
jle 0x1400b3467
mov r9, qword [rsi]
mov rcx, qword [r13 + 8]
movzx r8d, bx
bts r8, 0x10
mov edx, 0x111
call qword [sym.imp.USER32.dll_SendMessageW]
cmp r12d, 1
jle case.0x1400b2336.10
mov r9, qword [rsi]
movzx ecx, di
movzx eax, bx
shl ecx, 0x10
mov edx, 0x111
or ecx, eax
movsxd r8, ecx
mov rcx, qword [r13 + 8]
jmp 0x1400b2619
movsxd rax, dword [r13 + 0x80]
mov r8, qword [0x1401412a8]
mov rcx, qword [rsi]
imul rax, rax, 0x98
mov r8, qword [rax + r8 + 0x90]
xor r9d, r9d
lea edx, [r9 + 0x30]
call qword [sym.imp.USER32.dll_SendMessageW]
movzx edx, byte [rsi + 8]
cmp dl, 2
je 0x1400b3540
cmp dl, 0x10
je 0x1400b3540
cmp dl, 0x11
je 0x1400b3540
cmp dl, 0x12
je 0x1400b3540
cmp dl, 0xa
je 0x1400b34f4
mov eax, dword [r13 + 0x84]
mov dword [rsi + 0x20], eax
movzx ecx, dl
sub ecx, 0xa
je 0x1400b3528
dec ecx
je 0x1400b3521
sub ecx, 2
je 0x1400b3514
dec ecx
jne 0x1400b3540
mov edx, 0x100a
lea r8d, [rcx + 1]
jmp 0x1400b3530
mov edx, 0x1006
mov r8d, 1
jmp 0x1400b3530
mov edx, 0x111e
jmp 0x1400b352d
mov edx, 0x1024
xor r8d, r8d
mov r9d, dword [r13 + 0x84]
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x1400b2336.10