Function at 0x140034c50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe8]
sub rsp, 0x1e8
mov qword [rbp - 0x40], 0xfffffffffffffffe
movaps xmmword [rsp + 0x1d0], xmm6
mov rax, qword [0x14013f130]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov dword [rsp + 0x60], r9d
mov r13, rdx
mov rdi, rcx
mov rax, qword [rbp + 0x150]
mov qword [rbp - 0x70], rax
xor esi, esi
mov dword [rsp + 0x34], esi
mov byte [rcx + 0x29], sil
mov qword [rcx + 0x38], rdx
mov rcx, qword [rcx + 0x48]
call fcn.140031ba0
test al, al
jne 0x140034cc8
mov eax, 0xffffffff
jmp 0x1400351f6
mov eax, dword [r8 + 8]
mov dword [rsp + 0x54], eax
mov ecx, dword [r8]
mov dword [rsp + 0x4c], ecx
mov r15d, eax
sub r15d, ecx
mov dword [rsp + 0x30], r15d
mov eax, dword [r8 + 0xc]
mov dword [rsp + 0x58], eax
mov ecx, dword [r8 + 4]
mov dword [rsp + 0x50], ecx
mov r12d, eax
sub r12d, ecx
mov dword [rsp + 0x38], r12d
movd xmm0, r15d
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [rdi]
call fcn.1400c31a0
cvttss2si ebx, xmm0
movd xmm0, r12d
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [rdi]
call fcn.1400c31a0
cvttss2si eax, xmm0
mov r8d, r15d
cmp r15d, ebx
cmovge r8d, ebx
mov dword [rsp + 0x68], r8d
mov ebx, r12d
cmp r12d, eax
cmovge ebx, eax
mov dword [rsp + 0x48], ebx
mov rax, qword [r13]
mov dword [rsp + 0x20], esi
mov r9d, ebx
mov edx, 4
mov rcx, r13
call qword [rax + ioctlsocket]
mov eax, dword [rdi + 0x30]
mov dword [rsp + 0x5c], eax
mov r14d, 1
mov dword [rsp + 0x3c], r14d
mov esi, r14d
mov dword [rsp + 0x40], r14d
cmp eax, r14d
jb 0x140034ed3
cmp byte [rdi + 0x2a], 0
jne 0x140034e5e
mov byte [rdi + 0x2a], sil
call fcn.140084bd0
cmp eax, 3
jl 0x140034e5e
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x30]
call fcn.1400b93c0
lea rax, [0x1400fdef8]
mov qword [rbp - 0x30], rax
mov dword [rsp + 0x34], r14d
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x54], 0x78
xor r8d, r8d
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x58]
call fcn.1400075d0
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x34], edx
lea edx, [r14 + 1]
lea rcx, [rbp - 0x28]
call fcn.140009f10
nop
lea rdx, str._screen_
lea rcx, [rbp - 0x30]
call fcn.14000ae60
mov rcx, rax
lea rdx, str.MagnifierCapturer::captureRect__partitioned
call fcn.14000ae60
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x28]
call fcn.140009e60
nop
lea rdx, [rbp - 0x60]
lea ecx, [r14 + 2]
call fcn.140084ea0
nop
lea rcx, [rbp - 0x60]
call fcn.140007080
nop
lea rcx, [rbp - 0x30]
call fcn.140008760
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov ecx, r14d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
cmp r15d, ebx
jle 0x140034e93
lea eax, [r15 - 1]
add eax, ebx
cdq
idiv ebx
mov esi, eax
mov dword [rsp + 0x40], eax
mov eax, r15d
cdq
idiv esi
mov dword [rsp + 0x30], eax
jmp 0x140034e98
mov dword [rsp + 0x30], r15d
cmp r12d, ecx
jle 0x140034fe8
lea eax, [r12 - 1]
add eax, ecx
cdq
idiv ecx
mov r14d, eax
mov dword [rsp + 0x3c], eax
mov eax, r12d
cdq
idiv r14d
mov r12d, eax
mov dword [rsp + 0x38], eax
cmp r14d, 1
jle 0x140034fed
mov al, 1
mov byte [rdi + 0x2c], al
mov ebx, dword [rsp + 0x48]
mov edx, dword [rsp + 0x30]
mov r15d, edx
movss xmm1, dword [rdi]
movss xmm0, dword [0x14010a45c]
comiss xmm0, xmm1
jbe 0x140034f1b
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.1400c31a0
cvttss2si r15d, xmm0
movd xmm0, dword [rsp + 0x38]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [rdi]
call fcn.1400c31a0
cvttss2si r12d, xmm0
mov edx, dword [rsp + 0x30]
xor ecx, ecx
mov dword [rsp + 0x34], ecx
test r14d, r14d
jle 0x14003517c
mov eax, dword [rsp + 0x3c]
nop
xor r14d, r14d
test esi, esi
jle 0x140035147
mov r8d, dword [rsp + 0x38]
mov eax, r8d
imul eax, ecx
mov r9d, dword [rsp + 0x50]
add r9d, eax
mov dword [rbp - 0x7c], r9d
add r8d, r9d
mov dword [rsp + 0x78], r8d
lea eax, [rsi - 1]
mov dword [rsp + 0x64], eax
not ecx
imul ecx, r12d
xor eax, eax
add ecx, ebx
cmovns eax, ecx
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x44], r14d
mov eax, dword [rsp + 0x4c]
nop dword [rax + rax]
mov dword [rbp - 0x80], eax
lea ecx, [rax + rdx]
mov dword [rsp + 0x70], ecx
mov ebx, ecx
cmp ecx, dword [rsp + 0x54]
cmovg ebx, dword [rsp + 0x54]
mov dword [rbp - 0x78], ebx
mov esi, r8d
cmp r8d, dword [rsp + 0x58]
cmovg esi, dword [rsp + 0x58]
mov dword [rbp - 0x74], esi
sub ebx, eax
sub esi, r9d
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [rdi]
call fcn.1400c31a0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [rdi]
call fcn.1400c31a0
movaps xmm6, xmmword [rbp - 0x80]
mov rcx, qword [rdi + 0x48]
cmp dword [rsp + 0x5c], 1
jb 0x140034ffd
mov r8d, esi
mov edx, ebx
call fcn.140031c10
jmp 0x14003500b
mov dword [rsp + 0x38], r12d
cmp esi, 1
jg 0x140034eca
xor al, al
jmp 0x140034ecc
movdqa xmmword [rbp - 0x60], xmm6
lea rdx, [rbp - 0x60]
call fcn.140031e90
call fcn.140028770
cmp eax, 0xc
jge 0x14003502b
mov rax, qword [rdi + 0x48]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rax + 0x20]
call qword [rax + 0xc8]
mov rax, qword [rdi + 0x48]
mov r9, qword [rbp - 0x70]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov rcx, qword [rax + 0x20]
call qword [rax + 0xc8]
mov dword [rdi + 0x10], r15d
mov dword [rdi + 0x14], r12d
mov edx, dword [r13 + 0x14]
mov dword [rdi + 0x18], edx
mov esi, dword [rsp + 0x40]
cmp r14d, dword [rsp + 0x64]
jne 0x140035079
mov ecx, r15d
imul ecx, esi
mov r8d, dword [rsp + 0x68]
cmp ecx, r8d
jle 0x140035079
mov eax, r15d
sub eax, ecx
add eax, r8d
mov dword [rdi + 0x10], eax
cmp dword [rsp + 0x34], 0
jne 0x14003509d
mov ecx, r12d
imul ecx, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x48]
cmp ecx, r8d
jle 0x14003509d
mov eax, r12d
sub eax, ecx
add eax, r8d
mov dword [rdi + 0x14], eax
mov r8, qword [r13 + 0x50]
mov eax, dword [r13 + 8]
test eax, eax
je 0x1400350be
jle 0x1400350b0
cmp eax, 2
jle 0x1400350b7
mov ecx, 4
jmp 0x1400350c0
mov ecx, 3
jmp 0x1400350c0
xor ecx, ecx
mov eax, dword [rsp + 0x6c]
imul eax, edx
movsxd rdx, eax
mov eax, dword [rsp + 0x44]
imul eax, ecx
movsxd rcx, eax
lea rax, [r8 + rdx]
add rcx, rax
mov qword [rdi + 0x20], rcx
mov byte [rdi + 0x29], 0
mov rbx, qword [rdi + 0x48]
movdqa xmmword [rbp - 0x60], xmm6
lea rdx, [rbp - 0x60]
mov rcx, qword [rbx + 0x20]
call qword [rbx + 0xa8]
test eax, eax
je 0x140035113
mov rcx, qword [rbx + 0x90]
test rcx, rcx
je 0x140035113
mov rdx, qword [rbx + 0x18]
call fcn.1400468f0
cmp byte [rdi + 0x29], 0
je 0x14003515e
mov byte [rdi + 0x2b], 1
inc r14d
mov eax, dword [rsp + 0x70]
add dword [rsp + 0x44], r15d
cmp r14d, esi
mov edx, dword [rsp + 0x30]
mov r9d, dword [rbp - 0x7c]
mov r8d, dword [rsp + 0x78]
jl 0x140034f80
mov ecx, dword [rsp + 0x34]
mov eax, dword [rsp + 0x3c]
inc ecx
mov dword [rsp + 0x34], ecx
cmp ecx, eax
jge 0x14003517c
mov ebx, dword [rsp + 0x48]
mov edx, dword [rsp + 0x30]
jmp 0x140034f30
inc dword [rdi + 0x30]
cmp dword [rdi + 0x30], 3
jb 0x140034cbe
cmp byte [rdi + 0x2b], 0
jne 0x140034cbe
mov eax, 0xfffffffe
jmp 0x1400351f6
call fcn.1400973f0
mov rbx, rax
call fcn.1400973d4
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
imul r8, rcx, 0x3b9aca00
add r8, rax
movabs rax, 0x431bde82d7b634db
imul r8
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [r13 + 0x80], rdx
lea rax, [r13 + 0x88]
lea rcx, [rbp - 0x60]
cmp rax, rcx
je 0x1400351f4
mov ecx, dword [rsp + 0x4c]
mov dword [rax], ecx
mov ecx, dword [rsp + 0x50]
mov dword [rax + 4], ecx
mov ecx, dword [rsp + 0x54]
mov dword [rax + 8], ecx
mov ecx, dword [rsp + 0x58]
mov dword [rax + 0xc], ecx
xor eax, eax
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14009ab00
movaps xmm6, xmmword [rsp + 0x1d0]
add rsp, 0x1e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret