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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x1402dac00]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x100]
mov rbp, rdx
mov qword [rsp + 0x58], rax
mov rbx, r8
mov rax, qword [rcx]
xor r8d, r8d
mov qword [rsp + 0x48], rax
movzx r13d, r8w
mov rsi, rcx
mov rax, qword [r9 + 0x20]
mov r14, r9
mov qword [rsp + 0x50], rdx
mov r12d, r8d
mov rdx, qword [rcx + 0x10]
mov edi, r8d
mov qword [rsp + 0x40], rcx
mov r10d, r8d
mov rcx, qword [rbp + 0x20]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0x2c], r8d
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], r8d
cmp dword [rbp + 0x14], r8d
jle 0x140109a98
mov r15d, 0xffbf
nop dword [rax]
movzx edx, word [rcx + 0x12]
and dx, r15w
mov word [rcx + 0x12], dx
mov r11d, dword [r14 + 0x44]
cmp dword [rcx + 0x1c], r11d
jne 0x140109a7f
test qword [rcx + 0x28], rbx
jne 0x140109a7f
movzx eax, word [rcx + 0x14]
test eax, 0xfffff7ff
je 0x140109a7f
test dl, dl
js 0x140109a7f
movzx r8d, byte [r14 + 0x3c]
test r8b, 0x58
je 0x140109a75
mov rax, qword [rcx]
mov r9d, dword [rax + 4]
test r9b, 3
je 0x140109a7f
cmp dword [rax + 0x34], r11d
jne 0x140109a7f
test r8b, 0x18
je 0x140109a75
test r9b, 2
jne 0x140109a7f
inc edi
or dx, 0x40
mov word [rcx + 0x12], dx
inc r10d
add rcx, 0x38
cmp r10d, dword [rbp + 0x14]
jl 0x140109a20
mov rdx, qword [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x28], edi
lea r10, [fcn.1400a2d40]
mov ecx, r8d
mov dword [rsp + 0x24], ecx
mov r9d, 1
lea r11, [0x1400a2b90]
test rdx, rdx
je 0x140109ca1
movsxd r13, dword [rdx]
mov ebp, r8d
mov r15, r13
test r13d, r13d
jle 0x140109c4d
mov r12, qword [rsp + 0x38]
lea rdi, [rdx + 0x18]
mov rsi, r8
nop word [rax + rax]
mov rbx, qword [rdi - 0x10]
mov word [rsp + 0x84], r9w
mov qword [rsp + 0x68], r10
mov qword [rsp + 0x70], r11
mov dword [rsp + 0x88], r8d
test rbx, rbx
je 0x140109c23
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.14009b2e0
cmp word [rsp + 0x84], 0
jne 0x140109c0c
test byte [rdi], 2
jne 0x140109c35
movzx eax, byte [rbx]
cmp al, 0xa7
jne 0x140109b40
mov eax, dword [r14 + 0x44]
cmp dword [rbx + 0x2c], eax
jmp 0x140109c0a
cmp al, 0x71
jne 0x140109c35
mov rcx, qword [rbx + 0x10]
cmp byte [rcx], 0xa7
jne 0x140109c35
mov eax, dword [r14 + 0x44]
cmp dword [rcx + 0x2c], eax
jne 0x140109c35
movzx eax, word [rcx + 0x30]
mov word [rbx + 0x30], ax
movzx eax, word [rcx + 0x30]
test ax, ax
js 0x140109c0c
movsx rax, ax
lea rcx, [rax + rax*2]
mov rax, qword [r12 + 8]
movzx edx, word [rax + rcx*8 + 0x12]
bt dx, 9
jae 0x140109bc1
mov rax, qword [rax + rcx*8]
cmp byte [rax], 0
je 0x140109ba8
nop dword [rax]
inc rax
cmp byte [rax], 0
jne 0x140109ba0
test dl, 4
je 0x140109bb8
nop dword [rax]
inc rax
cmp byte [rax], 0
jne 0x140109bb0
lea r9, [rax + 1]
test r9, r9
jne 0x140109bc8
lea r9, [0x14029775c]
mov r8, qword [rbx + 8]
test r8, r8
jne 0x140109bd8
neg r9
sbb edx, edx
jmp 0x140109c08
test r9, r9
je 0x140109c35
sub r9, r8
lea r15, [0x1402982b0]
nop word [rax + rax]
movzx edx, byte [r8]
movzx eax, byte [r9 + r8]
cmp edx, eax
jne 0x140109c77
test edx, edx
jne 0x140109c8c
mov r15, r13
test edx, edx
jne 0x140109c35
lea r11, [0x1400a2b90]
mov r9d, 1
lea r10, [fcn.1400a2d40]
xor r8d, r8d
inc ebp
inc rsi
add rdi, 0x20
cmp rsi, r15
jl 0x140109ae0
mov r12d, dword [rsp + 0x2c]
mov r9d, 1
mov edi, dword [rsp + 0x28]
mov rsi, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x24]
cmp ebp, r13d
jne 0x140109c9c
movzx eax, word [rsi + 0x3c]
mov ecx, r13d
mov r13d, dword [rsp + 0x20]
mov dword [rsp + 0x24], ecx
test al, al
jns 0x140109c94
mov r12d, eax
shr r12d, 9
and r12d, 1
add r12d, 2
jmp 0x140109ca1
movzx ecx, byte [rax + r15]
mov rax, rdx
movzx edx, byte [rdx + r15]
sub edx, ecx
jne 0x140109c05
inc r8
jmp 0x140109bf0
test al, 0x40
cmovne r12d, r9d
jmp 0x140109ca1
mov r13d, dword [rsp + 0x20]
mov rbp, qword [rsp + 0x48]
movsxd rsi, ecx
movsxd rdi, edi
imul rax, rdi, 0x1c
mov rcx, qword [rbp]
lea rbx, [rsi + 0x11]
lea rbx, [rax + rbx*8]
test rcx, rcx
je 0x140109ccb
mov rdx, rbx
call fcn.140058b50
jmp 0x140109cd3
mov rcx, rbx
call fcn.1400583c0
mov r15, rax
test rax, rax
je 0x140109ecc
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.140240350
lea rax, [rdi + rdi*2]
mov qword [r15 + 0x68], rbp
lea rdx, [rdi + 0x10]
mov dword [r15 + 0x70], r12d
mov rdi, qword [rsp + 0x50]
lea rdx, [r15 + rdx*8]
mov qword [r15 + 8], rdx
lea r14, [rdx + rax*4]
mov qword [r15 + 0x18], r14
lea rax, [r14 + rsi*8]
mov qword [r15 + 0x20], rax
xor r10d, r10d
mov dword [r15 + 0x74], 0
xor ebx, ebx
mov qword [r15 + 0x60], rdi
mov r8, qword [rdi + 0x20]
cmp dword [rdi + 0x14], ebx
jle 0x140109e21
mov r11d, 1
add rdx, 4
mov ebp, 0x180
mov esi, 0x100
mov r12d, 0x3fff
test byte [r8 + 0x12], 0x40
je 0x140109e12
mov eax, dword [r8 + 0x20]
mov dword [rdx - 4], eax
mov dword [rdx + 4], ebx
movzx ecx, word [r8 + 0x14]
and cx, r12w
cmp cx, 1
jne 0x140109d90
cmp word [r8 + 0x12], 0
jl 0x140109d8b
xor eax, eax
cmp r10d, 0x1f
cmovle eax, r11d
or dword [r15 + 0x74], eax
mov byte [rdx], 2
jmp 0x140109e08
cmp cx, 0x40
jne 0x140109d9f
movzx eax, byte [r8 + 0x17]
mov byte [rdx], al
jmp 0x140109e08
test bp, cx
je 0x140109db0
cmp cx, si
setne al
add al, 0x47
mov byte [rdx], al
jmp 0x140109e08
mov byte [rdx], cl
test cl, 0x3c
je 0x140109e08
mov rax, qword [r8]
mov r9, qword [rax + 0x18]
movzx eax, byte [r9]
cmp al, 0xb0
jne 0x140109dcb
movzx eax, byte [r9 + 2]
cmp al, 0xb1
jne 0x140109dd5
mov rax, qword [r9 + 0x20]
jmp 0x140109de1
cmp al, 0x8a
jne 0x140109e08
mov rax, qword [r9 + 0x20]
mov rax, qword [rax + 0x20]
cmp dword [rax], 1
jle 0x140109e08
cmp r10d, 0x10
jge 0x140109df4
movzx r13d, r13w
bts r13d, r10d
cmp cx, 0x10
jne 0x140109dff
mov byte [rdx], 8
jmp 0x140109e08
cmp cx, 4
jne 0x140109e08
mov byte [rdx], reloc.WLDAP32.dll_Ordinal_32
inc r10d
rol r11d, 1
add rdx, 0xc
inc ebx
add r8, 0x38
cmp ebx, dword [rdi + 0x14]
jl 0x140109d51
movsxd rsi, dword [rsp + 0x24]
xor ebp, ebp
mov dword [r15], r10d
test rsi, rsi
jle 0x140109eba
mov rbx, qword [rsp + 0x30]
lea r12, [fcn.1400a2d40]
add rbx, 0x18
lea rcx, [0x1400a2b90]
mov eax, 1
mov rdi, qword [rbx - 0x10]
mov word [rsp + 0x84], ax
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], rcx
mov dword [rsp + 0x88], 0
test rdi, rdi
je 0x140109eb0
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.14009b2e0
cmp word [rsp + 0x84], 0
lea rcx, [0x1400a2b90]
jne 0x140109eab
movsx eax, word [rdi + 0x30]
inc ebp
mov dword [r14], eax
movzx eax, byte [rbx]
and al, 1
mov byte [r14 + 4], al
add r14, 8
mov eax, 1
add rbx, 0x20
sub rsi, 1
jne 0x140109e50
mov rax, qword [rsp + 0x58]
mov dword [r15 + 0x10], ebp
mov word [rax], r13w
mov rax, r15
jmp 0x140109edd
lea rdx, str.out_of_memory
mov rcx, rbp
call fcn.14005c530
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401ebf40
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret