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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb8
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov rbx, r8
mov r12, rdx
mov r15, rcx
mov rcx, qword [rcx + 0x10]
xor r14d, r14d
cmp rcx, r14
je 0x4366d1
lea rbx, [rcx - 8]
lea r9, [0x0042acb4]
mov r8d, dword [rbx]
lea edx, [r14 + 0x10]
call fcn.004861e0
mov rcx, rbx
call sub.msvcrt.dll_free
mov rbx, qword [rsp + 0x110]
mov qword [r15 + 0x10], r14
mov rcx, r15
call fcn.004363d8
mov ecx, 0x58
call fcn.00402d48
cmp rax, r14
je 0x436714
mov qword [rax], r14
mov dword [rax + 8], r14d
mov dword [rax + 0x10], 0xffffffff
mov qword [rax + 0x18], r14
mov dword [rax + 0x20], r14d
mov dword [rax + 0x24], r14d
mov qword [rax + 0x28], r14
mov dword [rax + 0x30], r14d
mov dword [rax + 0x34], r14d
jmp 0x436717
mov rax, r14
mov rdx, rax
mov rcx, r15
call fcn.0040c234
mov rcx, qword [r12]
mov qword [rsp + 0x70], rcx
mov rax, qword [rcx]
lea rdx, [rsp + 0x34]
call qword [rax + 0x28]
cmp eax, r14d
jne 0x436b0b
cmp rbx, r14
je 0x43675a
mov rax, qword [rbx]
mov edx, dword [rsp + 0x34]
mov rcx, rbx
call qword [rax + 0x18]
cmp eax, r14d
jne 0x436b0b
mov edx, dword [rsp + 0x34]
lea rcx, [r15 + 0x10]
call fcn.0043592c
lea rcx, [rsp + 0x80]
call fcn.0040229c
nop
lea rcx, [rsp + 0x40]
call fcn.0040229c
nop
mov word [rsp + 0x50], r14w
mov word [rsp + 0x52], r14w
mov qword [rsp + 0x58], r14
mov esi, r14d
mov dword [rsp + 0x38], r14d
cmp dword [rsp + 0x34], r14d
jbe 0x436ad3
mov r13, r14
mov qword [rsp + 0x78], r14
cmp rbx, r14
je 0x4367df
movzx eax, si
cmp eax, r14d
jne 0x4367df
mov eax, esi
mov qword [rsp + 0x98], rax
mov rax, qword [rbx]
lea rdx, [rsp + 0x98]
mov rcx, rbx
call qword [rax + 0x20]
mov ebx, eax
cmp eax, r14d
jne 0x436a4f
mov rbp, r14
mov ebx, r14d
mov byte [rsp + 0x100], r14b
mov rcx, qword [r12 + 0x10]
cmp rcx, r14
je 0x436855
mov rax, qword [rcx]
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x3c]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x90]
mov r8d, 3
mov edx, esi
call qword [rax + 0x20]
cmp eax, r14d
jne 0x436855
cmp dword [rsp + 0x68], 0x51
jne 0x436855
cmp dword [rsp + 0x3c], 2
jbe 0x436855
mov ebx, dword [rsp + 0x3c]
shr ebx, 1
dec ebx
mov rbp, qword [rsp + 0x90]
mov byte [rsp + 0x100], 1
cmp rbp, r14
jne 0x4368d9
lea rcx, [rsp + 0x50]
call fcn.00409ae0
mov rcx, qword [r12]
mov rax, qword [rcx]
lea r9, [rsp + 0x50]
mov r8d, 3
mov edx, esi
call qword [rax + 0x30]
mov edi, eax
cmp eax, r14d
jne 0x436a6a
movzx eax, word [rsp + 0x50]
cmp ax, 8
jne 0x43689e
mov rbp, qword [rsp + 0x58]
mov rcx, rbp
call qword [sym.imp.OLEAUT32.dll_VariantInit]
mov ebx, eax
jmp 0x4368a8
cmp ax, r14w
jne 0x436a84
cmp ebx, r14d
jne 0x4368d9
lea r8, [rsp + 0x80]
mov edx, esi
mov rcx, r12
call fcn.0041cad4
mov ebx, eax
cmp eax, r14d
jne 0x436aa1
mov ebx, dword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
mov dword [rsp + 0x30], r14d
xor r12d, r12d
xor edi, edi
test ebx, ebx
je 0x43696d
mov r13, rbp
mov esi, r14d
cmp word [r13], 0x5c
je 0x436901
cmp word [r13], 0x2f
jne 0x436956
mov eax, 0x400
cmp r12d, eax
ja 0x43694f
cmp r12d, eax
jne 0x436923
lea rdx, str._LONG_PATH_
lea rcx, [rsp + 0x40]
call fcn.004025dc
jmp 0x436938
mov r8d, edi
sub r8d, r14d
lea rdx, [rbp + r14*2]
lea rcx, [rsp + 0x40]
call fcn.00402524
lea r9, [rsp + 0x40]
mov r8d, 0xffffffff
mov edx, esi
mov rcx, r15
call fcn.00436440
mov esi, eax
lea r14d, [rdi + 1]
inc r12d
inc edi
add r13, 2
cmp edi, ebx
jb 0x4368f1
mov dword [rsp + 0x30], esi
mov esi, dword [rsp + 0x38]
mov r13, qword [rsp + 0x78]
lea r8, [rsp + 0x118]
mov edx, esi
mov rcx, qword [rsp + 0x70]
call fcn.0041b960
mov edi, eax
test eax, eax
jne 0x436ab9
mov rdi, qword [r15 + 0x10]
sub ebx, r14d
mov dword [r13 + rdi + 8], ebx
lea rbp, [rbp + r14*2]
xor r14d, r14d
cmp byte [rsp + 0x100], r14b
je 0x4369b0
mov qword [r13 + rdi], rbp
jmp 0x4369de
lea ecx, [rbx + 1]
add rcx, rcx
call fcn.00402d48
mov qword [r13 + rdi], rax
mov byte [r13 + rdi + 0xc], 1
mov r8, rbp
movzx ecx, word [r8]
mov word [rax], cx
add rax, 2
add r8, 2
cmp cx, r14w
jne 0x4369c9
cmp byte [rsp + 0x118], r14b
je 0x436a0b
mov rdx, rbp
lea rcx, [rsp + 0x40]
call fcn.00402460
lea r9, [rsp + 0x40]
mov r8d, esi
mov edx, dword [rsp + 0x30]
mov rcx, r15
call fcn.00436440
jmp 0x436a21
mov ecx, dword [rsp + 0x30]
mov rax, qword [r15]
mov rcx, qword [rax + rcx*8]
add rcx, 0x28
mov edx, esi
call fcn.0041619c
inc esi
mov dword [rsp + 0x38], esi
add r13, 0x10
mov qword [rsp + 0x78], r13
cmp esi, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x110]
mov r12, qword [rsp + 0x108]
jb 0x4367ac
jmp 0x436ad3
lea rcx, [rsp + 0x50]
call fcn.00409ae0
nop
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_free
nop
jmp 0x436afc
lea rcx, [rsp + 0x50]
call fcn.00409ae0
nop
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_free
nop
mov ebx, edi
jmp 0x436afc
lea rcx, [rsp + 0x50]
call fcn.00409ae0
nop
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_free
nop
mov ebx, 0x80004005
jmp 0x436afc
lea rcx, [rsp + 0x50]
call fcn.00409ae0
nop
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_free
nop
jmp 0x436afc
lea rcx, [rsp + 0x50]
call fcn.00409ae0
nop
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_free
nop
mov ebx, edi
jmp 0x436afc
mov r8, qword [rsp + 0x70]
xor edx, edx
mov rcx, r15
call fcn.00435d10
nop
lea rcx, [rsp + 0x50]
call fcn.00409ae0
nop
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_free
nop
mov ebx, r14d
mov rcx, qword [rsp + 0x80]
call sub.msvcrt.dll_free
mov eax, ebx
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret