Function at 0x466180
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], ecx
xor eax, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov esi, edx
mov edi, dword [ebp + 0x14]
xor ebx, ebx
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x48], eax
mov dword [esp + 0x2c], eax
mov eax, 0xa4
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
mov dword [edi + 0x1c], 0xffffffff
test esi, esi
je 0x466276
test byte [ecx + 0x18], 6
je 0x4661e7
mov dword [esp + 0x24], ebx
jmp 0x466276
mov ecx, dword [edx + 0x14]
xor ebx, ebx
mov dword [esp + 0x40], ecx
test ecx, ecx
jle 0x46623b
mov ecx, dword [edx + 0x10]
mov eax, ecx
mov dword [esp + 0x44], ecx
nop dword [eax]
mov edx, dword [eax]
mov edi, esi
sub edi, edx
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x466315
test eax, eax
jne 0x466327
mov edx, dword [esp + 0x30]
mov eax, ebx
mov esi, dword [esp + 0x24]
add eax, eax
mov ecx, dword [edx + 0x10]
mov eax, dword [ecx + eax*8 + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], eax
mov edi, dword [ebp + 0x14]
cmp ebx, ecx
jne 0x466271
mov edx, str.main
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x46634e
test ecx, ecx
jne 0x466364
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], eax
xor ebx, ebx
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x54], ecx
test ecx, ecx
je 0x466558
xor edx, edx
lea eax, [ecx + 8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], eax
cmp dword [ecx], edx
jle 0x466534
nop word [eax + eax]
mov ebx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x44], ecx
test ebx, ebx
je 0x46639b
test dword [ebx + 4], 0x800
je 0x46639b
mov ebx, dword [ebx + 0x1c]
xor esi, esi
mov dword [esp + 0x40], 0
cmp dword [ebx], esi
jle 0x46638e
lea edi, [ebx + 4]
push dword [esp + 0x24]
mov edx, dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.00466030
add esp, 8
test eax, eax
je 0x46636a
mov eax, dword [esp + 0x1c]
inc dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], 2
mov word [eax + 0x20], si
mov eax, 1
mov dword [esp + 0x40], eax
jmp 0x46636e
movzx ecx, byte [eax + 0x509590]
movzx eax, byte [esi + 0x509590]
sub ecx, eax
jne 0x46632d
inc edx
jmp 0x466206
mov eax, dword [esp + 0x44]
inc ebx
mov ecx, dword [esp + 0x40]
add eax, 0x10
mov esi, dword [esp + 0x24]
mov dword [esp + 0x44], eax
cmp ebx, ecx
jge 0x466238
jmp 0x466200
movzx eax, byte [eax + 0x509590]
movzx ecx, byte [ecx + 0x509590]
sub ecx, eax
jne 0x466271
inc edx
jmp 0x466246
mov eax, dword [esp + 0x40]
inc esi
add edi, 0x14
cmp esi, dword [ebx]
jl 0x4662d7
mov edx, dword [esp + 0x28]
test eax, eax
mov eax, dword [esp + 0x1c]
jne 0x466515
mov ecx, dword [esp + 0x44]
mov esi, dword [ebp + 8]
test esi, esi
je 0x466515
jmp 0x46639e
mov esi, dword [ebp + 8]
cmp dword [esp + 0x24], 0
mov ebx, dword [esp + 0x14]
je 0x4663b6
mov edi, dword [esp + 0x2c]
cmp dword [ecx + 0x48], edi
jne 0x466515
test esi, esi
je 0x466423
mov edi, dword [eax + 0xc]
mov edx, edi
test edi, edi
jne 0x4663c5
mov edx, dword [ecx]
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [edx + esi]
cmp ecx, eax
jne 0x466404
test ecx, ecx
jne 0x46641a
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xcc], 2
jb 0x466423
test edi, edi
je 0x466423
mov eax, dword [eax + 0x114]
test eax, eax
je 0x466423
mov ecx, dword [ebp + 0x14]
add ecx, 0x2c
cmp dword [eax], ecx
je 0x46641d
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4663f7
jmp 0x466423
movzx eax, byte [eax + 0x509590]
movzx ecx, byte [ecx + 0x509590]
sub ecx, eax
jne 0x46650d
inc edx
jmp 0x4663c7
mov dword [eax], 0
inc dword [esp + 0x14]
test ebx, ebx
mov eax, dword [esp + 0x1c]
cmovne eax, dword [esp + 0x20]
mov esi, dword [ebp + 0xc]
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.004353c0
mov cl, al
xor edi, edi
mov eax, dword [esp + 0x44]
mov byte [esp + 0xf], cl
mov dword [esp + 0x40], edi
mov ebx, dword [eax + 4]
movsx eax, word [eax + 0x2a]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x46650d
cmp byte [ebx + 0xf], cl
jne 0x4664f1
mov edx, dword [ebx]
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [edx + esi]
cmp ecx, eax
jne 0x4665d3
test ecx, ecx
jne 0x4665e9
mov edx, dword [esp + 0x18]
cmp edx, 1
jne 0x46661d
mov eax, dword [esp + 0x1c]
test byte [eax + 0x24], 4
jne 0x4664e6
mov eax, dword [eax + 0x34]
test eax, eax
je 0x46661d
mov ecx, dword [eax + 4]
xor ebx, ebx
mov dword [esp + 0x50], ecx
test ecx, ecx
jle 0x46661d
mov edi, dword [eax]
mov esi, dword [ebp + 0xc]
mov edx, dword [edi]
sub esi, edx
movzx eax, byte [edx]
movzx ecx, byte [edx + esi]
cmp eax, ecx
jne 0x4665ef
test eax, eax
jne 0x466601
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov cl, byte [esp + 0xf]
mov esi, dword [ebp + 0xc]
inc edi
add ebx, 0x14
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], ebx
cmp edi, eax
jl 0x466467
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x20], ebx
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov edi, dword [ebp + 0x14]
mov ecx, dword [esp + 0x54]
inc edx
add eax, 0x48
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], eax
cmp edx, dword [ecx]
jl 0x4662a0
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x466558
mov eax, dword [ebx + 0x2c]
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x2c], eax
test byte [ebx + 0x24], 8
je 0x466551
or dword [edi + 4], 0x100000
mov eax, dword [eax + 0x48]
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x24], 0
mov ecx, dword [esp + 0x14]
jne 0x4668b9
mov eax, dword [ebp + 8]
test eax, eax
je 0x4668b9
test ecx, ecx
jne 0x4668b9
mov ecx, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
cmp dword [ecx + 0x78], ebx
je 0x4666cb
mov bl, byte [ecx + 0x94]
cmp bl, 0x7e
je 0x466684
mov edx, 0x514f18
mov esi, eax
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x466664
test ecx, ecx
jne 0x466676
mov ebx, dword [esp + 0x10]
mov dword [edi + 0x1c], 1
mov ebx, dword [ebx + 0x78]
mov dword [esp + 0x1c], ebx
jmp 0x4666c8
movzx eax, byte [eax + 0x509590]
movzx ecx, byte [ecx + 0x509590]
sub ecx, eax
jne 0x4664e6
inc edx
jmp 0x466474
movzx ecx, byte [ecx + 0x509590]
movzx eax, byte [eax + 0x509590]
sub eax, ecx
jne 0x466607
inc edx
jmp 0x4664c7
inc ebx
add edi, 8
cmp ebx, dword [esp + 0x50]
jl 0x4664c0
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
inc edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], edx
movsx eax, word [eax + 0x28]
cmp edi, eax
jne 0x46664d
mov edi, dword [ebp + 0x14]
or eax, 0xffffffff
mov edx, dword [esp + 0x28]
mov word [edi + 0x20], ax
mov eax, dword [esp + 0x1c]
jmp 0x466518
mov edx, dword [esp + 0x28]
movzx eax, di
mov edi, dword [ebp + 0x14]
mov word [edi + 0x20], ax
mov eax, dword [esp + 0x1c]
jmp 0x466518
movzx eax, byte [eax + 0x509590]
movzx ecx, byte [ecx + 0x509590]
sub ecx, eax
jne 0x46667c
inc edx
jmp 0x4665a5
cmp bl, 0x7d
je 0x4666c4
mov eax, dword [ebp + 8]
mov edx, 0x514f14
mov esi, eax
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4666af
test ecx, ecx
jne 0x4666c1
mov ebx, dword [esp + 0x10]
mov dword [edi + 0x1c], ecx
mov ebx, dword [ebx + 0x78]
mov dword [esp + 0x1c], ebx
jmp 0x4666c8
movzx eax, byte [eax + 0x509590]
movzx ecx, byte [ecx + 0x509590]
sub ecx, eax
jne 0x4666c4
inc edx
jmp 0x466690
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
test dword [ecx + 0x18], 0x200
je 0x466712
mov edi, dword [ecx + 8]
test edi, edi
je 0x466712
mov edx, str.excluded
mov esi, eax
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x466780
test ecx, ecx
jne 0x466792
mov eax, dword [edi + 0x14]
mov ebx, dword [eax + 0x18]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], ebx
mov dword [eax + 0x1c], 2
test ebx, ebx
je 0x4668c1
mov ecx, dword [ebp + 0xc]
call fcn.004353c0
mov edx, dword [esp + 0x1c]
xor esi, esi
mov ecx, dword [ebx + 0x48]
mov ebx, dword [ebx + 4]
mov byte [esp + 0xf], al
movsx edi, word [edx + 0x2a]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], 1
mov dword [esp + 0x4c], edi
test edi, edi
jle 0x4667c3
nop
cmp byte [ebx + 0xf], al
jne 0x4667b5
mov edi, dword [ebp + 0xc]
mov edx, dword [ebx]
sub edi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [edx + edi]
cmp ecx, eax
jne 0x466798
test ecx, ecx
jne 0x4667aa
mov edx, dword [esp + 0x1c]
movsx eax, word [edx + 0x28]
cmp esi, eax
jne 0x4667bf
or esi, 0xffffffff
jmp 0x4667f5
movzx eax, byte [eax + 0x509590]
movzx ecx, byte [ecx + 0x509590]
sub ecx, eax
jne 0x466712
inc edx
jmp 0x4666e7
movzx eax, byte [eax + 0x509590]
movzx ecx, byte [ecx + 0x509590]
sub ecx, eax
jne 0x4667ad
inc edx
jmp 0x466760
mov edi, dword [esp + 0x4c]
mov al, byte [esp + 0xf]
inc esi
add ebx, 0x14
cmp esi, edi
jl 0x466750
jmp 0x4667c7
mov edi, dword [esp + 0x4c]
cmp esi, edi
jl 0x4667f5
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.0046b050
test eax, eax
je 0x4668c4
mov edx, dword [esp + 0x1c]
test dword [edx + 0x24], 0x200
jne 0x4668c4
or esi, 0xffffffff
cmp esi, edi
jge 0x4668c1
mov ebx, dword [ebp + 0x14]
inc dword [esp + 0x18]
mov eax, dword [ebx + 0x1c]
cmp eax, 2
jne 0x466851
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp byte [eax + 0xcc], 2
jb 0x46682c
mov word [ebx + 0x20], si
mov esi, dword [ebp + 0xc]
mov dword [ebx + 0x2c], edx
mov dword [esp + 0x34], 0xa4
jmp 0x4668cb
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x34], 0xad
mov eax, dword [edx + 8]
mov eax, dword [eax + 0x18]
add eax, esi
or dword [ebx + 4], 0x400000
mov esi, dword [ebp + 0xc]
mov dword [ebx + 0x1c], eax
jmp 0x4668ce
test esi, esi
jns 0x46685b
mov byte [ebx + 1], 0x44
jmp 0x4668a5
test eax, eax
jne 0x466888
cmp esi, 0x20
jl 0x466873
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
or dword [ecx + 0x8c], eax
jmp 0x4668a5
mov ecx, esi
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x10]
or dword [ecx + 0x8c], eax
jmp 0x4668a5
cmp esi, 0x20
jl 0x466892
or eax, 0xffffffff
jmp 0x46689b
mov eax, 1
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x10]
or dword [ecx + 0x90], eax
mov word [ebx + 0x20], si
mov esi, dword [ebp + 0xc]
mov dword [ebx + 0x2c], edx
mov dword [esp + 0x34], 0x4d
jmp 0x4668c7
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
jmp 0x4668cb
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x46691a
cmp ecx, 1
jne 0x46691a
mov edi, dword [esp + 0x20]
test edi, edi
je 0x46691a
test byte [edx + 0x18], 0x28
jne 0x46691a
mov ecx, esi
call fcn.0046b050
test eax, eax
je 0x466916
mov eax, dword [edi + 0x10]
test dword [eax + 0x24], 0x200
jne 0x466916
mov eax, 1
mov byte [ebx + 1], 0x44
or ecx, 0xffffffff
mov dword [esp + 0x18], eax
mov word [ebx + 0x20], cx
jmp 0x46691a
mov eax, dword [esp + 0x18]
mov ebx, dword [ebp + 0x10]
test byte [ebx + 0x18], 0x80
je 0x4669b4
test eax, eax
jne 0x466b7d
mov edx, dword [ebp + 8]
test edx, edx
jne 0x4669bf
mov ecx, dword [ebx + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [ecx]
mov dword [esp + 0x54], eax
test eax, eax
jle 0x4669bc
lea edi, [ecx + 0x10]
test byte [edi], 3
mov ebx, dword [edi - 8]
jne 0x46698e
test ebx, ebx
jne 0x466966
mov ecx, esi
neg ecx
sbb ecx, ecx
jmp 0x46698a
test esi, esi
je 0x46698e
mov edx, ebx
sub esi, ebx
nop
movzx ecx, byte [edx]
movzx eax, byte [edx + esi]
cmp ecx, eax
jne 0x46699f
test ecx, ecx
jne 0x4669b1
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
mov esi, dword [ebp + 0xc]
test ecx, ecx
je 0x4669dd
inc edx
add edi, 0x14
mov dword [esp + 0x4c], edx
cmp edx, eax
jl 0x466952
mov ebx, dword [ebp + 0x10]
jmp 0x4669bc
movzx eax, byte [eax + 0x509590]
movzx ecx, byte [ecx + 0x509590]
sub ecx, eax
jne 0x46697f
inc edx
jmp 0x466970
test eax, eax
jne 0x466b7d
mov edx, dword [ebp + 8]
mov ebx, dword [ebx + 0xc]
inc dword [esp + 0x48]
mov dword [ebp + 0x10], ebx
test ebx, ebx
je 0x466acb
mov edi, dword [ebp + 0x14]
mov ebx, dword [esp + 0x20]
jmp 0x466273
mov edi, dword [ebp + 0x10]
lea eax, [edx + edx*4]
test byte [edi + 0x18], 1
mov esi, dword [edi + 8]
mov eax, dword [esi + eax*4 + 4]
jne 0x466a14
test byte [eax + 4], 0x10
je 0x466a14
push ebx
push str.misuse_of_aliased_aggregate__s
push dword [esp + 0x18]
call fcn.00435200
add esp, 0xc
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [eax + 4], 0x8000
je 0x466a34
test dword [edi + 0x18], 0x4000
je 0x466a2c
cmp edi, dword [esp + 0x38]
je 0x466a34
push ebx
push str.misuse_of_aliased_window_function__s
jmp 0x4669fc
mov cl, byte [eax]
cmp cl, 0xad
jne 0x466a3e
mov cl, byte [eax + 2]
cmp cl, 0xae
jne 0x466a48
mov eax, dword [eax + 0x14]
jmp 0x466a53
cmp cl, 0x88
jne 0x466a75
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
je 0x466a75
push str.row_value_misused
push dword [esp + 0x14]
call fcn.00435200
add esp, 8
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x48]
mov ebx, dword [ebp + 0x14]
push eax
push 0x50df2b
push ebx
push edx
mov edx, esi
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.00465e90
add esp, 0x10
cmp byte [esi + 0xcc], 2
jb 0x466cf2
mov eax, dword [esi + 0x114]
test eax, eax
je 0x466cf2
nop
cmp dword [eax], ebx
je 0x466ac0
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x466ab0
jmp 0x466cf2
mov dword [eax], 0
jmp 0x466cf2
test edx, edx
jne 0x466b89
mov edi, dword [ebp + 0x14]
mov ebx, dword [edi + 4]
test bl, 0x40
je 0x466b55
mov eax, dword [esp + 0x30]
cmp byte [eax + 0xa5], dl
jne 0x466b2f
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x38]
test dword [eax + 0x18], 0x10000
je 0x466b24
mov eax, ecx
and eax, 0x10000001
cmp eax, 1
jne 0x466b1c
mov eax, ecx
and eax, 0x40000000
or eax, edx
jne 0x466b2f
and ecx, 0x20000000
jmp 0x466b2a
and ecx, 0x40000000
or ecx, 0
je 0x466b55
push esi
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.00434780
add esp, 0xc
mov byte [edi], 0x73
mov dword [edi + 0x2c], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, 0x4000000
jne 0x466b89
mov ecx, dword [edi + 8]
call fcn.0046ab30
test eax, eax
je 0x466b86
or ebx, eax
mov byte [edi], 0xa7
mov dword [edi + 4], ebx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
je 0x466c15
mov edx, dword [ebp + 8]
mov edi, dword [esp + 0x18]
mov ecx, str.ambiguous_column_name
test edi, edi
mov eax, str.no_such_column
push esi
cmovne eax, ecx
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x466bca
push edx
push ecx
push eax
push str._s:__s._s._s
push dword [esp + 0x24]
call fcn.00435200
mov eax, dword [esp + 0x28]
add esp, 0x18
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x38]
inc dword [eax + 0x14]
jmp 0x466c19
test edx, edx
je 0x466bf2
push edx
push eax
push str._s:__s._s
push dword [esp + 0x20]
call fcn.00435200
mov eax, dword [esp + 0x24]
add esp, 0x14
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x38]
inc dword [eax + 0x14]
jmp 0x466c19
push eax
push str._s:__s
push dword [esp + 0x1c]
call fcn.00435200
mov eax, dword [esp + 0x20]
add esp, 0x10
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x38]
inc dword [eax + 0x14]
jmp 0x466c19
mov edi, dword [esp + 0x18]
mov ebx, dword [ebp + 0x14]
movzx eax, word [ebx + 0x20]
test ax, ax
js 0x466ca7
cmp dword [esp + 0x20], 0
je 0x466ca7
mov edx, dword [ebx + 0x2c]
movsx esi, ax
test byte [edx + 0x24], 0x60
je 0x466c7d
mov eax, dword [edx + 4]
lea ecx, [esi + esi*4]
test byte [eax + ecx*4 + 0x10], 0x60
je 0x466c7d
movzx eax, word [edx + 0x2a]
cmp ax, 0x40
jl 0x466c5f
or ecx, 0xffffffff
or edx, 0xffffffff
jmp 0x466c9d
xor ecx, ecx
cwde
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
add ecx, 0xffffffff
adc edx, 0xffffffff
jmp 0x466c9d
cmp esi, 0x40
mov eax, 0x3f
cmovge esi, eax
xor ecx, ecx
xor edx, edx
bts ecx, esi
cmp esi, 0x20
cmovae edx, ecx
xor ecx, edx
cmp esi, 0x40
cmovae edx, ecx
mov eax, dword [esp + 0x20]
or dword [eax + 0x38], ecx
or dword [eax + 0x3c], edx
mov edx, dword [ebx + 0xc]
mov esi, dword [esp + 0x30]
test edx, edx
je 0x466cb9
mov ecx, esi
call fcn.00469930
mov edx, dword [ebx + 0x10]
mov dword [ebx + 0xc], 0
test edx, edx
je 0x466cce
mov ecx, esi
call fcn.00469930
mov eax, dword [esp + 0x34]
or dword [ebx + 4], 0x800000
mov dword [ebx + 0x10], 0
mov byte [ebx], al
cmp edi, 1
jne 0x466a08
mov esi, dword [esp + 0x10]
mov edi, dword [ebp + 0x10]
test dword [ebx + 4], 0x400000
jne 0x466dc1
mov eax, dword [esi]
mov ebx, dword [edi + 4]
cmp dword [eax + 0x150], 0
je 0x466dc1
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x466dc1
mov eax, dword [eax + 0x10]
xor edx, edx
add eax, 0xc
cmp dword [eax], ecx
je 0x466d40
nop dword [eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x466d30
test edx, edx
js 0x466dc1
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0x4d
jne 0x466d4d
mov esi, dword [esi + 0x78]
jmp 0x466d78
mov esi, dword [ebx]
xor eax, eax
test esi, esi
jle 0x466dc1
mov edi, dword [edi + 0x1c]
lea ecx, [ebx + 0x34]
nop dword [eax + eax]
cmp edi, dword [ecx]
je 0x466d6e
inc eax
add ecx, 0x48
cmp eax, esi
jl 0x466d60
jmp 0x466dc1
mov edi, dword [ebp + 0x14]
lea eax, [eax + eax*8]
mov esi, dword [ebx + eax*8 + 0x18]
test esi, esi
je 0x466dc1
movsx eax, word [edi + 0x20]
test eax, eax
js 0x466d8f
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
jmp 0x466da9
movzx eax, word [esi + 0x28]
test ax, ax
js 0x466da4
cwde
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
jmp 0x466da9
mov eax, str.ROWID
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esi]
push eax
call fcn.00477c50
add esp, 8
cmp eax, 2
jne 0x466dc1
mov byte [edi], 0x77
mov ecx, dword [esp + 0x38]
mov eax, dword [ebp + 0x10]
inc dword [ecx + 0x10]
cmp ecx, eax
je 0x466dda
nop
mov ecx, dword [ecx + 0xc]
inc dword [ecx + 0x10]
cmp ecx, eax
jne 0x466dd0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret