Function at 0x140046248
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x30]
sub rsp, reloc.WLDAP32.dll_Ordinal_304
mov r11, qword [rcx + 0x10]
xor r9d, r9d
mov r10d, r8d
mov dword [rbp + 0x68], r8d
mov rsi, rdx
mov qword [rsp + 0x70], rdx
mov rbx, rcx
mov qword [rsp + 0x48], r11
mov dword [rbp + 0x60], r9d
mov dword [rsp + 0x40], r9d
mov r8d, r9d
mov dword [rsp + 0x50], r9d
test r11, r11
jne 0x14004629c
xor eax, eax
jmp 0x1400472b8
mov ecx, 0x94
mov edx, 2
mov edi, 0x75
test rsi, rsi
je 0x1400462b3
movzx edi, byte [rsi]
cmp edi, ecx
jg 0x140046354
je 0x140046735
mov eax, 0x86
cmp edi, 0x39
jle 0x1400464d7
cmp edi, 0x47
je 0x140046443
cmp edi, 0x4d
je 0x1400463d4
cmp edi, 0x62
jle 0x140046a2d
cmp edi, 0x6c
jle 0x140046512
cmp edi, 0x6d
je 0x1400463a0
cmp edi, 0x6e
je 0x1400465cf
cmp edi, 0x71
je 0x1400463c0
cmp edi, 0x75
je 0x1400463ae
cmp edi, eax
jne 0x140046a2d
cmp edi, eax
jne 0x1400465bf
mov rax, qword [rsi + 0x20]
mov rcx, qword [rax]
cmp dword [rcx], 1
je 0x1400465bf
mov r8d, dword [rcx]
lea rdx, str.sub_select_returns__d_columns___expected__d
mov r9d, 1
mov rcx, rbx
call fcn.140018e94
jmp 0x1400472b5
cmp edi, 0xa7
jle 0x140046905
sub edi, 0xa8
je 0x140046899
dec edi
je 0x1400463a0
dec edi
je 0x140046826
dec edi
je 0x14004681e
dec edi
je 0x14004680a
dec edi
je 0x1400467b8
dec edi
je 0x140046749
cmp edi, edx
jne 0x140046a2d
mov rsi, qword [rsi + 0x10]
mov qword [rsp + 0x70], rsi
jmp 0x1400462a6
mov edx, reloc.WLDAP32.dll_Ordinal_73
mov dword [rsp + 0x20], r9d
mov r9d, r10d
mov rcx, r11
jmp 0x140046439
mov r8, qword [rsi + 8]
mov edx, r10d
mov rcx, r11
call fcn.140031fbc
jmp 0x1400472b5
mov rbx, qword [rsi + 0x40]
movsx r8d, word [rsi + 0x2c]
mov dword [rsp + 0x20], r9d
movsx ecx, word [rbx + 0x46]
mov r9d, r10d
mov edx, 0x95
inc ecx
imul ecx, dword [rsi + 0x28]
inc ecx
add r8d, ecx
mov rcx, r11
call fcn.140031f40
xor edx, edx
cmp word [rsi + 0x2c], dx
jl 0x1400472b5
movsx rcx, word [rsi + 0x2c]
mov rax, qword [rbx + 8]
shl rcx, 5
cmp byte [rcx + rax + 0x19], 0x45
jne 0x1400472b5
mov dword [rsp + 0x20], edx
mov r8d, dword [rbp + 0x68]
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
lea edx, [r9 + 0x54]
call fcn.140031f40
jmp 0x1400472b5
cmp qword [rbx + 0x98], r9
jne 0x140046460
lea rdx, str.RAISE___may_only_be_used_within_a_trigger_program
mov rcx, rbx
call fcn.140018e94
jmp 0x140046295
cmp byte [rsi + 1], dl
jne 0x14004647a
mov rax, qword [rbx + 0x90]
mov rcx, rbx
test rax, rax
cmovne rcx, rax
mov byte [rcx + 0x21], 1
cmp byte [rsi + 1], 4
jne 0x1400464b2
mov rbx, qword [rsi + 8]
mov dword [rsp + 0x20], r9d
mov r9d, 4
lea edx, [r9 + 0x41]
mov rcx, r11
call fcn.140031f40
xor r9d, r9d
mov r8, rbx
mov rcx, qword [rsp + 0x48]
mov edx, eax
call fcn.14003280c
jmp 0x1400472b5
movsx r8d, byte [rsi + 1]
mov byte [rsp + 0x28], r9b
mov byte [rsp + 0x20], r9b
mov r9, qword [rsi + 8]
mov edx, 0x713
mov rcx, rbx
call fcn.140053098
jmp 0x1400472b5
cmp edi, 0x34
jge 0x140046967
cmp edi, 0x2d
jg 0x1400465fc
je 0x140046952
cmp edi, 0x13
je 0x1400465cf
cmp edi, 0x14
je 0x14004631f
cmp edi, 0x24
je 0x14004655a
lea eax, [rdi - 0x2b]
cmp eax, 1
ja 0x140046a2d
mov rdx, qword [rsi + 0x10]
lea r8, [rbp + 0x60]
mov rcx, rbx
call fcn.1400473ac
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rbp + 0x50]
lea r8, [rsp + 0x40]
mov ebx, eax
call fcn.1400473ac
mov edx, edi
mov r8d, dword [rbp + 0x68]
mov rcx, qword [rsp + 0x48]
mov r9d, ebx
mov dword [rsp + 0x20], r8d
mov r8d, eax
call fcn.140031f40
mov rbx, qword [rbp + 0x50]
jmp 0x1400469e9
mov rdx, qword [rsi + 0x10]
mov r8d, r10d
mov rcx, rbx
call fcn.140046248
mov ebx, dword [rbp + 0x68]
mov rdi, qword [rsp + 0x48]
mov dword [rbp + 0x60], eax
cmp eax, ebx
je 0x140046593
and dword [rsp + 0x20], 0
mov r9d, ebx
mov r8d, eax
mov edx, reloc.WLDAP32.dll_Ordinal_79
mov rcx, rdi
call fcn.140031f40
mov dword [rbp + 0x60], ebx
mov rcx, qword [rsi + 8]
xor edx, edx
call fcn.14004e60c
and dword [rsp + 0x20], 0
mov r8d, ebx
mov edx, Ordinal_88
mov rcx, rdi
movsx r9d, al
call fcn.140031f40
mov eax, dword [rbp + 0x60]
jmp 0x1400472b8
mov rdx, rsi
mov rcx, rbx
call fcn.1400454d0
jmp 0x1400472b8
mov rdx, qword [rsi + 0x10]
lea r8, [rbp + 0x60]
mov rcx, rbx
call fcn.1400473ac
mov r9d, dword [rbp + 0x68]
mov rcx, qword [rsp + 0x48]
and dword [rsp + 0x20], 0
mov r8d, eax
mov edx, edi
call fcn.140031f40
jmp 0x1400469e9
cmp edi, 0x30
je 0x14004671d
cmp edi, 0x31
je 0x140046692
lea eax, [rdi - 0x32]
cmp eax, 1
ja 0x140046a2d
mov edx, Ordinal_73
mov dword [rsp + 0x20], r9d
mov rcx, r11
lea r8d, [rdx - 0x45]
mov r9d, r10d
call fcn.140031f40
mov rdx, qword [rsi + 0x10]
lea r8, [rbp + 0x60]
mov rcx, rbx
call fcn.1400473ac
mov edx, edi
mov rdi, qword [rsp + 0x48]
xor esi, esi
xor r9d, r9d
mov rcx, rdi
mov r8d, eax
mov dword [rsp + 0x20], esi
call fcn.140031f40
mov r9d, dword [rbp + 0x68]
lea edx, [rsi + 0x46]
xor r8d, r8d
mov rcx, rdi
mov ebx, eax
mov dword [rsp + 0x20], esi
call fcn.140031f40
mov edx, ebx
mov rcx, rdi
call fcn.1400328fc
mov r9, rax
mov eax, dword [rdi + 0x90]
mov dword [r9 + 8], eax
jmp 0x140046551
mov ebx, dword [rbx + 0x44]
mov rax, qword [rbp + 0x50]
mov dword [rsp + 0x20], r9d
lea edi, [rbx - 2]
mov r9d, r10d
mov edx, reloc.WLDAP32.dll_Ordinal_73
mov rcx, r11
mov dword [rax + 0x44], edi
call fcn.140031f40
mov rcx, qword [rbp + 0x50]
lea r8d, [rbx - 1]
mov r9d, edi
mov rdx, rsi
call fcn.1400457e4
mov esi, dword [rbp + 0x68]
mov rcx, qword [rsp + 0x48]
and dword [rsp + 0x20], 0
mov edx, Ordinal_73
mov r9d, esi
lea r8d, [rdx - 0x45]
call fcn.140031f40
lea edx, [rbx - 1]
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.14003233c
and dword [rsp + 0x20], 0
xor r9d, r9d
lea edx, [r9 + 0x53]
mov r8d, esi
mov rcx, rbx
call fcn.140031f40
mov edx, edi
mov rcx, rbx
call fcn.14003233c
mov eax, esi
jmp 0x1400472b8
mov r8d, r10d
mov rdx, rsi
mov rcx, rbx
mov dword [rsp + 0x20], r9d
call fcn.14004770c
jmp 0x1400472b5
mov rdx, qword [rsi + 8]
mov r9d, r10d
mov rcx, r11
call fcn.140045f00
jmp 0x1400472b5
mov r8d, dword [rsi + 0x28]
mov dil, byte [rbx + 0x23]
mov edx, SQLAllocHandle
mov rcx, r11
mov dword [rsp + 0x20], r9d
call fcn.140031f40
mov r8d, dword [rbp + 0x68]
mov ebx, eax
mov rax, qword [rbp + 0x50]
mov byte [rax + 0x23], 0
mov rdx, qword [rsi + 0x10]
mov rcx, rax
call fcn.140046248
mov r9, qword [rsp + 0x48]
mov edx, ebx
mov dword [rbp + 0x68], eax
mov rax, qword [rbp + 0x50]
mov rcx, r9
mov byte [rax + 0x23], dil
call fcn.1400328fc
mov ecx, dword [r9 + 0x90]
mov dword [rax + 8], ecx
mov rcx, r9
mov edx, ebx
call fcn.1400328fc
mov r8d, dword [rbp + 0x68]
mov dword [rax + 0xc], r8d
jmp 0x1400472b5
mov rdx, qword [rsi + 0x10]
cmp dword [rdx + 0x28], r9d
jne 0x1400467d1
mov rcx, rbx
call fcn.1400454d0
mov rcx, qword [rsi + 0x10]
mov dword [rcx + 0x28], eax
mov r8d, dword [rsi + 0x28]
test r8d, r8d
je 0x1400467fa
mov rcx, qword [rsi + 0x10]
call fcn.140042bf4
cmp r8d, eax
je 0x1400467fa
lea rdx, str._d_columns_assigned__d_values
mov r9d, eax
mov rcx, rbx
call fcn.140018e94
mov rcx, qword [rsi + 0x10]
movsx eax, word [rsi + 0x2c]
add eax, dword [rcx + 0x28]
jmp 0x1400472b8
lea rdx, str.row_value_misused
mov rcx, rbx
call fcn.140018e94
jmp 0x1400472b5
mov eax, dword [rsi + 0x28]
jmp 0x1400472b8
mov rdx, qword [rsi + 0x10]
lea r8, [rbp + 0x60]
mov rcx, rbx
call fcn.1400473ac
xor r8d, r8d
mov r10d, eax
mov rax, qword [rsi + 0x18]
jmp 0x14004684f
test dword [rax + 4], 0x1000
je 0x140046854
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140046842
mov rax, qword [rax + 8]
mov r9d, dword [rbp + 0x68]
mov edx, r8d
cmp byte [rax + 4], r8b
mov ecx, r8d
mov eax, r8d
sete dl
cmp byte [rsi + 0x32], 0x2d
mov r8d, r10d
sete cl
xor ecx, edx
test edx, edx
mov edx, reloc.WLDAP32.dll_Ordinal_88
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x48]
sete al
mov dword [rsp + 0x20], eax
call fcn.140032258
jmp 0x1400469e9
mov rdx, qword [rsi + 0x10]
cmp byte [rdx], 0x96
jne 0x1400468b8
mov r8d, 1
mov r9d, r10d
mov rcx, rbx
call fcn.140045f94
jmp 0x1400472b5
cmp byte [rdx], cl
jne 0x1400468cb
mov rdx, qword [rdx + 8]
mov r8d, 1
jmp 0x140046739
lea r8, [rbp + 0x60]
lea rdx, [rbp - 0x20]
mov rcx, rbx
mov byte [rbp - 0x20], 0x96
mov qword [rbp - 0x1c], 0x4400
call fcn.1400473ac
mov rdx, qword [rsi + 0x10]
mov rcx, qword [rbp + 0x50]
lea r8, [rsp + 0x40]
mov ebx, eax
call fcn.1400473ac
mov edx, 0x68
jmp 0x140046538
je 0x140046f17
mov ecx, edi
sub ecx, 0x95
je 0x140046eb4
dec ecx
je 0x140046eac
dec ecx
je 0x140046e2f
sub ecx, 0xb
je 0x140046cc5
dec ecx
je 0x140046c96
dec ecx
je 0x140046c5b
dec ecx
je 0x140046c40
dec ecx
jne 0x140046a2d
sub edi, 0x2d
mov r8d, Ordinal_133
neg edi
mov dword [rsp + 0x50], r8d
sbb edi, edi
add edi, 0x35
mov rdx, qword [rsi + 0x10]
mov rcx, rdx
mov qword [rsp + 0x70], rdx
call fcn.140042bf4
mov rcx, rbx
cmp eax, 1
jle 0x140046998
mov byte [rsp + 0x20], r8b
mov r9b, dil
mov rdx, rsi
mov r8d, r10d
call fcn.140042d80
jmp 0x1400472b5
lea r8, [rbp + 0x60]
call fcn.1400473ac
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rbp + 0x50]
lea r8, [rsp + 0x40]
mov ebx, eax
call fcn.1400473ac
mov ecx, dword [rsp + 0x50]
mov r8d, dword [rbp + 0x68]
mov rdx, qword [rsp + 0x70]
or ecx, 0x20
mov r9d, edi
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], r8d
mov r8, qword [rsi + 0x18]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
mov rbx, qword [rbp + 0x50]
mov rcx, rbx
call fcn.140042b34
mov ecx, dword [rbp + 0x60]
test ecx, ecx
je 0x140046a04
cmp byte [rbx + 0x1f], 8
jae 0x140046a04
movzx eax, byte [rbx + 0x1f]
mov dword [rbx + rax*4 + 0xbc], ecx
inc byte [rbx + 0x1f]
mov ecx, dword [rsp + 0x40]
test ecx, ecx
je 0x1400472b5
cmp byte [rbx + 0x1f], 8
jae 0x1400472b5
movzx eax, byte [rbx + 0x1f]
mov dword [rbx + rax*4 + 0xbc], ecx
inc byte [rbx + 0x1f]
jmp 0x1400472b5
mov rcx, qword [rsi + 0x20]
mov rax, qword [rbx]
mov r11, r9
mov edx, dword [rcx]
lea r8, [rcx + 8]
mov qword [rsp + 0x78], rcx
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x68], r9
mov qword [rbp - 0x80], r9
add dword [rbx + 0x44], ecx
mov r10, qword [rsi + 0x10]
mov r9d, dword [rbx + 0x44]
xor esi, esi
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x60], r8
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x40], r9d
mov qword [rbp - 0x78], r10
test r10, r10
je 0x140046b12
xor r9d, r9d
xor r8d, r8d
mov rdx, r10
mov rcx, rax
call fcn.140043748
mov rdi, rax
mov qword [rbp - 0x80], rax
mov rax, qword [rsp + 0x70]
cmp byte [rax + 0x61], sil
je 0x140046ab8
test rdi, rdi
je 0x1400472b5
mov rdx, rdi
mov rcx, rax
call fcn.140043584
jmp 0x1400472b5
lea r8, [rbp + 0x60]
mov rdx, rdi
mov rcx, rbx
call fcn.1400461a4
mov rcx, rdi
mov edx, eax
call fcn.140042838
mov cl, byte [rax]
btr dword [rax + 4], 0xc
mov dword [rax + 0x28], edx
xor edx, edx
mov byte [rax + 0x32], cl
lea rcx, [rbp - 0x70]
lea r8d, [rdx + 0x48]
mov byte [rax], 0xab
call fcn.1400c8410
mov edx, dword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov r10, qword [rbp - 0x78]
lea r11, [rbp - 0x70]
mov byte [rbp - 0x70], Ordinal_54
mov qword [rsp + 0x68], r11
mov qword [rbp - 0x60], rdi
or rcx, 0xffffffffffffffff
mov esi, dword [rbp + 0x68]
lea eax, [rdx - 1]
cdqe
test rax, rax
jle 0x140046bd2
dec rax
shr rax, 1
inc rax
mov qword [rsp + 0x58], rax
test r10, r10
je 0x140046b3f
mov rax, qword [r8]
mov qword [rbp - 0x58], rax
jmp 0x140046b47
mov r11, qword [r8]
mov qword [rsp + 0x68], r11
add dword [rbx + 0x44], ecx
mov ebx, dword [rbx + 0x44]
mov rcx, qword [rbp + 0x50]
mov r8d, ebx
mov r9d, 0x10
mov rdx, r11
call fcn.140047bd4
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rdx + 0x28]
mov r8d, esi
call fcn.140047474
mov rdi, qword [rsp + 0x48]
mov r9d, dword [rsp + 0x40]
and dword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 0xb]
call fcn.140031f40
mov edx, ebx
mov rcx, rdi
call fcn.14003233c
mov r8, qword [rsp + 0x60]
mov rbx, qword [rbp + 0x50]
mov r10, qword [rbp - 0x78]
mov r11, qword [rsp + 0x68]
add r8, 0x50
dec qword [rsp + 0x58]
mov qword [rsp + 0x60], r8
mov rcx, 0xffffffffffffffff
jne 0x140046b31
mov edx, dword [rsp + 0x50]
jmp 0x140046bd7
mov rdi, qword [rsp + 0x48]
test dl, 1
je 0x140046bfa
movsxd rax, edx
mov r8d, esi
mov rcx, rbx
lea rdx, [rax + rax*4]
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax + rdx*8 - 0x20]
call fcn.140047474
jmp 0x140046c11
and dword [rsp + 0x20], 0
xor r8d, r8d
mov r9d, esi
lea edx, [r8 + 0x49]
mov rcx, rdi
call fcn.140031f40
mov rax, qword [rbp - 0x80]
test rax, rax
je 0x140046c27
mov rcx, qword [rsp + 0x70]
mov rdx, rax
call fcn.140043584
mov edx, dword [rsp + 0x40]
mov rcx, rdi
jmp 0x140047050
test dword [rsi + 4], 0x1000
je 0x140046c45
mov rsi, qword [rsi + 0x10]
test rsi, rsi
jne 0x140046c33
mov rax, qword [rsi + 8]
mov edx, Ordinal_73
cmp byte [rax + 4], r9b
sete r8b
jmp 0x1400463b3
mov rcx, qword [rsi + 0x38]
movsx rax, word [rsi + 0x2e]
shl rax, 5
add rax, qword [rcx + 0x20]
cmp byte [rcx], r9b
jne 0x140046c79
mov eax, dword [rax + 0x14]
jmp 0x1400472b8
cmp byte [rcx + 1], r9b
je 0x140046cc5
mov r9d, dword [rax + 0x10]
mov r8d, dword [rcx + 8]
mov dword [rsp + 0x20], r10d
mov edx, 0x5a
jmp 0x1400463bb
mov rdx, qword [rsi + 0x38]
test rdx, rdx
jne 0x140046caf
mov r8, qword [rsi + 8]
lea rdx, str.misuse_of_aggregate:__s__
jmp 0x1400472ad
movsx rax, word [rsi + 0x2e]
lea rcx, [rax + rax*2]
mov rax, qword [rdx + 0x30]
mov eax, dword [rax + rcx*8 + 0x10]
jmp 0x1400472b8
test byte [rsi + 4], 8
mov r8d, dword [rsi + 0x28]
je 0x140046d7e
mov rdx, qword [rsi + 0x10]
mov r8d, r10d
mov rcx, rbx
call fcn.140046248
xor ecx, ecx
mov edi, eax
movsx rax, word [rsi + 0x2c]
test eax, eax
js 0x140046d08
mov rcx, qword [rsi + 0x40]
mov r8, rax
mov rdx, qword [rcx + 8]
shl r8, 5
xor ecx, ecx
movsx eax, byte [r8 + rdx + 0x19]
jmp 0x140046d0d
mov eax, Ordinal_69
movsx esi, al
cmp esi, 0x41
jle 0x140046d77
mov ebx, dword [rbp + 0x68]
cmp edi, ebx
je 0x140046d37
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x48]
mov r9d, ebx
mov r8d, edi
mov edx, reloc.WLDAP32.dll_Ordinal_79
call fcn.140031f40
mov edi, ebx
mov rcx, qword [rsp + 0x48]
and dword [rsp + 0x20], 0
mov r9d, 1
lea edx, [r9 + 0x5a]
mov r8d, edi
call fcn.140031f40
lea ecx, [rsi*2 - 0x84]
or r9, 0xffffffffffffffff
movsxd r8, ecx
lea rcx, str.BCDE
mov edx, eax
add r8, rcx
mov rcx, qword [rsp + 0x48]
call fcn.14003280c
mov eax, edi
jmp 0x1400472b8
test r8d, r8d
jns 0x140046de2
mov r9d, dword [rbx + 0x40]
xor edi, edi
test r9d, r9d
jns 0x140046dde
movzx r8d, word [rsi + 0x2c]
test r8w, r8w
js 0x140046dd2
mov rax, qword [rsi + 0x40]
movsx rdx, r8w
mov rcx, qword [rax + 8]
shl rdx, 5
cmp byte [rdx + rcx + 0x19], 0x45
jne 0x140046dd2
movsx r8d, r8w
lea edx, [rdi + 0x4f]
mov rcx, r11
sub r8d, r9d
mov r9d, r10d
mov dword [rsp + 0x20], edi
call fcn.140031f40
mov dword [rsp + 0x20], edi
jmp 0x140046429
movsx eax, r8w
sub eax, r9d
jmp 0x1400472b8
lea r8d, [r9 - 1]
movsx r9d, word [rsi + 0x2c]
mov rdx, qword [rsi + 0x40]
mov bl, byte [rsi + 0x32]
mov rcx, r11
mov dword [rsp + 0x20], r10d
call fcn.1400460b0
test bl, bl
je 0x1400472b5
mov r8, qword [rsp + 0x48]
movsxd rax, dword [r8 + 0x90]
test eax, eax
jle 0x1400472b5
lea rcx, [rax + rax*2]
mov rax, qword [r8 + 0x88]
movzx edx, bl
mov word [rax + rcx*8 - 0x16], dx
jmp 0x1400472b5
movsx r8d, word [rsi + 0x2c]
mov dword [rsp + 0x20], r9d
mov edx, Ordinal_79
mov r9d, r10d
mov rcx, r11
call fcn.140031f40
mov rax, qword [rsi + 8]
xor r9d, r9d
cmp byte [rax + 1], r9b
je 0x1400472b5
mov rdx, qword [rbx + 0x118]
test rdx, rdx
jne 0x140046e6b
mov rax, r9
jmp 0x140046e93
movsx r8d, word [rsi + 0x2c]
mov eax, 2
movsxd rcx, eax
cmp dword [rdx + rcx*4], r8d
je 0x140046e89
add eax, dword [rdx + rcx*4 + 4]
cmp eax, dword [rdx + 4]
jl 0x140046e75
jmp 0x140046e66
add eax, 2
movsxd rcx, eax
lea rax, [rdx + rcx*4]
mov rcx, qword [rsp + 0x48]
mov dword [rdx], r9d
or r8, 0xffffffffffffffff
mov rdx, rax
call fcn.140032894
jmp 0x1400472b5
mov rdx, rsi
jmp 0x1400468a8
mov rcx, qword [rsi + 8]
add rcx, rdx
jne 0x140046ec2
mov eax, r9d
jmp 0x140046ed4
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r9b
jne 0x140046ec6
and eax, 0x3fffffff
lea ebx, [rax - 1]
mov rdx, rcx
mov rcx, qword [r11]
mov r8d, ebx
call fcn.140019b48
mov r9d, dword [rbp + 0x68]
mov rcx, qword [rsp + 0x48]
mov rdi, rax
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
xor eax, eax
lea edx, [rax + 0x4b]
mov dword [rsp + 0x20], eax
call fcn.140031f40
mov r9d, 0xfffffff9
mov r8, rdi
jmp 0x1400464a1
test dword [rsi + 4], 0x1000000
mov rcx, qword [rbx]
mov dword [rbp + 0x50], r9d
mov r8b, byte [rcx + 0x5e]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x60], r9
mov byte [rbp + 0x60], r8b
je 0x140046f45
mov rax, qword [rsi + 0x40]
mov eax, dword [rax + 0x60]
jmp 0x1400472b8
cmp byte [rbx + 0x23], r9b
je 0x140046f7a
xor r8d, r8d
mov rcx, rsi
call fcn.140044598
xor r9d, r9d
test eax, eax
je 0x140046f71
or r8, 0xffffffffffffffff
mov rdx, rsi
mov rcx, rbx
call fcn.1400472cc
jmp 0x1400472b8
mov rcx, qword [rsp + 0x68]
mov r8b, byte [rbp + 0x60]
test dword [rsi + 4], 0x4000
je 0x14004705a
mov qword [rsp + 0x58], r9
mov edi, r9d
mov dword [rsp + 0x40], r9d
mov rax, qword [rsi + 8]
mov byte [rsp + 0x20], r9b
mov r9b, r8b
mov rdx, rax
mov r8d, edi
mov qword [rsp + 0x78], rax
call fcn.140053d5c
xor r8d, r8d
mov r10, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400472a1
cmp qword [rax + 0x20], r8
jne 0x1400472a1
test dword [rax + 4], 0x200
je 0x140047077
mov rsi, qword [rsp + 0x58]
mov edi, dword [rbp + 0x68]
or rcx, 0xffffffffffffffff
add dword [rbx + 0x44], ecx
mov eax, dword [rbx + 0x44]
mov rdx, qword [rsi + 8]
mov r8d, edi
mov rcx, rbx
mov dword [rbp + 0x60], eax
call fcn.140047474
mov r8d, dword [rsp + 0x40]
cmp r8d, 1
jle 0x140047048
lea ecx, [r8 - 1]
add rsi, 0x30
mov qword [rbp + 0x50], rcx
mov r9d, dword [rbp + 0x60]
mov rcx, qword [rsp + 0x48]
xor eax, eax
lea edx, [rax + 0x33]
mov r8d, edi
mov dword [rsp + 0x20], eax
call fcn.140031f40
mov rdx, qword [rsi]
mov r8d, edi
mov rcx, rbx
call fcn.140047474
dec qword [rbp + 0x50]
lea rsi, [rsi + 0x28]
jne 0x140047016
mov edx, dword [rbp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.14003233c
jmp 0x1400472b5
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140046f8c
mov edi, dword [rax]
mov dword [rsp + 0x40], edi
jmp 0x140046f94
test dword [rax + 4], 0x400
je 0x14004709a
mov rax, qword [rsp + 0x58]
mov r8d, dword [rbp + 0x68]
mov rcx, rbx
mov rdx, qword [rax + 8]
call fcn.140046248
jmp 0x1400472b8
mov ecx, r8d
mov dword [rbp + 0x60], ecx
test edi, edi
jle 0x140047117
mov rsi, qword [rsp + 0x58]
add rsi, 8
cmp ecx, 0x20
jge 0x1400470d9
mov rcx, qword [rsi]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.140044598
mov ecx, dword [rbp + 0x60]
mov r10, qword [rsp + 0x50]
xor r8d, r8d
test eax, eax
je 0x1400470d9
lea eax, [r8 + 1]
shl eax, cl
or dword [rbp + 0x50], eax
test byte [r10 + 4], 0x20
je 0x1400470ff
cmp qword [rsp + 0x60], r8
jne 0x1400470ff
mov rdx, qword [rsi]
mov rcx, rbx
call fcn.140042864
mov r10, qword [rsp + 0x50]
mov ecx, dword [rbp + 0x60]
mov qword [rsp + 0x60], rax
inc ecx
add rsi, 0x28
mov r8d, 0
mov dword [rbp + 0x60], ecx
cmp ecx, edi
jl 0x1400470ad
mov rsi, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140047188
cmp dword [rbp + 0x50], r8d
je 0x140047139
mov eax, dword [rbx + 0x38]
lea r8d, [rax + 1]
add eax, edi
mov dword [rbp + 0x60], r8d
mov dword [rbx + 0x38], eax
jmp 0x14004714e
mov edx, edi
mov rcx, rbx
call fcn.140048c2c
mov rdx, qword [rsp + 0x58]
mov r8d, eax
mov dword [rbp + 0x60], eax
test byte [r10 + 4], 0xc0
je 0x14004716e
mov r9, qword [rdx + 8]
mov cl, byte [r9]
add cl, 0x5e
test cl, 0xfd
jne 0x14004716e
mov al, byte [r10 + 4]
and al, 0xc0
mov byte [r9 + 0x32], al
xor r9d, r9d
mov rcx, rbx
mov byte [rsp + 0x20], 3
call fcn.1400475a0
mov rdx, qword [rsp + 0x58]
xor r8d, r8d
jmp 0x14004718c
mov dword [rbp + 0x60], r8d
mov eax, 2
cmp edi, eax
jl 0x1400471c0
lea ecx, [rax + 0x7e]
test byte [rsi + 4], cl
je 0x1400471c0
mov r9, qword [rdx + 0x30]
mov rsi, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x50]
mov r8d, edi
mov rcx, rsi
call fcn.14006f214
xor r8d, r8d
mov qword [rsp + 0x50], rax
jmp 0x1400471d4
mov rsi, qword [rsp + 0x68]
test edi, edi
jle 0x1400471cf
mov r9, qword [rdx + 8]
jmp 0x1400471a6
mov rax, qword [rsp + 0x50]
test byte [rax + 4], 0x20
je 0x14004721c
mov rdi, qword [rsp + 0x60]
test rdi, rdi
jne 0x1400471eb
mov rax, qword [rsi + 0x10]
mov rdi, rax
mov rsi, qword [rsp + 0x48]
xor r9d, r9d
mov dword [rsp + 0x20], r8d
lea edx, [r9 + 0x52]
mov rcx, rsi
xor r8d, r8d
call fcn.140031f40
mov r9d, 0xfffffffe
mov r8, rdi
mov edx, eax
mov rcx, rsi
call fcn.14003280c
jmp 0x140047221
mov rsi, qword [rsp + 0x48]
mov eax, dword [rbx + 0x40]
mov edi, dword [rbp + 0x68]
mov r9d, dword [rbp + 0x60]
mov r8d, dword [rbp + 0x50]
neg eax
mov rcx, rsi
sbb edx, edx
mov dword [rsp + 0x20], edi
add edx, 0x3f
call fcn.140031f40
mov r8, qword [rsp + 0x50]
mov r9d, 0xfffffff8
mov edx, eax
mov rcx, rsi
call fcn.14003280c
movsxd rax, dword [rsi + 0x90]
mov r8d, dword [rsp + 0x40]
xor r9d, r9d
test eax, eax
jle 0x14004727e
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
movzx edx, r8b
mov word [rax + rcx*8 - 0x16], dx
test r8d, r8d
je 0x140046d77
cmp dword [rbp + 0x50], r9d
jne 0x140046d77
mov edx, dword [rbp + 0x60]
mov rcx, rbx
call fcn.140048c80
jmp 0x140046d77
mov r8, qword [rsp + 0x78]
lea rdx, str.unknown_function:__s__
mov rcx, rbx
call fcn.140018e94
mov eax, dword [rbp + 0x68]
mov rbx, qword [rsp + 0x158]
add rsp, reloc.WLDAP32.dll_Ordinal_304
pop rdi
pop rsi
pop rbp
ret