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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x128
mov r14, qword [rbp + 0x90]
lea rax, [r8 + 0x68]
mov qword [rbp - 0x50], rax
mov r15, rcx
mov rax, qword [rcx]
mov r13, rdx
mov rcx, qword [r8 + 8]
xor esi, esi
mov r11, qword [r14 + 0x48]
mov ebx, r9d
mov qword [rbp - 0x68], rax
mov rdi, r8
movzx eax, byte [r14 + 0x2c]
imul rax, rax, 0x70
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], r11
mov qword [rsp + 0x50], rax
mov r12d, dword [rax + rcx + 0x4c]
lea rcx, [r8 + 0x290]
mov edx, r12d
mov dword [rsp + 0x30], r12d
call fcn.140072464
mov r8, qword [rsp + 0x50]
not rax
and rax, qword [rbp + 0x98]
mov ecx, ebx
mov qword [r14 + 0x50], rax
mov r10, qword [rdi + 0x58]
mov edi, dword [r15 + 0x44]
dec edi
shr r10, cl
mov dword [r15 + 0x44], edi
and r10d, 1
mov dword [r14 + 0x10], edi
mov dword [r14 + 0xc], edi
mov eax, dword [r15 + 0x44]
dec eax
mov qword [rsp + 0x68], r10
mov dword [r15 + 0x44], eax
mov dword [rsp + 0x48], edi
mov dword [rbp - 0x78], eax
mov dword [r14 + 0x18], eax
cmp byte [r14 + 0x2c], sil
jbe 0x14007015e
mov rax, qword [rsp + 0x58]
test byte [r8 + rax + 0x44], 8
je 0x14007015e
mov r9d, dword [r15 + 0x38]
lea edx, [rsi + 0x46]
inc r9d
mov dword [rsp + 0x20], esi
mov dword [r15 + 0x38], r9d
xor r8d, r8d
mov rcx, r13
mov dword [r14], r9d
call fcn.140030b5c
mov r11, qword [rsp + 0x70]
mov r10, qword [rsp + 0x68]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rbp + 0x80]
test ebx, ebx
jle 0x14007017c
mov eax, ebx
imul rcx, rax, 0x58
cmp dword [rcx + rdx + 0x398], esi
jne 0x14007017c
dec ebx
jmp 0x140070165
movsxd rax, ebx
imul rcx, rax, 0x58
mov rax, qword [rsp + 0x58]
test byte [r8 + rax + 0x48], 0x10
mov r9d, dword [rcx + rdx + 0x3a4]
je 0x14007023d
mov ebx, dword [r8 + rax + 0x3c]
xor r9d, r9d
mov eax, dword [r8 + rax + 0x38]
mov rcx, r13
mov r8d, ebx
mov dword [rsp + 0x20], eax
lea edx, [r9 + 0xd]
call fcn.140030b5c
mov r9d, edi
mov dword [rsp + 0x20], esi
mov r8d, ebx
mov edx, reloc.Cabinet.dll_FCIDestroy
mov rcx, r13
call fcn.140030b5c
mov dword [r14 + 0x34], eax
mov eax, reloc.Cabinet.dll_FCIAddFile
mov byte [r14 + 0x2d], al
mov r8, qword [rsp + 0x50]
mov r11, qword [rsp + 0x58]
mov rdx, qword [rbp + 0x80]
mov rax, rsi
neg rax
lea r10, [rdx + 0x68]
sbb r13d, r13d
add r13d, 2
mov edi, dword [r10 + 0x14]
mov r12d, esi
mov rbx, qword [r10 + 0x20]
test edi, edi
jle 0x1400711cd
mov eax, 6
movzx ecx, word [rbx + 0x12]
test al, cl
jne 0x1400711a2
mov rax, qword [rbx + 0x38]
test qword [r14 + 0x50], rax
je 0x140071135
mov byte [rdx + 0x46], 1
jmp 0x14007119d
mov r8d, dword [r11 + 0x28]
bt r8d, 0xa
jae 0x1400704e6
movzx r13d, word [r11 + 0x2c]
mov rcx, r15
lea edx, [r13 + 2]
call fcn.14004785c
mov r8d, dword [r14 + 0xc]
mov r12d, eax
mov dword [rbp + 0x88], r8d
mov ebx, esi
mov dword [rbp + 0x90], eax
test r13d, r13d
je 0x1400702e5
mov rdi, rsi
add eax, 2
mov rcx, qword [r11 + 0x38]
mov rdx, qword [rdi + rcx]
test rdx, rdx
je 0x1400702d5
test byte [rdx + 0x14], 1
lea r8d, [rbx + rax]
mov rcx, r15
je 0x1400702b9
mov dword [rsp + 0x28], r8d
mov r9d, ebx
mov r8, r14
mov dword [rsp + 0x20], r10d
call fcn.14006f5e4
mov eax, dword [r14 + 0x10]
mov dword [rbp + 0x88], eax
jmp 0x1400702cb
mov rdx, qword [rdx]
mov r9d, 1
mov rdx, qword [rdx + 0x18]
call fcn.14006fddc
mov r11, qword [rsp + 0x70]
lea eax, [r12 + 2]
mov r10, qword [rsp + 0x68]
inc ebx
add rdi, 8
cmp ebx, r13d
jl 0x14007027e
mov r8d, dword [r11 + 0x18]
mov edi, Ordinal_73
mov rcx, qword [rbp + 0x78]
mov edx, edi
mov r9d, r12d
mov dword [rsp + 0x20], esi
call fcn.140030b5c
mov rcx, qword [rbp + 0x78]
lea r9d, [r12 + 1]
mov r8d, r13d
mov dword [rsp + 0x20], esi
mov edx, edi
call fcn.140030b5c
mov rbx, qword [rsp + 0x70]
mov edx, 9
mov r9d, dword [rbp + 0x88]
mov rcx, qword [rbp + 0x78]
mov dword [rsp + 0x20], r12d
mov al, byte [rbx + 0x1c]
mov r12d, dword [rsp + 0x30]
neg al
mov rbx, qword [rbx + 0x20]
mov r8d, r12d
sbb edi, edi
and edi, 0xfffffffa
call fcn.140030b5c
mov r8, rbx
lea r9d, [rdi - 1]
mov rbx, qword [rbp + 0x78]
mov edx, eax
mov rcx, rbx
call fcn.140031444
mov rdx, qword [rsp + 0x70]
lea edi, [r13 - 1]
mov r9, qword [rbp + 0x80]
mov byte [rdx + 0x1c], sil
mov dword [r14 + 0x30], r12d
mov al, byte [r9 + 0x45]
neg al
sbb cl, cl
and cl, 0x6e
add cl, 0x3c
mov byte [r14 + 0x2d], cl
mov eax, dword [rbx + 0x90]
mov dword [r14 + 0x34], eax
test edi, edi
js 0x1400701e0
movsxd rax, dword [r14 + 0x38]
lea rcx, [r13*8 - 8]
lea r12, [rax + rax*4]
mov eax, dword [rbp + 0x90]
add eax, 2
shl r12, 2
add eax, edi
mov qword [rbp + 0x90], rcx
mov dword [rbp + 0x88], eax
mov rax, qword [rdx + 0x38]
mov r13, qword [rcx + rax]
cmp edi, 0x10
jae 0x1400703fb
movzx eax, word [rdx + 0x1e]
movzx ecx, di
shr ax, cl
test al, 1
je 0x1400703f4
mov rdx, r13
mov rcx, r14
call fcn.14006f2a0
jmp 0x1400704bb
mov rcx, qword [rbp + 0x90]
test byte [r13 + 0x14], 1
je 0x1400704c7
mov rax, qword [rbp - 0x68]
cmp byte [rax + 0x61], sil
jne 0x14007043f
mov rax, qword [r14 + 0x40]
sub r12, 0x14
mov rcx, rbx
mov edx, dword [rax + r12 + 4]
call fcn.140031530
mov ecx, dword [rax + 0xc]
movzx edx, byte [rax]
mov r9d, dword [rax + 8]
mov r8d, dword [rax + 4]
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call fcn.140030b5c
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
lea edx, [r9 + 0x35]
call fcn.140041c68
mov rbx, rax
test rax, rax
je 0x1400704b7
mov rcx, qword [r13]
lea r8, [rbp - 0x40]
mov r13, qword [rbp - 0x68]
xor r9d, r9d
mov qword [rbp - 0x40], rsi
mov dword [rbp - 0x38], esi
mov rdx, qword [rcx + 0x10]
mov rcx, r13
mov qword [rax + 0x10], rdx
mov edx, 0xab
call fcn.140041ab4
mov qword [rbx + 0x18], rax
test rax, rax
je 0x1400704a8
mov ecx, dword [rbp + 0x88]
xor r9d, r9d
mov dword [rax + 0x28], ecx
mov rdx, rbx
mov r8d, dword [r14 + 0x18]
mov rcx, r15
call fcn.1400467ac
mov rdx, rbx
mov qword [rbx + 0x10], rsi
mov rcx, r13
call fcn.140042054
mov rbx, qword [rbp + 0x78]
mov rcx, qword [rbp + 0x90]
mov rdx, qword [rsp + 0x70]
dec dword [rbp + 0x88]
sub rcx, 8
sub edi, 1
mov qword [rbp + 0x90], rcx
jns 0x1400703c9
jmp 0x1400701e0
test r8b, 5
setne cl
bt r8d, 8
setb al
test al, cl
je 0x14007058f
mov rax, qword [r11 + 0x38]
xor r9d, r9d
mov r8, r14
mov rcx, r15
mov rbx, qword [rax]
inc dword [r15 + 0x38]
mov rdx, rbx
mov edi, dword [r15 + 0x38]
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r10d
call fcn.14006f5e4
cmp eax, edi
je 0x140070546
test edi, edi
je 0x140070546
cmp byte [r15 + 0x1f], 8
jae 0x140070546
movzx ecx, byte [r15 + 0x1f]
mov dword [r15 + rcx*4 + 0xbc], edi
inc byte [r15 + 0x1f]
mov r9d, dword [r14 + 0x10]
mov r8d, r12d
mov edx, SQLFreeHandle
mov dword [rsp + 0x20], eax
mov rcx, r13
call fcn.140030b5c
mov rdx, qword [rbp + 0x80]
mov r8, qword [rsp + 0x50]
mov r11, qword [rsp + 0x58]
mov byte [r14 + 0x2d], 0xaa
mov rax, qword [rbx + 0x38]
test qword [r14 + 0x50], rax
mov rax, rsi
jne 0x1400701f4
or word [rbx + 0x12], 4
jmp 0x1400701f4
mov ecx, 0x102
mov eax, r8d
and eax, ecx
cmp eax, ecx
jne 0x1400707f6
mov dword [rbp + 0x90], esi
lea r12d, [rcx - 0x58]
mov rcx, rsi
mov rbx, rsi
test r8b, 0x20
je 0x1400705c5
mov rax, qword [r11 + 0x38]
mov edx, 8
mov rcx, qword [rax]
jmp 0x1400705c8
mov rdx, rsi
test r8b, 0x10
je 0x1400705d6
mov rax, qword [r11 + 0x38]
mov rbx, qword [rdx + rax]
test r10d, r10d
mov rdi, rcx
cmove rdi, rbx
cmove rbx, rcx
test rbx, rbx
je 0x1400706c8
mov r13, qword [rbx]
mov dword [rbp + 0x88], 0x18161719
mov rdx, qword [r13 + 0x18]
mov rcx, rdx
call fcn.1400416cc
cmp eax, 1
jle 0x14007065e
mov al, byte [r15 + 0x1f]
test al, al
jne 0x14007061d
inc dword [r15 + 0x38]
mov ebx, dword [r15 + 0x38]
jmp 0x14007062e
dec al
movzx eax, al
mov byte [r15 + 0x1f], al
mov ebx, dword [r15 + rax*4 + 0xbc]
mov rdx, qword [r13 + 0x18]
mov r9d, 1
mov r8d, ebx
mov rcx, r15
call fcn.14006fddc
movzx eax, byte [r13]
mov r11d, ebx
inc rax
and eax, 2
or rax, 1
mov cl, byte [rbp + rax + 0x88]
jmp 0x140070685
lea r8, [rbp + 0x70]
mov rcx, r15
call fcn.140045f90
mov rdx, rbx
mov rcx, r14
mov r11d, eax
call fcn.14006f2a0
movzx r10d, byte [r13]
mov ebx, dword [rbp + 0x70]
mov cl, byte [rbp + r10 + 0x52]
mov r13, qword [rbp + 0x78]
mov r9d, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x30]
movzx edx, cl
mov rcx, r13
mov dword [rsp + 0x20], r11d
call fcn.140030b5c
test ebx, ebx
je 0x1400706bf
cmp byte [r15 + 0x1f], 8
jae 0x1400706bf
movzx eax, byte [r15 + 0x1f]
mov dword [r15 + rax*4 + 0xbc], ebx
inc byte [r15 + 0x1f]
mov ebx, dword [rsp + 0x68]
xor ebx, 1
jmp 0x1400706e6
mov r8d, dword [rsp + 0x30]
mov ebx, r10d
xor ebx, 1
mov dword [rsp + 0x20], esi
mov rcx, r13
lea edx, [rbx*4 + 0x20]
call fcn.140030b5c
test rdi, rdi
je 0x14007075d
mov r12, qword [rdi]
mov r9d, 1
inc dword [r15 + 0x38]
mov rcx, r15
mov eax, dword [r15 + 0x38]
mov r8d, eax
mov dword [rbp + 0x90], eax
mov rdx, qword [r12 + 0x18]
call fcn.14006fddc
mov rdx, qword [r12 + 0x18]
mov rcx, rdx
call fcn.1400416cc
cmp eax, 1
jg 0x140070738
mov al, byte [r12]
sub al, 0x36
test al, 0xfd
jne 0x140070738
lea r12d, [rbx*2 + 0x37]
jmp 0x140070745
mov rax, qword [rsp + 0x68]
lea r12d, [rax*2 + 0x36]
mov rcx, rdx
call fcn.1400416cc
cmp eax, 1
jg 0x14007075d
mov rdx, rdi
mov rcx, r14
call fcn.14006f2a0
mov ecx, dword [r13 + 0x90]
neg dword [rsp + 0x68]
mov dword [r14 + 0x34], ecx
sbb al, al
add al, 5
mov byte [r14 + 0x2d], al
mov eax, dword [rsp + 0x30]
mov dword [r14 + 0x30], eax
cmp r12d, 0xaa
je 0x1400701e0
inc dword [r15 + 0x38]
mov r8d, eax
mov ebx, dword [r15 + 0x38]
mov edx, 0x80
mov r9d, ebx
mov dword [rsp + 0x20], esi
mov rcx, r13
call fcn.140030b5c
mov r9d, dword [rsp + 0x48]
mov edx, r12d
mov r8d, dword [rbp + 0x90]
mov rcx, r13
mov dword [rsp + 0x20], ebx
call fcn.140030b5c
movsxd rax, dword [r13 + 0x90]
mov r8, qword [rsp + 0x50]
mov r11, qword [rsp + 0x58]
test eax, eax
jle 0x1400701ea
lea rcx, [rax + rax*2]
mov edx, 0x53
mov rax, qword [r13 + 0x88]
mov word [rax + rcx*8 - 0x16], dx
jmp 0x1400701ea
bt r8d, 9
jae 0x1400710cf
movzx ebx, word [r11 + 0x18]
mov rdi, rsi
mov r12, qword [rsp + 0x70]
mov r9d, esi
movzx r11d, word [r11 + 0x1a]
mov r10b, sil
mov word [rsp + 0x36], r11w
mov edx, ebx
mov qword [rbp - 0x48], rsi
movzx eax, word [r12 + 0x1c]
mov word [rsp + 0x38], ax
mov rax, qword [r12 + 0x20]
mov qword [rsp + 0x78], rax
mov eax, dword [r14 + 8]
mov dword [rsp + 0x3c], eax
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x58], rsi
mov byte [rbp + 0x88], sil
mov byte [rsp + 0x34], sil
mov dword [rsp + 0x44], esi
mov dword [rsp + 0x40], ebx
test r8b, 0x20
je 0x140070876
mov rax, qword [r12 + 0x38]
inc edx
mov r9d, r11d
mov rdi, qword [rax + rbx*8]
mov qword [rbp - 0x48], rdi
test r8b, 0x10
je 0x1400708ec
mov rax, qword [r12 + 0x38]
mov ecx, edx
mov rax, qword [rax + rcx*8]
mov qword [rbp - 0x70], rax
movzx eax, word [rsp + 0x38]
cmp r9d, eax
cmova eax, r9d
mov r9d, eax
mov r11d, eax
test rdi, rdi
jne 0x1400708e6
mov r9, qword [rsp + 0x78]
mov rax, qword [r9 + 8]
movsx r10, word [rax + rbx*2]
test r10d, r10d
js 0x1400708cb
mov rax, qword [r9 + 0x18]
mov rdx, r10
shl rdx, 5
mov rcx, qword [rax + 8]
cmp byte [rdx + rcx + 0x18], sil
je 0x1400708d4
mov r9d, r11d
cmp r10d, 0xfffffffe
jne 0x1400708e3
mov r10b, 1
mov r9d, r11d
mov byte [rbp + 0x88], r10b
jmp 0x1400708e6
mov r10b, sil
movzx r11d, word [rsp + 0x36]
and r8d, 0x80030
cmp r8d, 0x80000
jne 0x140070928
inc dword [r15 + 0x38]
mov r9d, 1
mov eax, dword [r15 + 0x38]
mov r10b, r9b
mov dword [r14 + 0x24], eax
dec dword [r15 + 0x44]
mov dword [rsp + 0x44], eax
mov eax, dword [r15 + 0x44]
mov dword [r14 + 0x28], eax
mov byte [rbp + 0x88], r9b
mov rax, qword [rsp + 0x78]
cmp bx, word [rax + 0x5e]
jae 0x14007094b
mov rax, qword [rax + 0x38]
mov ecx, esi
cmp byte [rbx + rax], sil
sete cl
cmp dword [rsp + 0x68], ecx
je 0x14007095c
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
test ecx, ecx
je 0x14007098f
cmp word [rax + 0x5e], bx
jne 0x14007098f
jmp 0x140070961
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rbp - 0x70]
mov qword [rbp - 0x70], rdi
mov rdi, rdx
mov qword [rbp - 0x48], rdx
movzx edx, word [rsp + 0x38]
movzx eax, r11b
mov word [rsp + 0x36], dx
mov byte [rsp + 0x34], r10b
mov byte [rbp + 0x88], sil
mov word [rsp + 0x38], ax
lea rax, [rbp - 0x60]
mov r8d, ecx
mov rcx, r15
mov qword [rsp + 0x20], rax
mov rdx, r14
call fcn.14006fa48
mov r8d, eax
mov dword [rsp + 0x4c], eax
mov rax, qword [rbp - 0x60]
test rax, rax
je 0x1400709d3
cmp word [rsp + 0x38], si
je 0x1400709d3
mov rcx, qword [rbp - 0x68]
lea rdx, [rbx + rax]
call fcn.140015424
mov r8d, dword [rsp + 0x4c]
mov qword [rbp - 0x58], rax
mov edx, dword [rsp + 0x44]
test edx, edx
je 0x1400709e1
mov eax, dword [r14 + 0x28]
jmp 0x1400709e5
mov eax, dword [r14 + 0x10]
mov dword [rsp + 0x60], eax
test rdi, rdi
je 0x1400709f7
test byte [rdi + 0x14], 0x28
mov dword [rbp - 0x80], esi
je 0x1400709fe
mov dword [rbp - 0x80], 1
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x140070a10
test byte [rax + 0x14], 0x28
mov dword [rbp - 0x7c], esi
je 0x140070a17
mov dword [rbp - 0x7c], 1
mov r10d, reloc.WLDAP32.dll_Ordinal_73
test rdi, rdi
jne 0x140070a63
test bx, bx
jne 0x140070a63
mov dword [rsp + 0x48], esi
mov ecx, ebx
mov dil, byte [rbp + 0x88]
test dil, dil
je 0x140070c19
lea r9d, [rcx + r8]
mov dword [rbp - 0x80], esi
xor r8d, r8d
mov dword [rsp + 0x20], esi
mov rcx, r13
mov edx, r10d
call fcn.140030b5c
mov r12d, 1
inc ebx
jmp 0x140070aff
mov dword [rsp + 0x48], 1
mov ecx, ebx
test rdi, rdi
je 0x140070a2d
mov rax, qword [rdi]
add r8d, ebx
movzx r12d, word [rsp + 0x36]
mov rcx, r15
mov r9d, r12d
mov rdi, qword [rax + 0x18]
mov rdx, rdi
call fcn.14006fddc
mov rcx, rdi
call fcn.14004324c
test eax, eax
je 0x140070aba
mov r9d, dword [rsp + 0x60]
mov r8d, ebx
add r8d, dword [rsp + 0x4c]
mov edx, Ordinal_54
mov rcx, r13
mov dword [rsp + 0x20], esi
call fcn.140030b5c
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140070ad2
lea r8, [rcx + rbx]
mov edx, r12d
mov rcx, rdi
call fcn.14006f394
mov rcx, rdi
add ebx, r12d
call fcn.1400416cc
cmp eax, 1
jg 0x140070af0
mov rdx, qword [rbp - 0x48]
mov rcx, r14
call fcn.14006f2a0
jmp 0x140070af7
mov dword [rbp - 0x80], 1
mov dil, sil
mov r12d, dword [rsp + 0x48]
mov r9, qword [rbp - 0x60]
mov r8d, ebx
mov edx, dword [rsp + 0x4c]
mov rcx, r15
movzx eax, dil
sub r8d, eax
mov dword [rbp + 0x88], eax
call fcn.14006f310
mov rcx, qword [rsp + 0x70]
lea rdi, [0x140000000]
cmp word [rcx + 0x2e], si
jbe 0x140070b3d
movzx eax, word [rcx + 0x2e]
cmp ebx, eax
je 0x140070c42
test dword [rcx + 0x28], 0x40000
je 0x140070b5e
mov r8d, dword [rsp + 0x3c]
xor r9d, r9d
mov rcx, r13
mov dword [rsp + 0x20], esi
lea edx, [r9 + 0x77]
call fcn.140030b5c
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x140070b7e
mov edx, Ordinal_73
mov dword [rsp + 0x20], esi
mov r9d, eax
mov rcx, r13
lea r8d, [rdx - 0x45]
call fcn.140030b5c
mov rcx, qword [rsp + 0x68]
mov eax, dword [rbp - 0x80]
mov r9d, dword [rsp + 0x60]
mov r8d, dword [rsp + 0x3c]
mov dword [rsp + 0x28], ebx
lea eax, [rax + r12*2]
mov r12d, dword [rsp + 0x4c]
lea ecx, [rcx + rax*2]
mov dword [rsp + 0x20], r12d
movzx edx, byte [rcx + rdi + 0xf19a8]
mov rcx, r13
call fcn.140030e6c
cmp dword [rsp + 0x44], esi
je 0x140070c47
mov r9d, dword [r13 + 0x90]
xor r8d, r8d
add r9d, 2
mov dword [rsp + 0x20], esi
mov rcx, r13
lea edx, [r8 + 0xb]
call fcn.140030b5c
mov r9d, dword [rsp + 0x60]
mov eax, 2
mov r8d, dword [rsp + 0x3c]
mov ecx, ebx
sub ecx, dword [rbp - 0x80]
mov dword [rsp + 0x28], ecx
cmp ebx, 1
lea edx, [rax + 4]
mov dword [rsp + 0x20], r12d
cmova eax, edx
mov rcx, r13
add eax, dword [rsp + 0x68]
movzx edx, byte [rax + rdi + 0xf19a8]
call fcn.140030e6c
jmp 0x140070c47
mov ebx, ecx
test edx, edx
je 0x140070afa
lea r9d, [rcx + r8]
mov dword [rsp + 0x20], esi
xor r8d, r8d
mov rcx, r13
mov edx, r10d
call fcn.140030b5c
mov ebx, dword [rsp + 0x40]
jmp 0x140070a56
mov r12d, dword [rsp + 0x4c]
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x140070d96
mov rax, qword [rax]
mov rcx, r15
movzx ebx, word [rsp + 0x38]
add r12d, dword [rsp + 0x40]
mov r9d, ebx
mov r8d, r12d
mov rdi, qword [rax + 0x18]
mov rdx, rdi
call fcn.14006fddc
mov rcx, rdi
call fcn.14004324c
test eax, eax
je 0x140070c9b
mov r9d, dword [rsp + 0x60]
mov r8d, r12d
mov edx, Ordinal_54
mov dword [rsp + 0x20], esi
mov rcx, r13
call fcn.140030b5c
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x140070cc3
mov r8, rax
mov edx, ebx
mov rcx, rdi
call fcn.14006f394
mov r9, qword [rbp - 0x58]
mov r8d, ebx
mov edx, r12d
mov rcx, r15
call fcn.14006f310
mov r12d, dword [rsp + 0x40]
mov rcx, rdi
add r12d, ebx
call fcn.1400416cc
cmp eax, 1
jg 0x140070d8a
mov rdx, qword [rbp - 0x70]
mov rcx, r14
call fcn.14006f2a0
lea rdi, [0x140000000]
mov ebx, dword [rsp + 0x44]
mov rax, qword [rbp - 0x60]
test rax, rax
je 0x140070d08
mov rcx, qword [rbp - 0x68]
mov rdx, rax
call fcn.140015038
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x140070d1d
mov rcx, qword [rbp - 0x68]
mov rdx, rax
call fcn.140015038
mov eax, dword [r13 + 0x90]
mov dword [r14 + 0x34], eax
test r12d, r12d
je 0x140070dd3
test ebx, ebx
je 0x140070d54
mov r9d, dword [r13 + 0x90]
mov r8d, ebx
add r9d, 3
mov dword [rsp + 0x20], esi
mov edx, SQLAllocHandle
mov rcx, r13
call fcn.140030b5c
mov rax, qword [rsp + 0x68]
mov rcx, r13
mov r9d, dword [rsp + 0x60]
mov r8d, dword [rsp + 0x3c]
mov dword [rsp + 0x28], r12d
lea ebx, [rax + rax]
mov eax, dword [rbp - 0x7c]
add eax, ebx
movzx edx, byte [rax + rdi + 0xf3c28]
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x20], eax
call fcn.140030e6c
jmp 0x140070ddb
mov dword [rbp - 0x7c], 1
jmp 0x140070ce8
mov r12d, dword [rsp + 0x40]
cmp byte [rsp + 0x34], sil
je 0x140070cef
mov ebx, dword [rsp + 0x44]
test ebx, ebx
jne 0x140070dcb
mov r9d, dword [rsp + 0x4c]
lea edx, [rbx + 0x49]
add r9d, r12d
mov dword [rsp + 0x20], esi
xor r8d, r8d
mov rcx, r13
call fcn.140030b5c
mov dword [rbp - 0x7c], esi
inc r12d
jmp 0x140070cf3
mov rax, qword [rsp + 0x68]
lea ebx, [rax + rax]
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x140070e3a
mov r9d, dword [r13 + 0x90]
mov r8d, eax
add r9d, 2
mov dword [rsp + 0x20], esi
mov edx, 0x12
mov rcx, r13
call fcn.140030b5c
mov eax, dword [rbp + 0x88]
mov rcx, r13
mov r9d, dword [rsp + 0x60]
lea r8d, [rax + r12]
mov r12d, dword [rsp + 0x3c]
add eax, ebx
mov dword [rsp + 0x28], r8d
mov r8d, r12d
movzx edx, byte [rax + rdi + 0xf3c28]
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x20], eax
call fcn.140030e6c
jmp 0x140070e3f
mov r12d, dword [rsp + 0x3c]
mov rbx, qword [rsp + 0x70]
test dword [rbx + 0x28], 0x40000
je 0x140070e66
mov r9d, 1
mov dword [rsp + 0x20], esi
mov r8d, r12d
mov rcx, r13
lea edx, [r9 + 0x76]
call fcn.140030b5c
test byte [rbx + 0x28], 0x40
mov rax, qword [rbp + 0x80]
lea rdi, [rax + 0x40]
je 0x140070e8c
test byte [rdi], 0x20
jne 0x140070e8c
mov r10, qword [rsp + 0x78]
mov r13d, 1
jmp 0x140070f16
mov r10, qword [rsp + 0x78]
mov qword [rbp - 0x40], rdi
mov rbx, qword [r10 + 0x18]
test byte [rbx + 0x40], 0x20
jne 0x140070f4b
mov ecx, 0x400
test word [rdi], cx
jne 0x140070ed2
mov ecx, 0x1000
test word [rdi], cx
je 0x140070ebd
cmp byte [rax + 0x45], 1
je 0x140070ed2
mov r8d, dword [rsp + 0x30]
mov r9d, r12d
mov rdx, r10
mov rcx, rax
call fcn.14006fcf0
jmp 0x140070f09
inc dword [r15 + 0x38]
mov r8d, r12d
mov ebx, dword [r15 + 0x38]
mov edx, Ordinal_139
mov r9d, ebx
mov dword [rsp + 0x20], esi
mov rcx, r13
call fcn.140030b5c
mov r8d, dword [rsp + 0x30]
xor r9d, r9d
mov rcx, r13
mov dword [rsp + 0x20], ebx
lea edx, [r9 + 0x1f]
call fcn.140030b5c
mov r10, qword [rsp + 0x78]
mov r13d, esi
mov rbx, qword [rsp + 0x70]
mov r12d, dword [rsp + 0x30]
cmp dword [r14], esi
jne 0x140071059
test byte [rdi], 0x20
mov edi, dword [rsp + 0x3c]
jne 0x14007105d
mov r9, qword [rbp + 0x80]
mov r8d, edi
mov edx, r12d
mov rcx, r10
call fcn.14006fedc
jmp 0x14007105d
mov r13d, esi
cmp dword [rsp + 0x30], r12d
je 0x140070f11
mov rbx, qword [rbx + 0x10]
mov dword [rbp + 0x88], esi
test rbx, rbx
je 0x140070f7c
mov dword [rbp + 0x88], esi
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x140070f7c
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140070f6a
movzx edx, word [rbx + 0x5e]
mov rcx, r15
call fcn.14004785c
movzx ecx, word [rbx + 0x5e]
mov edx, eax
mov dword [rsp + 0x48], eax
mov r12d, esi
cmp si, cx
jae 0x140071025
mov r14, qword [rbp + 0x78]
mov r15d, eax
mov edi, dword [rsp + 0x3c]
or r13d, 0xffffffff
movzx r8d, word [r10 + 0x60]
mov edx, esi
test r8d, r8d
je 0x140070fda
mov rax, qword [rbx + 8]
mov r9, qword [r10 + 8]
movsxd rcx, r12d
movzx r10d, word [rax + rcx*2]
movsxd rax, edx
cmp r10w, word [r9 + rax*2]
je 0x140070fde
inc edx
cmp edx, r8d
jl 0x140070fc9
movzx edx, r13w
lea eax, [r12 + r15]
movsx r9d, dx
mov edx, 0x5a
mov dword [rsp + 0x20], eax
mov r8d, edi
mov rcx, r14
call fcn.140030b5c
movzx ecx, word [rbx + 0x5e]
inc r12d
mov r10, qword [rsp + 0x78]
cmp r12d, ecx
jl 0x140070fad
mov r14, qword [rbp + 0x90]
mov r15, qword [rbp + 0x70]
mov rdi, qword [rbp - 0x40]
mov r13d, dword [rbp + 0x88]
mov edx, dword [rsp + 0x48]
mov r12d, dword [rsp + 0x30]
mov r8d, r12d
mov r9d, dword [rbp - 0x78]
movzx eax, cx
mov rcx, qword [rbp + 0x78]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov edx, SQLFreeHandle
call fcn.140030e6c
mov r10, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
jmp 0x140070f1b
mov edi, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax + 0x48]
test rcx, rcx
je 0x140071077
mov r8, qword [rbp - 0x50]
mov edx, r12d
call fcn.14006ffb8
mov eax, 0x1000
test dword [rbx + 0x28], eax
je 0x140071088
mov byte [r14 + 0x2d], 0xaa
jmp 0x140071094
neg dword [rsp + 0x68]
sbb al, al
add al, 5
mov byte [r14 + 0x2d], al
mov dword [r14 + 0x30], edi
mov al, byte [rbx + 0x2a]
and al, 1
mov byte [r14 + 0x2e], al
test byte [rbx + 0x28], 0xf
jne 0x1400710ac
mov byte [r14 + 0x2f], 1
mov rdx, qword [rbp + 0x80]
mov r8, qword [rsp + 0x50]
mov r11, qword [rsp + 0x58]
test r13d, r13d
je 0x14007112b
mov rax, rsi
mov qword [rsp + 0x78], rax
jmp 0x1400701f4
mov r8, qword [rsp + 0x50]
mov r11, qword [rsp + 0x58]
test byte [r8 + r11 + 0x48], 0x20
je 0x1400710eb
mov byte [r14 + 0x2d], 0xaa
jmp 0x1400701f1
mov ecx, r10d
lea rdx, [0x140000000]
mov r8d, r12d
mov dword [r14 + 0x30], r12d
mov dword [rsp + 0x20], esi
mov al, byte [rcx + rdx + 0xf3b18]
movzx edx, byte [rcx + rdx + 0xf1318]
mov rcx, r13
mov byte [r14 + 0x2d], al
call fcn.140030b5c
inc eax
mov byte [r14 + 0x2f], 1
mov dword [r14 + 0x34], eax
jmp 0x1400701e0
mov rax, qword [rsp + 0x78]
jmp 0x1400701f4
test byte [r8 + r11 + 0x44], 8
mov rax, qword [rbx]
mov qword [rbp + 0x90], rax
je 0x14007114d
test byte [rax + 4], 1
je 0x14007119d
cmp r13d, 1
jne 0x140071172
mov r8, qword [rsp + 0x78]
mov rcx, rax
mov edx, dword [r14 + 4]
call fcn.14004746c
test eax, eax
jne 0x140071368
lea r12d, [r13 + 1]
jmp 0x14007119d
cmp r13d, 3
jl 0x14007136f
bt cx, 9
jb 0x14007119d
mov r8d, dword [rbp - 0x78]
mov r9d, 0x10
mov rdx, rax
mov rcx, r15
call fcn.1400467ac
or word [rbx + 0x12], 4
mov eax, 6
mov rdx, qword [rbp + 0x80]
dec edi
mov r8, qword [rsp + 0x50]
add rbx, 0x40
mov r11, qword [rsp + 0x58]
test edi, edi
jg 0x14007021a
mov r10, qword [rbp - 0x50]
mov rbx, qword [r10 + 0x20]
mov edi, dword [r10 + 0x14]
mov rdx, qword [rbp + 0x80]
mov r13d, r12d
mov r8, qword [rsp + 0x50]
mov r11, qword [rsp + 0x58]
test r12d, r12d
jg 0x140070202
mov r12d, 6
test edi, edi
jle 0x1400712e6
add rbx, 0x14
test byte [rbx - 2], r12b
jne 0x1400712d4
movzx eax, word [rbx]
mov edx, reloc.Cabinet.dll_FCIAddFile
test al, 0x82
setne cl
bt ax, dx
setb al
test al, cl
je 0x1400712d4
mov eax, dword [rsp + 0x30]
cmp dword [rbx + 8], eax
jne 0x1400712d4
cmp dword [r14], esi
jne 0x1400712d4
mov r9, qword [rbp + 0x98]
mov edx, eax
mov r8d, dword [rbx + 0x14]
mov rcx, r10
mov r13, qword [rbx - 0x14]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], Ordinal_133
call fcn.140072784
mov rdx, rax
test rax, rax
je 0x1400712d4
test byte [rax + 0x12], 4
jne 0x1400712d4
test byte [rax + 0x14], 1
je 0x14007128a
mov rax, qword [rax]
test dword [rax + 4], 0x800
je 0x14007128a
mov rax, qword [rax + 0x20]
mov rcx, qword [rax]
cmp dword [rcx], 1
jg 0x1400712d4
mov rax, qword [rdx]
mov r9d, 0x10
mov r8d, dword [rbp - 0x78]
lea rdx, [rbp - 0x30]
mov rcx, r15
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp], xmm1
movsd xmm0, qword [rax + 0x40]
movsd qword [rbp + 0x10], xmm0
mov rax, qword [r13 + 0x10]
mov qword [rbp - 0x20], rax
call fcn.1400467ac
mov r10, qword [rbp - 0x50]
dec edi
add rbx, 0x40
test edi, edi
jg 0x1400711fc
cmp dword [r14], esi
je 0x140071350
mov rcx, qword [rbp + 0x78]
mov edx, Ordinal_73
mov r9d, dword [r14]
mov dword [rsp + 0x20], esi
mov eax, dword [rcx + 0x90]
lea r8d, [rdx - 0x45]
mov dword [r14 + 0x1c], eax
call fcn.140030b5c
mov rdi, qword [rbp - 0x50]
mov rbx, qword [rdi + 0x20]
cmp dword [rdi + 0x14], esi
jle 0x140071350
test byte [rbx + 0x12], r12b
jne 0x140071345
mov rax, qword [rbx + 0x38]
test qword [r14 + 0x50], rax
jne 0x140071345
mov r8d, dword [rbp - 0x78]
mov r9d, 0x10
mov rdx, qword [rbx]
mov rcx, r15
call fcn.1400467ac
or word [rbx + 0x12], 4
inc esi
add rbx, 0x40
cmp esi, dword [rdi + 0x14]
jl 0x14007131b
mov rax, qword [r14 + 0x50]
add rsp, 0x128
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rax, qword [rbp + 0x90]
movzx ecx, word [rbx + 0x12]
bt cx, 0xc
jae 0x14007117c
mov eax, 6
test r12d, r12d
jne 0x1400711a2
lea r12d, [rax - 3]
jmp 0x1400711a2