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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov rax, qword [rdx + 0x128]
xor r12d, r12d
mov qword [rcx + 0xb0], rax
mov rbx, rcx
movsx eax, word [rdx + 0x110]
mov rdi, rdx
mov esi, dword [rdx + 0x38]
mov ebp, eax
mov qword [rdx + 0x128], r12
mov r14, qword [rcx]
mov ecx, dword [rdx + 0x34]
add esi, ecx
mov word [rsp + 0xa0], ax
mov dword [rsp + 0xb8], eax
mov eax, dword [rdx + 0x80]
mov qword [rsp + 0x40], r14
mov dword [rsp + 0xa8], ecx
mov dword [rsp + 0xb0], eax
test ecx, ecx
jne 0x140158da5
test esi, esi
jle 0x140158da5
inc esi
mov eax, dword [rbx + 0x90]
lea ecx, [rax + rax*2]
mov eax, dword [rdx + 0x3c]
shl ecx, 3
lea rdx, [rsp + 0xb0]
movsxd r15, ecx
sub eax, ecx
add r15, qword [rbx + 0x88]
mov rcx, rbx
movsxd r13, eax
mov qword [rsp + 0x30], r15
and r13, 0xfffffffffffffff8
call fcn.14010d390
cmp byte [rdi + 0x20], r12b
je 0x140158ded
mov eax, 0x40
cmp byte [rdi + 0x21], r12b
jne 0x140158df0
mov eax, r12d
mov ecx, dword [rbx + 0xc8]
and ecx, 0xffffffbf
or ecx, eax
mov dword [rbx + 0xc8], ecx
movzx eax, byte [rdi + 0x113]
test al, al
je 0x140158ebb
mov edx, 0xa
cmp esi, edx
cmovl esi, edx
shl eax, 2
xor eax, ecx
mov edx, 4
and eax, 0xc
xor eax, ecx
mov ecx, 8
mov dword [rbx + 0xc8], eax
mov eax, ecx
movzx edi, byte [rdi + 0x113]
cmp dil, 2
cmovne eax, r12d
cmovne edx, ecx
mov rcx, rbx
mov r12d, eax
call fcn.14015bae0
cmp dil, 2
mov eax, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov ecx, 8
mov r15d, r12d
cmovne eax, ecx
cmp r12, rax
jae 0x140158eb6
mov edi, r12d
lea rbp, str.addr
mov r14d, eax
nop dword [rax]
mov r9, qword [rbp + rdi*8]
mov edx, r15d
sub edx, r12d
mov qword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, rbx
call fcn.14015b8d0
inc r15d
inc rdi
cmp rdi, r14
jl 0x140158e80
mov ebp, dword [rsp + 0xb8]
mov r14, qword [rsp + 0x40]
mov r15, qword [rsp + 0x30]
and dword [rbx + 0xc8], 0xfffffffc
xor r9d, r9d
movsxd rax, esi
mov edx, r9d
imul r12, rax, 0x38
cmp r12, r13
jg 0x140158edd
mov rdx, r13
sub rdx, r12
add rdx, r15
mov rcx, r13
movsxd rax, ebp
sub rcx, r12
mov qword [rbx + 0x68], rdx
cmp r12, r13
mov rdi, r9
mov rdx, r9
cmovg rcx, r13
cmovg rdi, r12
imul rax, rax, 0x38
mov qword [rsp + 0xb8], rax
cmp rax, rcx
jg 0x140158f15
sub rcx, rax
lea rdx, [rcx + r15]
jmp 0x140158f18
add rdi, rax
movsxd r15, dword [rsp + 0xb0]
mov rax, r9
shl r15, 3
mov qword [rbx + 0x80], rdx
mov rdx, qword [rsp + 0x30]
cmp r15, rcx
jg 0x140158f43
mov rax, rcx
sub rax, r15
add rax, rdx
jmp 0x140158f46
add rdi, r15
mov r8, rcx
mov qword [rbx + 0x70], rax
sub r8, r15
mov rax, r9
cmp r15, rcx
cmovg r8, rcx
movsxd rcx, dword [rsp + 0xa8]
mov r13, rcx
shl r13, 3
cmp r13, r8
jg 0x140158f79
mov rax, rdx
sub rax, r13
add rax, r8
jmp 0x140158f7c
add rdi, r13
mov qword [rbx + 0x78], rax
test rdi, rdi
je 0x140159023
mov rdx, rdi
mov rcx, r14
call fcn.14011fde0
mov qword [rbx + 0xf8], rax
mov rcx, rax
cmp byte [r14 + 0x63], 0
jne 0x140159019
mov rax, qword [rbx + 0x68]
test rax, rax
jne 0x140158fba
cmp r12, rdi
jg 0x140158fba
sub rdi, r12
lea rax, [rcx + rdi]
mov qword [rbx + 0x68], rax
mov rax, qword [rbx + 0x80]
test rax, rax
jne 0x140158fde
mov rdx, qword [rsp + 0xb8]
cmp rdx, rdi
jg 0x140158fde
sub rdi, rdx
lea rax, [rdi + rcx]
mov qword [rbx + 0x80], rax
mov rax, qword [rbx + 0x70]
test rax, rax
jne 0x140158ffa
cmp r15, rdi
jg 0x140158ffa
sub rdi, r15
lea rax, [rdi + rcx]
mov qword [rbx + 0x70], rax
mov rax, qword [rbx + 0x78]
test rax, rax
jne 0x140159015
cmp r13, rdi
jg 0x140159015
mov rax, rcx
sub rax, r13
add rax, rdi
mov qword [rbx + 0x78], rax
mov ecx, dword [rsp + 0xa8]
xor r9d, r9d
cmp byte [r14 + 0x63], 0
mov edi, 1
je 0x14015903e
mov word [rbx + 0x20], r9w
mov qword [rbx + 0x28], 0
jmp 0x1401590b6
movzx eax, word [rsp + 0xa0]
mov word [rbx + 0x20], ax
mov rax, qword [rbx + 0x80]
mov dword [rbx + 0x2c], ecx
test ebp, ebp
jle 0x140159075
add rax, 8
nop dword [rax]
dec ebp
mov qword [rax + 0x20], r14
mov word [rax], di
mov dword [rax + 0x18], r9d
lea rax, [rax + 0x38]
test ebp, ebp
jg 0x140159060
mov rax, qword [rbx + 0x68]
mov dword [rbx + 0x28], esi
test esi, esi
jle 0x1401590a5
add rax, 8
mov ecx, 0x80
nop dword [rax]
dec esi
mov qword [rax + 0x20], r14
mov word [rax], cx
mov dword [rax + 0x18], r9d
lea rax, [rax + 0x38]
test esi, esi
jg 0x140159090
mov rcx, qword [rbx + 0x78]
mov r8, r13
xor edx, edx
call fcn.1401ab060
xor r9d, r9d
mov dword [rbx + 0x24], 0x2df20da3
mov dword [rbx + 0x34], 0xffffffff
mov qword [rbx + 0x38], 0
mov word [rbx + 0xc2], 0xff02
mov dword [rbx + 0x30], edi
mov dword [rbx + 0x40], r9d
mov qword [rbx + 0x50], r9
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret