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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov edi, r9d
mov rsi, r8
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x14031d040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
call fcn.1400b9c50
mov ecx, VarBstrFromDate
call fcn.1401ef3e0
mov dword [rax + 8], 1
lea rcx, [0x1402849d0]
mov qword [rax], rcx
xor ecx, ecx
mov qword [rax + 0x10], rcx
mov dword [rax + 0x18], ecx
mov qword [rax + 0x20], rcx
mov dword [rax + 0x28], ecx
mov qword [rax + 0x30], rcx
mov dword [rax + 0x37], ecx
xorps xmm0, xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov ecx, dword [reloc.WS2_32.dll_accept]
mov dword [rax + 0x3c], ecx
mov qword [r14 + 8], rax
mov r12, qword [0x14033cfa8]
lea r13, [0x14033cfa0]
cmp r12, r13
jne 0x140121a11
jmp 0x140121a2c
mov rax, qword [r15 + 0x80]
movsx rcx, byte [rsi + 0x17]
test rcx, rcx
jns 0x1401219ee
mov rcx, qword [rsi + 8]
cmp rax, rcx
jne 0x140121a07
lea rcx, [r15 + 0x78]
mov rdx, rsi
call fcn.1400acd50
test eax, eax
je 0x140121bf7
mov r12, qword [r12 + 8]
cmp r12, r13
je 0x140121a25
mov r15, qword [r12 + 0x10]
movsx rax, byte [r15 + 0x8f]
test rax, rax
jns 0x1401219e0
jmp 0x1401219d9
mov rax, qword [r14 + 8]
mov ecx, dword [rax + 0x3c]
test cl, 1
je 0x140121bc5
xorps xmm0, xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
xor eax, eax
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x90], rax
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
lea rdx, str.No_image_handler_for_type__s_defined.
lea rcx, [rsp + 0x48]
call fcn.1400343a0
call fcn.140113640
test rax, rax
je 0x140121aa1
lea rdx, [rsp + 0x48]
lea r8, [rsp + 0x70]
lea r9, [rsp + 0xa0]
mov rcx, rax
call fcn.1401137c0
test rax, rax
jne 0x140121aab
lea rcx, [rsp + 0x48]
call fcn.140113740
call fcn.1400ab720
mov rsi, rax
call fcn.1400ab720
mov rdi, rax
call fcn.1400ab720
mov rbx, rax
call fcn.1400ab720
cmp rbx, rax
je 0x140121af9
dec word [rbx + 0x10]
setne al
test rbx, rbx
sete cl
or cl, al
jne 0x140121af4
cmp byte [rbx + 0x12], 1
jne 0x140121aec
mov rcx, qword [rbx]
call fcn.140071eb0
mov rcx, rbx
call fcn.1401ef41c
call fcn.1400ab720
call fcn.1400ab720
cmp rdi, rax
je 0x140121b2f
dec word [rdi + 0x10]
setne al
test rdi, rdi
sete cl
or cl, al
jne 0x140121b2a
cmp byte [rdi + 0x12], 1
jne 0x140121b22
mov rcx, qword [rdi]
call fcn.140071eb0
mov rcx, rdi
call fcn.1401ef41c
call fcn.1400ab720
call fcn.1400ab720
cmp rsi, rax
je 0x140121b65
dec word [rsi + 0x10]
setne al
test rsi, rsi
sete cl
or cl, al
jne 0x140121b60
cmp byte [rsi + 0x12], 1
jne 0x140121b58
mov rcx, qword [rsi]
call fcn.140071eb0
mov rcx, rsi
call fcn.1401ef41c
call fcn.1400ab720
mov rcx, qword [rsp + 0x60]
call fcn.140071eb0
cmp byte [rsp + 0x5f], 0
jns 0x140121b80
mov rcx, qword [rsp + 0x48]
call fcn.1401ef41c
mov rcx, qword [rsp + 0x88]
call fcn.140071eb0
cmp byte [rsp + 0x87], 0
jns 0x140121ba1
mov rcx, qword [rsp + 0x70]
call fcn.1401ef41c
mov rcx, qword [rsp + 0xb8]
call fcn.140071eb0
cmp byte [rsp + 0xb7], 0
jns 0x140121bc5
mov rcx, qword [rsp + 0xa0]
call fcn.1401ef41c
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1401f08b0
xor eax, eax
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test r13b, 1
jne 0x140121a35
jmp 0x140121bc5
mov rax, qword [r14 + 8]
mov r13d, dword [rax + 0x3c]
test r15, r15
je 0x140121beb
mov rax, qword [rbx]
mov rax, qword [rax + 0x38]
mov rcx, rbx
call qword [0x14030c820]
test al, al
je 0x140121c7c
mov rax, qword [rbx]
mov rax, qword [rax + 0x38]
mov rcx, rbx
call qword [0x14030c820]
test al, al
je 0x140121cb0
mov rax, qword [rbx]
mov rax, qword [rax + 0x80]
mov rcx, rbx
call qword [0x14030c820]
mov r12, rax
mov rax, qword [r15]
mov rax, qword [rax + 0x38]
mov rcx, r15
mov rdx, rbx
call qword [0x14030c820]
mov ebp, eax
mov rax, qword [rbx]
mov rax, qword [rax + 0x78]
mov rcx, rbx
mov rdx, r12
xor r8d, r8d
call qword [0x14030c820]
test bpl, bpl
je 0x140121cb0
cmp rax, 0xffffffffffffffff
je 0x140121cb0
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1401f08b0
mov rcx, r14
mov rdx, r15
mov r8, rbx
mov r9d, edi
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x140120d50
test r13b, 1
je 0x140121bc5
cmp byte [rsi + 0x17], 0
js 0x140121d8c
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x20], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xor eax, eax
mov qword [rsp + 0xc0], rax
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0x90], rax
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
lea rdx, str.Image_is_not_of_type__s.
lea rcx, [rsp + 0x48]
call fcn.1400343a0
call fcn.140113640
test rax, rax
je 0x140121d46
lea rdx, [rsp + 0x48]
lea r8, [rsp + 0x70]
lea r9, [rsp + 0xa0]
mov rcx, rax
call fcn.1401137c0
test rax, rax
jne 0x140121d50
lea rcx, [rsp + 0x48]
call fcn.140113740
call fcn.1400ab720
mov rsi, rax
call fcn.1400ab720
mov rdi, rax
call fcn.1400ab720
mov rbx, rax
mov rcx, qword [rsp + 0x38]
call fcn.140071eb0
cmp byte [rsp + 0x37], 0
jns 0x140121ac3
mov rcx, qword [rsp + 0x20]
call fcn.1401ef41c
jmp 0x140121ac3
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
lea rcx, [rsp + 0x20]
call fcn.1401ad2f0
jmp 0x140121cd5