Function at 0x140045650
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov r11, qword [rcx + 0x10]
xor r9d, r9d
mov r10d, r8d
mov dword [rbp + 0x78], r8d
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x48], r11
mov dword [rbp + 0x70], r9d
mov dword [rsp + 0x40], r9d
mov r8d, r9d
mov dword [rsp + 0x50], r9d
test r11, r11
jne 0x1400456a0
xor eax, eax
jmp 0x1400466ba
mov ecx, 0x94
mov edx, 2
mov edi, 0x75
test rsi, rsi
je 0x1400456b7
movzx edi, byte [rsi]
cmp edi, ecx
jg 0x140045758
je 0x140045b38
mov eax, 0x86
cmp edi, 0x39
jle 0x1400458da
cmp edi, 0x47
je 0x140045846
cmp edi, 0x4d
je 0x1400457d7
cmp edi, 0x62
jle 0x140045d55
cmp edi, 0x6c
jle 0x140045915
cmp edi, 0x6d
je 0x1400457a4
cmp edi, 0x6e
je 0x1400459d2
cmp edi, 0x71
je 0x1400457c3
cmp edi, 0x75
je 0x1400457b1
cmp edi, eax
jne 0x140045d55
cmp edi, eax
jne 0x1400459c2
mov rax, qword [rsi + 0x20]
mov rcx, qword [rax]
cmp dword [rcx], 1
je 0x1400459c2
mov r8d, dword [rcx]
lea rdx, str.sub_select_returns__d_columns___expected__d
mov r9d, 1
mov rcx, rbx
call fcn.140018bd4
jmp 0x1400466b7
cmp edi, 0xa7
jle 0x140045d08
sub edi, 0xa8
je 0x140045c9c
dec edi
je 0x1400457a4
dec edi
je 0x140045c29
dec edi
je 0x140045c21
dec edi
je 0x140045c0d
dec edi
je 0x140045bbb
dec edi
je 0x140045b4c
cmp edi, edx
jne 0x140045d55
mov rsi, qword [rsi + 0x10]
mov qword [rbp + 0x68], rsi
jmp 0x1400456aa
mov edx, reloc.WLDAP32.dll_Ordinal_73
mov dword [rsp + 0x20], r9d
mov r9d, r10d
mov rcx, r11
jmp 0x14004583c
mov r8, qword [rsi + 8]
mov edx, r10d
mov rcx, r11
call fcn.1400313cc
jmp 0x1400466b7
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.140031350
xor edx, edx
cmp word [rsi + 0x2c], dx
jl 0x1400466b7
movsx rcx, word [rsi + 0x2c]
mov rax, qword [rbx + 8]
shl rcx, 5
cmp byte [rcx + rax + 0x19], 0x45
jne 0x1400466b7
mov dword [rsp + 0x20], edx
mov r8d, dword [rbp + 0x78]
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
lea edx, [r9 + 0x54]
call fcn.140031350
jmp 0x1400466b7
cmp qword [rbx + 0x98], r9
jne 0x140045863
lea rdx, str.RAISE___may_only_be_used_within_a_trigger_program
mov rcx, rbx
call fcn.140018bd4
jmp 0x140045699
cmp byte [rsi + 1], dl
jne 0x14004587d
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 0x1400458b5
mov rbx, qword [rsi + 8]
mov dword [rsp + 0x20], r9d
mov r9d, 4
lea edx, [r9 + 0x41]
mov rcx, r11
call fcn.140031350
xor r9d, r9d
mov r8, rbx
mov rcx, qword [rsp + 0x48]
mov edx, eax
call fcn.140031c10
jmp 0x1400466b7
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.1400520ac
jmp 0x1400466b7
cmp edi, 0x34
jge 0x140045f70
cmp edi, 0x2d
jg 0x1400459ff
je 0x140045f5b
cmp edi, 0x13
je 0x1400459d2
cmp edi, 0x14
je 0x140045723
cmp edi, 0x24
je 0x14004595d
lea eax, [rdi - 0x2b]
cmp eax, 1
ja 0x140045d55
mov rdx, qword [rsi + 0x10]
lea r8, [rbp + 0x70]
mov rcx, rbx
call fcn.1400467a8
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rbp + 0x60]
lea r8, [rsp + 0x40]
mov ebx, eax
call fcn.1400467a8
mov edx, edi
mov r8d, dword [rbp + 0x78]
mov rcx, qword [rsp + 0x48]
mov r9d, ebx
mov dword [rsp + 0x20], r8d
mov r8d, eax
call fcn.140031350
mov rbx, qword [rbp + 0x60]
jmp 0x140045ff2
mov rdx, qword [rsi + 0x10]
mov r8d, r10d
mov rcx, rbx
call fcn.140045650
mov ebx, dword [rbp + 0x78]
mov rdi, qword [rsp + 0x48]
mov dword [rbp + 0x70], eax
cmp eax, ebx
je 0x140045996
and dword [rsp + 0x20], 0
mov r9d, ebx
mov r8d, eax
mov edx, reloc.WLDAP32.dll_Ordinal_79
mov rcx, rdi
call fcn.140031350
mov dword [rbp + 0x70], ebx
mov rcx, qword [rsi + 8]
xor edx, edx
call fcn.14004d978
and dword [rsp + 0x20], 0
mov r8d, ebx
mov edx, Ordinal_88
mov rcx, rdi
movsx r9d, al
call fcn.140031350
mov eax, dword [rbp + 0x70]
jmp 0x1400466ba
mov rdx, rsi
mov rcx, rbx
call fcn.1400448d8
jmp 0x1400466ba
mov rdx, qword [rsi + 0x10]
lea r8, [rbp + 0x70]
mov rcx, rbx
call fcn.1400467a8
mov r9d, dword [rbp + 0x78]
mov rcx, qword [rsp + 0x48]
and dword [rsp + 0x20], 0
mov r8d, eax
mov edx, edi
call fcn.140031350
jmp 0x140045ff2
cmp edi, 0x30
je 0x140045b20
cmp edi, 0x31
je 0x140045a95
lea eax, [rdi - 0x32]
cmp eax, 1
ja 0x140045d55
mov edx, Ordinal_73
mov dword [rsp + 0x20], r9d
mov rcx, r11
lea r8d, [rdx - 0x45]
mov r9d, r10d
call fcn.140031350
mov rdx, qword [rsi + 0x10]
lea r8, [rbp + 0x70]
mov rcx, rbx
call fcn.1400467a8
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.140031350
mov r9d, dword [rbp + 0x78]
lea edx, [rsi + 0x46]
xor r8d, r8d
mov rcx, rdi
mov ebx, eax
mov dword [rsp + 0x20], esi
call fcn.140031350
mov edx, ebx
mov rcx, rdi
call fcn.140031d00
mov r9, rax
mov eax, dword [rdi + 0x90]
mov dword [r9 + 8], eax
jmp 0x140045954
mov ebx, dword [rbx + 0x44]
mov rax, qword [rbp + 0x60]
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.140031350
mov rcx, qword [rbp + 0x60]
lea r8d, [rbx - 1]
mov r9d, edi
mov rdx, rsi
call fcn.140044bec
mov esi, dword [rbp + 0x78]
mov rcx, qword [rsp + 0x48]
and dword [rsp + 0x20], 0
mov edx, Ordinal_73
mov r9d, esi
lea r8d, [rdx - 0x45]
call fcn.140031350
lea edx, [rbx - 1]
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.14003174c
and dword [rsp + 0x20], 0
xor r9d, r9d
lea edx, [r9 + 0x53]
mov r8d, esi
mov rcx, rbx
call fcn.140031350
mov edx, edi
mov rcx, rbx
call fcn.14003174c
mov eax, esi
jmp 0x1400466ba
mov r8d, r10d
mov rdx, rsi
mov rcx, rbx
mov dword [rsp + 0x20], r9d
call fcn.140046b08
jmp 0x1400466b7
mov rdx, qword [rsi + 8]
mov r9d, r10d
mov rcx, r11
call fcn.140045308
jmp 0x1400466b7
mov r8d, dword [rsi + 0x28]
mov dil, byte [rbx + 0x23]
mov edx, SQLAllocHandle
mov rcx, r11
mov dword [rsp + 0x20], r9d
call fcn.140031350
mov r8d, dword [rbp + 0x78]
mov ebx, eax
mov rax, qword [rbp + 0x60]
mov byte [rax + 0x23], 0
mov rdx, qword [rsi + 0x10]
mov rcx, rax
call fcn.140045650
mov r9, qword [rsp + 0x48]
mov edx, ebx
mov dword [rbp + 0x78], eax
mov rax, qword [rbp + 0x60]
mov rcx, r9
mov byte [rax + 0x23], dil
call fcn.140031d00
mov ecx, dword [r9 + 0x90]
mov dword [rax + 8], ecx
mov rcx, r9
mov edx, ebx
call fcn.140031d00
mov r8d, dword [rbp + 0x78]
mov dword [rax + 0xc], r8d
jmp 0x1400466b7
mov rdx, qword [rsi + 0x10]
cmp dword [rdx + 0x28], r9d
jne 0x140045bd4
mov rcx, rbx
call fcn.1400448d8
mov rcx, qword [rsi + 0x10]
mov dword [rcx + 0x28], eax
mov r8d, dword [rsi + 0x28]
test r8d, r8d
je 0x140045bfd
mov rcx, qword [rsi + 0x10]
call fcn.140041fec
cmp r8d, eax
je 0x140045bfd
lea rdx, str._d_columns_assigned__d_values
mov r9d, eax
mov rcx, rbx
call fcn.140018bd4
mov rcx, qword [rsi + 0x10]
movsx eax, word [rsi + 0x2c]
add eax, dword [rcx + 0x28]
jmp 0x1400466ba
lea rdx, str.row_value_misused
mov rcx, rbx
call fcn.140018bd4
jmp 0x1400466b7
mov eax, dword [rsi + 0x28]
jmp 0x1400466ba
mov rdx, qword [rsi + 0x10]
lea r8, [rbp + 0x70]
mov rcx, rbx
call fcn.1400467a8
xor r8d, r8d
mov r10d, eax
mov rax, qword [rsi + 0x18]
jmp 0x140045c52
test dword [rax + 4], 0x1000
je 0x140045c57
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140045c45
mov rax, qword [rax + 8]
mov r9d, dword [rbp + 0x78]
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.140031668
jmp 0x140045ff2
mov rdx, qword [rsi + 0x10]
cmp byte [rdx], 0x96
jne 0x140045cbb
mov r8d, 1
mov r9d, r10d
mov rcx, rbx
call fcn.14004539c
jmp 0x1400466b7
cmp byte [rdx], cl
jne 0x140045cce
mov rdx, qword [rdx + 8]
mov r8d, 1
jmp 0x140045b3c
lea r8, [rbp + 0x70]
lea rdx, [rbp - 0x20]
mov rcx, rbx
mov byte [rbp - 0x20], 0x96
mov qword [rbp - 0x1c], 0x4400
call fcn.1400467a8
mov rdx, qword [rsi + 0x10]
mov rcx, qword [rbp + 0x60]
lea r8, [rsp + 0x40]
mov ebx, eax
call fcn.1400467a8
mov edx, 0x68
jmp 0x14004593b
je 0x14004631a
mov ecx, edi
sub ecx, 0x95
je 0x1400462b7
dec ecx
je 0x1400462af
dec ecx
je 0x140046232
sub ecx, 0xb
je 0x1400460c8
dec ecx
je 0x140046099
dec ecx
je 0x14004605e
dec ecx
je 0x140046043
dec ecx
je 0x140045f5b
mov rcx, qword [rsi + 0x20]
mov rax, qword [rbx]
mov r11, r9
mov edx, dword [rcx]
lea r8, [rcx + 8]
mov qword [rsp + 0x70], 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 + 0x78], rax
mov qword [rsp + 0x60], r8
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x50], r9d
mov qword [rbp - 0x78], r10
test r10, r10
je 0x140045e3a
xor r9d, r9d
xor r8d, r8d
mov rdx, r10
mov rcx, rax
call fcn.140042b40
mov rdi, rax
mov qword [rbp - 0x80], rax
mov rax, qword [rsp + 0x78]
cmp byte [rax + 0x61], sil
je 0x140045de0
test rdi, rdi
je 0x1400466b7
mov rdx, rdi
mov rcx, rax
call fcn.14004297c
jmp 0x1400466b7
lea r8, [rbp + 0x70]
mov rdx, rdi
mov rcx, rbx
call fcn.1400455ac
mov rcx, rdi
mov edx, eax
call fcn.140041c30
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.1400c6610
mov edx, dword [rsp + 0x40]
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 + 0x78]
lea eax, [rdx - 1]
cdqe
test rax, rax
jle 0x140045efa
dec rax
shr rax, 1
inc rax
mov qword [rsp + 0x58], rax
test r10, r10
je 0x140045e67
mov rax, qword [r8]
mov qword [rbp - 0x58], rax
jmp 0x140045e6f
mov r11, qword [r8]
mov qword [rsp + 0x68], r11
add dword [rbx + 0x44], ecx
mov ebx, dword [rbx + 0x44]
mov rcx, qword [rbp + 0x60]
mov r8d, ebx
mov r9d, 0x10
mov rdx, r11
call fcn.140046fc8
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rdx + 0x28]
mov r8d, esi
call fcn.140046870
mov rdi, qword [rsp + 0x48]
mov r9d, dword [rsp + 0x50]
and dword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 0xb]
call fcn.140031350
mov edx, ebx
mov rcx, rdi
call fcn.14003174c
mov r8, qword [rsp + 0x60]
mov rbx, qword [rbp + 0x60]
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 0x140045e59
mov edx, dword [rsp + 0x40]
jmp 0x140045eff
mov rdi, qword [rsp + 0x48]
test dl, 1
je 0x140045f22
movsxd rax, edx
mov r8d, esi
mov rcx, rbx
lea rdx, [rax + rax*4]
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + rdx*8 - 0x20]
call fcn.140046870
jmp 0x140045f39
and dword [rsp + 0x20], 0
xor r8d, r8d
mov r9d, esi
lea edx, [r8 + 0x49]
mov rcx, rdi
call fcn.140031350
mov rax, qword [rbp - 0x80]
test rax, rax
je 0x140045f4f
mov rcx, qword [rsp + 0x78]
mov rdx, rax
call fcn.14004297c
mov edx, dword [rsp + 0x50]
mov rcx, rdi
jmp 0x140046453
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.140041fec
mov rcx, rbx
cmp eax, 1
jle 0x140045fa1
mov byte [rsp + 0x20], r8b
mov r9b, dil
mov rdx, rsi
mov r8d, r10d
call fcn.140042178
jmp 0x1400466b7
lea r8, [rbp + 0x70]
call fcn.1400467a8
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rbp + 0x60]
lea r8, [rsp + 0x40]
mov ebx, eax
call fcn.1400467a8
mov ecx, dword [rsp + 0x50]
mov r8d, dword [rbp + 0x78]
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 + 0x60]
mov rcx, rbx
call fcn.140041f2c
mov ecx, dword [rbp + 0x70]
test ecx, ecx
je 0x14004600d
cmp byte [rbx + 0x1f], 8
jae 0x14004600d
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 0x1400466b7
cmp byte [rbx + 0x1f], 8
jae 0x1400466b7
movzx eax, byte [rbx + 0x1f]
mov dword [rbx + rax*4 + 0xbc], ecx
inc byte [rbx + 0x1f]
jmp 0x1400466b7
test dword [rsi + 4], 0x1000
je 0x140046048
mov rsi, qword [rsi + 0x10]
test rsi, rsi
jne 0x140046036
mov rax, qword [rsi + 8]
mov edx, Ordinal_73
cmp byte [rax + 4], r9b
sete r8b
jmp 0x1400457b6
mov rcx, qword [rsi + 0x38]
movsx rax, word [rsi + 0x2e]
shl rax, 5
add rax, qword [rcx + 0x20]
cmp byte [rcx], r9b
jne 0x14004607c
mov eax, dword [rax + 0x14]
jmp 0x1400466ba
cmp byte [rcx + 1], r9b
je 0x1400460c8
mov r9d, dword [rax + 0x10]
mov r8d, dword [rcx + 8]
mov dword [rsp + 0x20], r10d
mov edx, 0x5a
jmp 0x1400457be
mov rdx, qword [rsi + 0x38]
test rdx, rdx
jne 0x1400460b2
mov r8, qword [rsi + 8]
lea rdx, str.misuse_of_aggregate:__s__
jmp 0x1400466af
movsx rax, word [rsi + 0x2e]
lea rcx, [rax + rax*2]
mov rax, qword [rdx + 0x30]
mov eax, dword [rax + rcx*8 + 0x10]
jmp 0x1400466ba
test byte [rsi + 4], 8
mov r8d, dword [rsi + 0x28]
je 0x140046181
mov rdx, qword [rsi + 0x10]
mov r8d, r10d
mov rcx, rbx
call fcn.140045650
xor ecx, ecx
mov edi, eax
movsx rax, word [rsi + 0x2c]
test eax, eax
js 0x14004610b
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 0x140046110
mov eax, Ordinal_69
movsx esi, al
cmp esi, 0x41
jle 0x14004617a
mov ebx, dword [rbp + 0x78]
cmp edi, ebx
je 0x14004613a
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.140031350
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.140031350
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.140031c10
mov eax, edi
jmp 0x1400466ba
test r8d, r8d
jns 0x1400461e5
mov r9d, dword [rbx + 0x40]
xor edi, edi
test r9d, r9d
jns 0x1400461e1
movzx r8d, word [rsi + 0x2c]
test r8w, r8w
js 0x1400461d5
mov rax, qword [rsi + 0x40]
movsx rdx, r8w
mov rcx, qword [rax + 8]
shl rdx, 5
cmp byte [rdx + rcx + 0x19], 0x45
jne 0x1400461d5
movsx r8d, r8w
lea edx, [rdi + 0x4f]
mov rcx, r11
sub r8d, r9d
mov r9d, r10d
mov dword [rsp + 0x20], edi
call fcn.140031350
mov dword [rsp + 0x20], edi
jmp 0x14004582c
movsx eax, r8w
sub eax, r9d
jmp 0x1400466ba
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.1400454b8
test bl, bl
je 0x1400466b7
mov r8, qword [rsp + 0x48]
movsxd rax, dword [r8 + 0x90]
test eax, eax
jle 0x1400466b7
lea rcx, [rax + rax*2]
mov rax, qword [r8 + 0x88]
movzx edx, bl
mov word [rax + rcx*8 - 0x16], dx
jmp 0x1400466b7
movsx r8d, word [rsi + 0x2c]
mov dword [rsp + 0x20], r9d
mov edx, Ordinal_79
mov r9d, r10d
mov rcx, r11
call fcn.140031350
mov rax, qword [rsi + 8]
xor r9d, r9d
cmp byte [rax + 1], r9b
je 0x1400466b7
mov rdx, qword [rbx + 0x118]
test rdx, rdx
jne 0x14004626e
mov rax, r9
jmp 0x140046296
movsx r8d, word [rsi + 0x2c]
mov eax, 2
movsxd rcx, eax
cmp dword [rdx + rcx*4], r8d
je 0x14004628c
add eax, dword [rdx + rcx*4 + 4]
cmp eax, dword [rdx + 4]
jl 0x140046278
jmp 0x140046269
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.140031c98
jmp 0x1400466b7
mov rdx, rsi
jmp 0x140045cab
mov rcx, qword [rsi + 8]
add rcx, rdx
jne 0x1400462c5
mov eax, r9d
jmp 0x1400462d7
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r9b
jne 0x1400462c9
and eax, 0x3fffffff
lea ebx, [rax - 1]
mov rdx, rcx
mov rcx, qword [r11]
mov r8d, ebx
call fcn.1400198a8
mov r9d, dword [rbp + 0x78]
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.140031350
mov r9d, 0xfffffff9
mov r8, rdi
jmp 0x1400458a4
test dword [rsi + 4], 0x1000000
mov rcx, qword [rbx]
mov dword [rbp + 0x60], r9d
mov r8b, byte [rcx + 0x5e]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x60], r9
mov byte [rbp + 0x70], r8b
je 0x140046348
mov rax, qword [rsi + 0x40]
mov eax, dword [rax + 0x60]
jmp 0x1400466ba
cmp byte [rbx + 0x23], r9b
je 0x14004637d
xor r8d, r8d
mov rcx, rsi
call fcn.140043990
xor r9d, r9d
test eax, eax
je 0x140046374
or r8, 0xffffffffffffffff
mov rdx, rsi
mov rcx, rbx
call fcn.1400466c8
jmp 0x1400466ba
mov rcx, qword [rsp + 0x68]
mov r8b, byte [rbp + 0x70]
test dword [rsi + 4], 0x4000
je 0x14004645d
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 + 0x70], rax
call fcn.140052d5c
xor r8d, r8d
mov r10, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400466a3
cmp qword [rax + 0x20], r8
jne 0x1400466a3
test dword [rax + 4], 0x200
je 0x14004647a
mov rsi, qword [rsp + 0x58]
mov edi, dword [rbp + 0x78]
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 + 0x70], eax
call fcn.140046870
mov r8d, dword [rsp + 0x40]
cmp r8d, 1
jle 0x14004644b
lea ecx, [r8 - 1]
add rsi, 0x30
mov qword [rbp + 0x60], rcx
mov r9d, dword [rbp + 0x70]
mov rcx, qword [rsp + 0x48]
xor eax, eax
lea edx, [rax + 0x33]
mov r8d, edi
mov dword [rsp + 0x20], eax
call fcn.140031350
mov rdx, qword [rsi]
mov r8d, edi
mov rcx, rbx
call fcn.140046870
dec qword [rbp + 0x60]
lea rsi, [rsi + 0x28]
jne 0x140046419
mov edx, dword [rbp + 0x70]
mov rcx, qword [rsp + 0x48]
call fcn.14003174c
jmp 0x1400466b7
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14004638f
mov edi, dword [rax]
mov dword [rsp + 0x40], edi
jmp 0x140046397
test dword [rax + 4], 0x400
je 0x14004649d
mov rax, qword [rsp + 0x58]
mov r8d, dword [rbp + 0x78]
mov rcx, rbx
mov rdx, qword [rax + 8]
call fcn.140045650
jmp 0x1400466ba
mov ecx, r8d
mov dword [rbp + 0x70], ecx
test edi, edi
jle 0x140046519
mov rsi, qword [rsp + 0x58]
add rsi, 8
cmp ecx, 0x20
jge 0x1400464dc
mov rcx, qword [rsi]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.140043990
mov ecx, dword [rbp + 0x70]
mov r10, qword [rsp + 0x50]
xor r8d, r8d
test eax, eax
je 0x1400464dc
lea eax, [r8 + 1]
shl eax, cl
or dword [rbp + 0x60], eax
test byte [r10 + 4], 0x20
je 0x140046502
cmp qword [rsp + 0x60], r8
jne 0x140046502
mov rdx, qword [rsi]
mov rcx, rbx
call fcn.140041c5c
mov r10, qword [rsp + 0x50]
mov ecx, dword [rbp + 0x70]
mov qword [rsp + 0x60], rax
inc ecx
add rsi, 0x28
mov r8d, 0
mov dword [rbp + 0x70], ecx
cmp ecx, edi
jl 0x1400464b0
mov rsi, qword [rbp + 0x68]
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14004658a
cmp dword [rbp + 0x60], r8d
je 0x14004653b
mov eax, dword [rbx + 0x38]
lea r8d, [rax + 1]
add eax, edi
mov dword [rbp + 0x70], r8d
mov dword [rbx + 0x38], eax
jmp 0x140046550
mov edx, edi
mov rcx, rbx
call fcn.14004801c
mov rdx, qword [rsp + 0x58]
mov r8d, eax
mov dword [rbp + 0x70], eax
test byte [r10 + 4], 0xc0
je 0x140046570
mov r9, qword [rdx + 8]
mov cl, byte [r9]
add cl, 0x5e
test cl, 0xfd
jne 0x140046570
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.14004699c
mov rdx, qword [rsp + 0x58]
xor r8d, r8d
jmp 0x14004658e
mov dword [rbp + 0x70], r8d
mov eax, 2
cmp edi, eax
jl 0x1400465c2
lea ecx, [rax + 0x7e]
test byte [rsi + 4], cl
je 0x1400465c2
mov r9, qword [rdx + 0x30]
mov rsi, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x50]
mov r8d, edi
mov rcx, rsi
call fcn.14006dfb4
xor r8d, r8d
mov qword [rsp + 0x50], rax
jmp 0x1400465d6
mov rsi, qword [rsp + 0x68]
test edi, edi
jle 0x1400465d1
mov r9, qword [rdx + 8]
jmp 0x1400465a8
mov rax, qword [rsp + 0x50]
test byte [rax + 4], 0x20
je 0x14004661e
mov rdi, qword [rsp + 0x60]
test rdi, rdi
jne 0x1400465ed
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.140031350
mov r9d, 0xfffffffe
mov r8, rdi
mov edx, eax
mov rcx, rsi
call fcn.140031c10
jmp 0x140046623
mov rsi, qword [rsp + 0x48]
mov eax, dword [rbx + 0x40]
mov edi, dword [rbp + 0x78]
mov r9d, dword [rbp + 0x70]
mov r8d, dword [rbp + 0x60]
neg eax
mov rcx, rsi
sbb edx, edx
mov dword [rsp + 0x20], edi
add edx, 0x3f
call fcn.140031350
mov r8, qword [rsp + 0x50]
mov r9d, 0xfffffff8
mov edx, eax
mov rcx, rsi
call fcn.140031c10
movsxd rax, dword [rsi + 0x90]
mov r8d, dword [rsp + 0x40]
xor r9d, r9d
test eax, eax
jle 0x140046680
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
movzx edx, r8b
mov word [rax + rcx*8 - 0x16], dx
test r8d, r8d
je 0x14004617a
cmp dword [rbp + 0x60], r9d
jne 0x14004617a
mov edx, dword [rbp + 0x70]
mov rcx, rbx
call fcn.140048070
jmp 0x14004617a
mov r8, qword [rsp + 0x70]
lea rdx, str.unknown_function:__s__
mov rcx, rbx
call fcn.140018bd4
mov eax, dword [rbp + 0x78]
add rsp, 0x138
pop rdi
pop rsi
pop rbx
pop rbp
ret