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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14028b7c8]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rdx
mov rbp, rcx
mov qword [rsp + 0x40], rcx
xor edx, edx
lea r8d, [rdx + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140158a90
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.1400420a4
mov r12d, dword [rsp + 0x24]
mov esi, dword [rsp + 0x2c]
mov edx, dword [rsp + 0x20]
mov eax, edx
shr eax, 0xc
and eax, 3
mov dword [rbp + 0x28], eax
mov r8d, dword [rsp + 0x28]
mov eax, r8d
shr eax, 7
and eax, 1
mov dword [rbp + 0x2c], eax
mov eax, r8d
shr eax, 6
and eax, 1
mov dword [rbp + 0x38], eax
mov eax, edx
shr eax, 0x14
movzx ecx, al
shl ecx, 4
add ecx, dword [rbx + 0x4ac]
mov dword [rbx + 0x4b8], ecx
shr edx, 0x10
and edx, 0xf
shl edx, 4
add edx, dword [rbx + 0x4b0]
mov dword [rbx + 0x4bc], edx
movzx eax, r12b
mov dword [rbx + 0x4a0], eax
shr r8d, 5
xor edi, edi
and r8d, 1
mov dword [rbx + 0x514], r8d
je 0x1400b023f
lea edx, [rdi + 0x3a]
mov rcx, rbx
call fcn.140087ab8
cmp rax, rdi
je 0x1400b023f
lea r8, [rsp + 0x30]
lea edx, [rdi + 2]
mov rcx, rax
call fcn.14007c0e8
cmp eax, edi
je 0x1400b023f
mov eax, edi
cmp dword [rsp + 0x30], edi
setne al
mov dword [rbx + 0x518], eax
shr esi, 0x1c
and esi, 1
mov dword [rbx + 0x50c], esi
je 0x1400b0264
mov eax, r12d
shr eax, 0x10
movzx eax, al
mov dword [rbx + 0x80], eax
shr r12d, 0x18
mov dword [rbx + 0x30], r12d
cmp dword [rbx + 0x494], 4
jb 0x1400b02f2
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rsp + 0x20]
call fcn.140042060
mov r11d, dword [rsp + 0x20]
cmp r11d, edi
je 0x1400b02a5
shr r11d, 0x1a
inc r11d
mov dword [rbx + 0x84], r11d
mov rdx, rbx
mov rcx, rbp
call fcn.1400affa0
cmp dword [rbx + 0x4b8], 6
jne 0x1400b02da
cmp dword [rbx + 0x4bc], 0x1a
jl 0x1400b02da
mov edx, 0x35
mov rcx, rbx
call fcn.140087ab8
cmp rax, rdi
je 0x1400b02da
movzx ecx, word [rax + 0x12]
mov dword [rbx + 0x84], ecx
movzx eax, word [rax + 0x10]
mov dword [rbp + 0x40], eax
cmp dword [rbp + 0x40], 0xffffffff
jne 0x1400b03d5
mov eax, dword [rbx + 0x80]
mov dword [rbp + 0x40], eax
jmp 0x1400b03d5
mov eax, dword [rbx + 0x4ac]
cmp eax, 0xf
jne 0x1400b030e
cmp dword [rbx + 0x4b8], eax
jne 0x1400b030e
cmp dword [rbx + 0x4b0], 4
jge 0x1400b0330
cmp eax, 6
jne 0x1400b03d5
cmp dword [rbx + 0x4b8], eax
jne 0x1400b03d5
cmp dword [rbx + 0x4bc], 0xe
jl 0x1400b03d5
mov edx, 0x1a0
mov rcx, rbx
call fcn.140087ab8
mov rsi, rax
cmp rax, rdi
je 0x1400b03d5
lea r8, [rsp + 0x30]
mov r12d, 0x16
mov edx, r12d
mov rcx, rax
call fcn.14007c0e8
cmp eax, edi
je 0x1400b03d5
cmp dword [rsp + 0x30], 1
jne 0x1400b03d5
xor r8d, r8d
mov edx, r12d
mov rcx, rsi
call fcn.14007c06c
cmp eax, edi
je 0x1400b03d5
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400420a4
cmp dword [rsp + 0x20], 4
jb 0x1400b03b9
xor r8d, r8d
lea edx, [r12 - 0x12]
lea rcx, [rsp + 0x20]
call fcn.140042060
mov r11d, dword [rsp + 0x20]
cmp r11d, edi
jbe 0x1400b03b9
shr r11d, 0x1a
inc r11d
mov dword [rbx + 0x84], r11d
mov rdx, rbx
mov rcx, rbp
call fcn.1400affa0
mov r8d, 1
mov edx, r12d
mov rcx, rsi
call fcn.14007c06c
cmp dword [rbx + 0x494], 6
jb 0x1400b0404
mov edx, 6
lea rcx, [rsp + 0x20]
call fcn.1400420a4
mov r11d, dword [rsp + 0x20]
and r11d, 1
mov dword [rbp + 0x30], r11d
mov eax, dword [rsp + 0x28]
and eax, 1
mov dword [rbp + 0x34], eax
cmp dword [rbx + 0x494], 7
jb 0x1400b0482
xor r8d, r8d
lea edx, [r8 + 7]
lea rcx, [rsp + 0x20]
call fcn.140042060
mov r11d, dword [rsp + 0x2c]
shr r11d, 0xf
and r11d, 1
mov dword [rbx + 0x520], r11d
je 0x1400b0482
cmp dword [rbx + 0x494], 0x1a
jb 0x1400b0482
xor r8d, r8d
lea edx, [r8 + 0x1a]
lea rcx, [rsp + 0x20]
call fcn.140042060
mov r11d, dword [rsp + 0x20]
shr r11d, 0x18
mov dword [rbx + 0x4c4], r11d
cmp r11d, 0x20
jne 0x1400b0482
lea edx, [r11 - 0x1d]
mov r8d, edx
mov rcx, rbx
call fcn.140087a04
cmp rax, rdi
jne 0x1400b0482
mov dword [rbx + 0x4c4], 0x10
cmp dword [rbx + 0x494], 0xb
jb 0x1400b05aa
mov r15d, edi
mov dword [rsp + 0x34], edi
mov esi, edi
mov dword [rsp + 0x38], edi
mov r12d, edi
mov r13d, edi
mov r14d, edi
xor r8d, r8d
lea edx, [r8 + 0xb]
lea rcx, [rsp + 0x20]
call fcn.140042060
cmp dword [rsp + 0x24], edi
je 0x1400b05aa
xor r8d, r8d
lea edx, [r8 + 0xb]
lea rcx, [rsp + 0x20]
call fcn.140042060
mov r11d, dword [rsp + 0x24]
cmp r11d, edi
je 0x1400b0546
mov ebp, edi
mov eax, dword [rsp + 0x28]
shr eax, 8
movzx edx, al
mov ecx, dword [rsp + 0x20]
and ecx, 0x1f
movzx r8d, r11w
sub edx, 1
je 0x1400b0512
cmp edx, 1
jne 0x1400b0523
or esi, 0xffffffff
shl esi, cl
not esi
mov dword [rsp + 0x34], ecx
mov r15d, esi
not r15d
mov r14d, r8d
jmp 0x1400b0523
or r12d, 0xffffffff
shl r12d, cl
not r12d
mov dword [rsp + 0x38], ecx
mov r13d, r8d
inc ebp
mov r8d, ebp
mov edx, VariantTimeToDosDateTime
lea rcx, [rsp + 0x20]
call fcn.140042060
mov r11d, dword [rsp + 0x24]
cmp r11d, edi
jne 0x1400b04dd
mov rbp, qword [rsp + 0x40]
xor esi, r12d
mov r8d, dword [rbx + 0x30]
mov edx, r8d
and edx, r15d
mov ecx, dword [rsp + 0x34]
sar edx, cl
mov eax, r8d
and eax, esi
mov ecx, dword [rsp + 0x38]
sar eax, cl
and r8d, r12d
mov dword [rbx + 0x38], edx
mov dword [rbx + 0x3c], eax
mov dword [rbx + 0x40], r8d
mov dword [rbx + 0x70], 1
cmp r14d, edi
jle 0x1400b05aa
mov dword [rbp + 0x40], r14d
cmp r13d, edi
jle 0x1400b05aa
mov dword [rbx + 0x88], r13d
cmp dword [rbx + 0x520], edi
je 0x1400b05a0
mov eax, dword [rbx + 0x84]
mov dword [rbp + 0x3c], eax
jmp 0x1400b05aa
mov eax, r14d
cdq
idiv r13d
mov dword [rbp + 0x3c], eax
cmp dword [rbx + 0x498], 0x80000004
jb 0x1400b06b4
mov edx, 0x80000002
lea rcx, [rsp + 0x20]
call fcn.1400420a4
mov r11d, dword [rsp + 0x20]
mov dword [rsp + 0x50], r11d
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x5c], eax
mov edx, 0x80000003
lea rcx, [rsp + 0x20]
call fcn.1400420a4
mov r11d, dword [rsp + 0x20]
mov dword [rsp + 0x60], r11d
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x6c], eax
mov edx, 0x80000004
lea rcx, [rsp + 0x20]
call fcn.1400420a4
mov r11d, dword [rsp + 0x20]
mov dword [rsp + 0x70], r11d
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x7c], eax
mov byte [rsp + 0x80], dil
lea rsi, [rsp + 0x50]
mov ecx, edi
mov rax, rdi
cmp byte [rsp + rax + 0x50], 0x20
jne 0x1400b0673
inc ecx
inc rax
cmp rax, 0x31
jl 0x1400b065f
jmp 0x1400b067b
movsxd rax, ecx
lea rsi, [rsp + rax + 0x50]
mov rcx, rsi
call fcn.140159970
mov edx, edi
cmp eax, edi
jle 0x1400b06a9
lea rcx, [rbx + 0x18c]
mov r8d, eax
mov al, byte [rsi]
cmp al, 0x25
je 0x1400b06a0
mov byte [rcx], al
inc edx
inc rcx
inc rsi
sub r8, 1
jne 0x1400b0693
movsxd rax, edx
mov byte [rax + rbx + 0x18c], dil
cmp dword [rbx + 0x498], 0x80000006
jb 0x1400b07ad
mov edx, 0x80000006
lea rcx, [rsp + 0x20]
call fcn.1400420a4
mov esi, dword [rsp + 0x28]
mov r12d, esi
shr r12d, 0x10
cmp r12d, edi
jle 0x1400b07ad
mov edx, 2
lea r8d, [rdx + 1]
mov rcx, rbx
call fcn.140087a04
cmp rax, rdi
jne 0x1400b07ad
mov ecx, 0x50
call fcn.14013f12c
mov qword [rsp + 0x40], rax
cmp rax, rdi
je 0x1400b0720
mov rcx, rax
call fcn.140078d98
mov rdi, rax
mov dword [rdi + 8], 2
mov dword [rdi + 0xc], 3
mov eax, dword [rbx + 0x80]
cdq
idiv dword [rbx + 0x84]
mov dword [rdi + 0x14], eax
mov rdx, rdi
mov rcx, qword [rbx + 0x78]
call fcn.14004cf24
movzx eax, sil
mov dword [rdi + 0x18], eax
shr esi, 0xc
and esi, 0xf
sub esi, 1
je 0x1400b07a2
sub esi, 1
je 0x1400b0799
sub esi, 2
je 0x1400b0790
sub esi, 2
je 0x1400b0787
sub esi, 2
je 0x1400b077e
cmp esi, 7
jne 0x1400b07a9
mov dword [rdi + 0x1c], 0xff
jmp 0x1400b07a9
mov dword [rdi + 0x1c], 0x10
jmp 0x1400b07a9
mov dword [rdi + 0x1c], 8
jmp 0x1400b07a9
mov dword [rdi + 0x1c], 4
jmp 0x1400b07a9
mov dword [rdi + 0x1c], 2
jmp 0x1400b07a9
mov dword [rdi + 0x1c], 1
mov dword [rdi + 0x10], r12d
mov rdx, rbx
mov rcx, rbp
call fcn.140100394
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140156fd0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret