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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x128
movzx eax, word [0x1401780f0]
mov word [rsp + 0x6c], ax
mov dword [rsp + 0x98], 0x11ccb2ad
mov byte [rsp + 0x20], 5
mov qword [rsp + 0xd0], 0xc6fdbcc
mov dword [rsp + 0x7c], 0x1da5d11d
mov eax, 0xdc1d
mov word [rsp + 0x34], ax
mov dword [rsp + 0x64], 0x29
movzx eax, byte [0x14017803e]
movsx eax, al
mov dword [rsp + 0x9c], eax
mov eax, 0xffffacef
mov word [rsp + 0x38], ax
movzx eax, word [0x140178114]
movsx rax, ax
mov qword [rsp + 0xb8], rax
mov eax, dword [0x140178128]
cdqe
mov qword [rsp + 0x48], rax
mov qword [rsp + 0xc8], 0x3382
mov rax, qword [0x1401780d0]
mov qword [rsp + 0xc0], rax
movsx ax, byte [0x14017807f]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x21], 0x4f
movzx eax, byte [0x140178007]
mov byte [rsp + 0x28], al
mov eax, dword [0x1401780e8]
mov dword [rsp + 0xa0], eax
mov dword [rsp + 0xa4], 0xd882
movzx eax, byte [0x140178054]
mov byte [rsp + 0x29], al
mov eax, dword [0x140178094]
mov eax, eax
mov qword [rsp + 0xe0], rax
mov eax, 0xffff819b
mov word [rsp + 0x70], ax
mov eax, 0x499c
mov word [rsp + 0x30], ax
mov dword [rsp + 0x80], 0x2c45087
movzx eax, word [0x140178114]
mov byte [rsp + 0x2a], al
mov rax, qword [0x1401780c8]
mov dword [rsp + 0xa8], eax
mov dword [rsp + 0xac], 0x95bbad66
movzx eax, byte [0x14017803e]
mov byte [rsp + 0x2b], al
mov rax, qword [0x140178100]
mov dword [rsp + 0xb0], eax
mov qword [rsp + 0xe8], 0x3b
mov eax, dword [0x140178128]
mov word [rsp + 0x74], ax
mov dword [rsp + 0xb4], 0x325e
movzx eax, word [0x1401780c0]
mov word [rsp + 0x78], ax
mov rax, qword [0x1401780e0]
mov byte [rsp + 0x2c], al
mov byte [rsp + 0x2d], 0x7a
mov qword [rsp + 0xd8], 0x86
mov qword [rsp + 0xf0], 0x3953c997
movzx eax, byte [0x14017803e]
movsx rax, al
mov rcx, qword [rsp + 0xb8]
xor rcx, rax
mov rax, rcx
test rax, rax
jne 0x14010a01f
mov dword [rsp + 0x50], 1
jmp 0x14010a027
mov dword [rsp + 0x50], 0
movzx eax, word [rsp + 0x30]
cwde
add eax, dword [rsp + 0x50]
test eax, eax
jne 0x14010a043
mov qword [rsp + 0x88], 1
jmp 0x14010a04f
mov qword [rsp + 0x88], 0
mov rax, qword [0x140178108]
not rax
mov ecx, dword [rsp + 0x64]
movsxd rcx, ecx
add rax, rcx
movzx ecx, byte [0x140178065]
movzx ecx, cl
not ecx
movsxd rcx, ecx
imul rcx, qword [rsp + 0x48]
sub rax, rcx
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [0x1401780a0], rax
mov rax, qword [0x1401780c8]
add rax, 0x29ddd7c7
mov dword [0x1401780f4], eax
mov edx, 0x54
xor ecx, ecx
call fcn.14010a7a0
mov byte [0x14017803e], al
movzx eax, byte [0x14017803e]
movsx eax, al
test eax, eax
jne 0x14010a0cd
mov dword [rsp + 0x58], 1
jmp 0x14010a0d5
mov dword [rsp + 0x58], 0
movzx eax, byte [0x14017803e]
movsx eax, al
cmp eax, 0x3b
jne 0x14010a0ee
mov dword [rsp + 0x54], 1
jmp 0x14010a0f6
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x58], eax
je 0x14010a255
mov rax, qword [0x140178118]
mov r9w, 0xa2
xor r8d, r8d
movzx edx, ax
xor ecx, ecx
call fcn.14010ace0
mov word [rsp + 0x24], ax
movzx eax, word [rsp + 0x24]
cwde
test eax, eax
jle 0x14010a136
mov dword [rsp + 0x60], 1
jmp 0x14010a13e
mov dword [rsp + 0x60], 0
movzx eax, word [rsp + 0x24]
cwde
cmp eax, 0x62
jle 0x14010a153
mov dword [rsp + 0x5c], 1
jmp 0x14010a15b
mov dword [rsp + 0x5c], 0
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x60], eax
je 0x14010a199
lea rax, [rsp + 0xf8]
lea rcx, str.tenant_discovery_e
mov rdi, rax
mov rsi, rcx
mov ecx, 0x26
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov word [rsp + 0x34], ax
jmp 0x14010a250
movzx eax, byte [rsp + 0x21]
movzx eax, al
movzx ecx, byte [0x140178066]
movsx ecx, cl
and eax, ecx
mov ecx, dword [rsp + 0x80]
sub eax, ecx
cdqe
movzx ecx, word [0x1401780bc]
movzx ecx, cx
mov rdx, qword [0x140178118]
sub rcx, rdx
mov edx, dword [rsp + 0x64]
imul edx, edx, 0x541e6607
movsxd rdx, edx
xor rcx, rdx
add rax, rcx
test rax, rax
jne 0x14010a1f2
mov qword [rsp + 0x90], 1
jmp 0x14010a1fe
mov qword [rsp + 0x90], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xc0], rax
mov eax, dword [0x1401780b4]
imul eax, eax, 0xe1
cdqe
mov rcx, qword [rsp + 0x48]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
movzx eax, byte [0x140178093]
mov rcx, qword [0x140178138]
xor rax, rcx
movzx ecx, byte [0x140178093]
sub rcx, rax
mov rax, rcx
mov byte [0x140178093], al
jmp 0x14010a388
cmp qword [0x1401780a0], 0
je 0x14010a296
mov byte [rsp + 0x20], 8
mov eax, dword [0x1401780b0]
xor eax, 0x853d
cdqe
mov qword [rsp + 0xc8], rax
movsxd rax, dword [0x1401780c0]
movabs rcx, 0x963e7a3ba42d9
sub rax, rcx
mov byte [rsp + 0x20], al
jmp 0x14010a388
movsx eax, word [0x14017812c]
cmp eax, 0xfffffff1
jge 0x14010a2ac
mov dword [rsp + 0x3c], 1
jmp 0x14010a2b4
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x20]
cmp qword [rsp + 0x48], rax
jle 0x14010a2ca
mov dword [rsp + 0x68], 1
jmp 0x14010a2d2
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x3c], eax
jg 0x14010a30c
mov qword [rsp + 0x48], 0x7b4697d9
movzx eax, byte [0x140178067]
add eax, 0xbe
cdqe
mov qword [0x1401780e0], rax
mov eax, dword [rsp + 0x7c]
add eax, 0xaf1e49cf
mov word [0x140178114], ax
jmp 0x14010a388
cmp qword [rsp + 0xd0], 0
jne 0x14010a321
mov dword [rsp + 0x40], 1
jmp 0x14010a329
mov dword [rsp + 0x40], 0
movzx eax, word [0x1401780c4]
cwde
cmp eax, dword [rsp + 0x40]
jle 0x14010a341
mov dword [rsp + 0x44], 1
jmp 0x14010a349
mov dword [rsp + 0x44], 0
mov eax, dword [0x1401780b4]
cmp dword [rsp + 0x44], eax
jge 0x14010a388
movzx eax, byte [0x141a71a90]
mov byte [0x140178065], al
movzx eax, byte [0x14017803e]
movsx eax, al
mov ecx, dword [0x140178094]
and eax, ecx
movzx ecx, byte [0x14017803e]
movsx ecx, cl
sub ecx, eax
mov eax, ecx
mov byte [0x14017803e], al
movsx eax, word [rsp + 0x38]
imul eax, eax, 0x3b2a
movsx ecx, byte [0x1401780ba]
sub ecx, eax
mov eax, ecx
mov byte [0x1401780ba], al
movzx eax, byte [0x14017807e]
and eax, 1
mov dword [0x140178054], eax
mov dword [0x140178128], 0x5144
mov rax, qword [rsp + 0xd8]
add rsp, 0x128
pop rdi
pop rsi
ret