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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x14023c8a0]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rax, rcx
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x100]
mov rbp, rdx
mov rbx, r8
mov qword [rsp + 0x50], rdx
xor r8d, r8d
mov qword [rsp + 0x58], rcx
mov rsi, qword [rax]
movzx r13d, r8w
mov r14, r9
mov rdx, qword [rax + 0x10]
mov r12d, r8d
mov rax, qword [r9 + 0x20]
mov edi, r8d
mov rcx, qword [rbp + 0x20]
mov r10d, r8d
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x40], rdx
mov dword [rsp + 0x24], r8d
cmp dword [rbp + 0x14], r8d
jle 0x140112159
nop
mov edx, 0xffbf
and dx, word [rcx + 0x12]
mov word [rcx + 0x12], dx
mov r11d, dword [r14 + 0x44]
cmp dword [rcx + 0x1c], r11d
jne 0x140112140
test qword [rcx + 0x28], rbx
jne 0x140112140
movzx eax, word [rcx + 0x14]
test eax, 0xfffff7ff
je 0x140112140
test dl, dl
js 0x140112140
movzx r8d, byte [r14 + 0x3c]
test r8b, 0x58
je 0x140112136
mov rax, qword [rcx]
mov r9d, dword [rax + 4]
test r9b, 3
je 0x140112140
cmp dword [rax + 0x34], r11d
jne 0x140112140
test r8b, 0x18
je 0x140112136
test r9b, 2
jne 0x140112140
inc edi
or dx, 0x40
mov word [rcx + 0x12], dx
inc r10d
add rcx, 0x38
cmp r10d, dword [rbp + 0x14]
jl 0x1401120e0
mov rdx, qword [rsp + 0x40]
xor r8d, r8d
mov dword [rsp + 0x24], edi
lea r10, [fcn.140179a20]
mov ecx, r8d
mov dword [rsp + 0x2c], ecx
mov r9d, 1
lea r11, [0x140179db0]
test rdx, rdx
je 0x14011234f
movsxd r13, dword [rdx]
mov ebp, r8d
mov r15, r13
test r13d, r13d
jle 0x1401122fd
mov r12, qword [rsp + 0x48]
lea rdi, [rdx + 0x18]
mov rsi, r8
nop dword [rax + rax]
mov rbx, qword [rdi - 0x10]
mov word [rsp + 0x84], r9w
mov qword [rsp + 0x68], r10
mov qword [rsp + 0x70], r11
mov dword [rsp + 0x88], r8d
test rbx, rbx
je 0x1401122d3
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.1401822e0
cmp word [rsp + 0x84], 0
jne 0x1401122bc
test byte [rdi], 2
jne 0x1401122e5
movzx eax, byte [rbx]
cmp al, 0xa7
jne 0x140112200
mov eax, dword [r14 + 0x44]
cmp dword [rbx + 0x2c], eax
jmp 0x1401122ba
cmp al, 0x71
jne 0x1401122e5
mov rcx, qword [rbx + 0x10]
cmp byte [rcx], 0xa7
jne 0x1401122e5
mov eax, dword [r14 + 0x44]
cmp dword [rcx + 0x2c], eax
jne 0x1401122e5
movzx eax, word [rcx + 0x30]
mov word [rbx + 0x30], ax
movsx rax, word [rcx + 0x30]
test ax, ax
js 0x1401122bc
lea rcx, [rax + rax*2]
mov rax, qword [r12 + 8]
movzx edx, word [rax + rcx*8 + 0x12]
bt dx, 9
jae 0x140112274
mov rax, qword [rax + rcx*8]
cmp byte [rax], 0
je 0x14011225e
inc rax
cmp byte [rax], 0
jne 0x140112256
test dl, 4
je 0x14011226b
inc rax
cmp byte [rax], 0
jne 0x140112263
lea r9, [rax + 1]
test r9, r9
jne 0x14011227b
lea r9, [0x140206908]
mov r8, qword [rbx + 8]
test r8, r8
jne 0x14011228b
neg r9
sbb edx, edx
jmp 0x1401122b8
test r9, r9
je 0x1401122e5
sub r9, r8
lea r15, [0x140207e60]
nop word [rax + rax]
movzx edx, byte [r8]
movzx eax, byte [r9 + r8]
cmp edx, eax
jne 0x140112328
test edx, edx
jne 0x14011233a
mov r15, r13
test edx, edx
jne 0x1401122e5
lea r11, [0x140179db0]
mov r9d, 1
lea r10, [fcn.140179a20]
xor r8d, r8d
inc ebp
inc rsi
add rdi, 0x20
cmp rsi, r15
jl 0x1401121a0
mov r12d, dword [rsp + 0x28]
mov r9d, 1
mov ecx, dword [rsp + 0x2c]
mov edi, dword [rsp + 0x24]
mov rsi, qword [rsp + 0x30]
cmp ebp, r13d
jne 0x14011234a
mov rax, qword [rsp + 0x38]
mov ecx, r13d
mov r13d, dword [rsp + 0x20]
movzx eax, word [rax + 0x3c]
test al, al
jns 0x140112342
mov r12d, eax
shr r12d, 9
and r12d, 1
add r12d, 2
jmp 0x14011234f
movzx ecx, byte [rax + r15]
movzx edx, byte [rdx + r15]
sub edx, ecx
jne 0x1401122b5
inc r8
jmp 0x1401122a0
test al, 0x40
cmovne r12d, r9d
jmp 0x14011234f
mov r13d, dword [rsp + 0x20]
movsxd rbp, ecx
mov rcx, qword [rsi]
movsxd rdi, edi
imul rax, rdi, 0x1c
mov qword [rsp + 0x30], rbp
lea rbx, [rbp + 0x11]
lea rbx, [rax + rbx*8]
test rcx, rcx
je 0x140112378
mov rdx, rbx
call fcn.1401ccf60
jmp 0x140112380
mov rcx, rbx
call fcn.1401cd740
mov r15, rax
test rax, rax
je 0x1401125aa
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.1400b4b10
xor ecx, ecx
mov qword [r15 + 0x68], rsi
lea rax, [rdi + rdi*2]
mov dword [r15 + 0x70], r12d
lea rdx, [rdi + 0x10]
mov r10d, ecx
mov rdi, qword [rsp + 0x50]
lea rdx, [r15 + rdx*8]
lea r14, [rdx + rax*4]
mov qword [r15 + 8], rdx
mov qword [r15 + 0x18], r14
lea rax, [r14 + rbp*8]
mov qword [r15 + 0x20], rax
mov ebx, ecx
mov dword [r15 + 0x74], ecx
mov qword [r15 + 0x60], rdi
mov r8, qword [rdi + 0x20]
mov qword [rsp + 0x38], r14
cmp dword [rdi + 0x14], ecx
jle 0x140112501
add rdx, 4
lea r11d, [rcx + 1]
xor ebp, ebp
lea r12d, [rcx + 0x20]
mov esi, 0x100
mov r9d, 0x180
mov r14d, 0x3fff
nop word [rax + rax]
test byte [r8 + 0x12], 0x40
je 0x1401124e6
mov eax, dword [r8 + 0x20]
mov dword [rdx - 4], eax
mov dword [rdx + 4], ebx
movzx ecx, word [r8 + 0x14]
and cx, r14w
cmp cx, 1
jne 0x140112451
cmp word [r8 + 0x12], bp
jl 0x140112449
cmp r10d, 0x1f
mov eax, r11d
cmovg eax, ebp
or dword [r15 + 0x74], eax
mov byte [rdx], 2
jmp 0x1401124dc
cmp cx, 0x40
jne 0x140112460
movzx eax, byte [r8 + 0x17]
mov byte [rdx], al
jmp 0x1401124dc
test r9w, cx
je 0x140112472
cmp cx, si
setne al
add al, 0x47
mov byte [rdx], al
jmp 0x1401124dc
mov byte [rdx], cl
test cl, 0x3c
je 0x1401124dc
mov rax, qword [r8]
mov r9, qword [rax + 0x18]
movzx eax, byte [r9]
cmp al, 0xb0
jne 0x14011248d
movzx eax, byte [r9 + 2]
cmp al, 0xb1
jne 0x140112497
mov rax, qword [r9 + 0x20]
jmp 0x1401124a3
cmp al, 0x8a
jne 0x1401124d6
mov rax, qword [r9 + 0x20]
mov rax, qword [rax + 0x20]
cmp dword [rax], 1
jle 0x1401124d6
cmp r10d, 0x10
jge 0x1401124b6
movzx r13d, r13w
bts r13d, r10d
mov r9d, 0x180
cmp cx, 0x10
jne 0x1401124c7
mov byte [rdx], 8
jmp 0x1401124dc
movzx eax, byte [rdx]
cmp cx, 4
cmove eax, r12d
mov byte [rdx], al
jmp 0x1401124dc
mov r9d, 0x180
inc r10d
rol r11d, 1
add rdx, 0xc
inc ebx
add r8, 0x38
cmp ebx, dword [rdi + 0x14]
jl 0x140112410
mov r14, qword [rsp + 0x38]
xor ecx, ecx
mov rbp, qword [rsp + 0x30]
mov dword [r15], r10d
mov esi, ecx
test rbp, rbp
jle 0x140112598
mov rbx, qword [rsp + 0x40]
lea r12, [fcn.140179a20]
add rbx, 0x18
lea rdx, [0x140179db0]
mov eax, 1
nop dword [rax + rax]
mov rdi, qword [rbx - 0x10]
mov word [rsp + 0x84], ax
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], rdx
mov dword [rsp + 0x88], ecx
test rdi, rdi
je 0x14011258e
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.1401822e0
cmp word [rsp + 0x84], 0
lea rdx, [0x140179db0]
jne 0x140112587
movsx eax, word [rdi + 0x30]
inc esi
mov dword [r14], eax
movzx eax, byte [rbx]
and al, 1
mov byte [r14 + 4], al
add r14, 8
mov eax, 1
xor ecx, ecx
add rbx, 0x20
sub rbp, 1
jne 0x140112530
mov rax, qword [rsp + 0x58]
mov dword [r15 + 0x10], esi
mov word [rax], r13w
mov rax, r15
jmp 0x1401125bb
lea rdx, str.out_of_memory
mov rcx, rsi
call fcn.1401c8980
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400b1c90
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret