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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
xor eax, eax
mov dword [esp + 0xc], ecx
push ebx
mov dword [esp + 0x40], eax
xor ebx, ebx
mov eax, dword [ecx]
mov ecx, dword [ebp + 0x10]
push esi
mov dword [esp + 0x28], eax
mov esi, edx
mov eax, dword [ebp + 0x14]
xor edx, edx
push edi
xor edi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0xa7
mov dword [eax + 0x1c], 0xffffffff
test esi, esi
je 0x49867e
test byte [ecx + 0x18], 6
je 0x4985b8
mov dword [esp + 0x14], edx
jmp 0x498680
mov ecx, dword [esp + 0x2c]
xor edi, edi
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x44], eax
test eax, eax
jle 0x498600
mov ebx, dword [ecx + 0x10]
nop dword [eax]
mov edx, dword [ebx]
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x498637
test ecx, ecx
jne 0x498649
mov edx, dword [esp + 0x2c]
mov eax, edi
mov esi, dword [esp + 0x14]
add eax, eax
mov ecx, dword [edx + 0x10]
mov edx, dword [ecx + eax*8 + 0xc]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], edx
xor ebx, ebx
cmp edi, eax
jne 0x498676
mov edx, str.main
sub esi, edx
nop dword [eax + eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x498661
test ecx, ecx
jne 0x498673
mov eax, dword [esp + 0x2c]
xor edi, edi
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x30], edx
mov edx, dword [eax]
mov dword [esp + 0x14], edx
jmp 0x498680
movzx eax, byte [eax + 0x57ac38]
movzx ecx, byte [ecx + 0x57ac38]
sub ecx, eax
jne 0x49864c
inc edx
jmp 0x4985d4
mov eax, dword [esp + 0x44]
inc edi
mov esi, dword [esp + 0x14]
add ebx, 0x10
cmp edi, eax
jge 0x4985fe
jmp 0x4985d0
movzx eax, byte [eax + 0x57ac38]
movzx ecx, byte [ecx + 0x57ac38]
sub ecx, eax
jne 0x498676
inc edx
jmp 0x498610
mov edx, dword [esp + 0x14]
xor edi, edi
jmp 0x498680
mov edx, esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 4]
mov dword [esp + 0x54], eax
test eax, eax
je 0x4989f6
xor ecx, ecx
lea ebx, [eax + 8]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ebx
cmp dword [eax], ecx
jle 0x4989c3
nop word [eax + eax]
mov eax, dword [ebx + 0x14]
mov esi, dword [ebx + 0x10]
mov dword [esp + 0x38], esi
test eax, eax
je 0x498750
test dword [eax + 4], 0x800
je 0x498750
mov ebx, dword [eax + 0x1c]
xor esi, esi
mov dword [esp + 0x44], 0
cmp dword [ebx], esi
jle 0x49873a
lea edi, [ebx + 8]
push edx
push dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, edi
call fcn.00498360
add esp, 8
test eax, eax
je 0x49871e
mov eax, dword [esp + 0x1c]
inc dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x28], 2
mov word [eax + 0x20], si
mov eax, 1
mov dword [esp + 0x44], eax
jmp 0x498722
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
inc esi
add edi, 0x14
cmp esi, dword [ebx]
jl 0x4986e3
mov ecx, dword [esp + 0x24]
test eax, eax
jne 0x49899c
cmp dword [ebp + 8], 0
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
je 0x4989a4
mov esi, dword [esp + 0x38]
test edx, edx
je 0x49879d
mov eax, dword [esp + 0x30]
cmp dword [esi + 0x3c], eax
jne 0x4989a4
test eax, eax
jne 0x49879d
mov ecx, 0x57ef30
mov eax, edx
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x498790
test dl, dl
je 0x49878c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x498790
add eax, 2
add ecx, 2
test dl, dl
jne 0x498770
xor eax, eax
jmp 0x498795
sbb eax, eax
or eax, 1
test eax, eax
jne 0x498a83
mov eax, dword [ebp + 8]
test eax, eax
je 0x49880f
mov edi, dword [ebx + 0xc]
mov edx, edi
test edi, edi
jne 0x4987af
mov edx, dword [esi]
mov esi, eax
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4987f0
test ecx, ecx
jne 0x498806
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xd0], 2
jb 0x49880f
test edi, edi
je 0x49880f
mov eax, dword [eax + 0x10c]
test eax, eax
je 0x49880f
mov ecx, dword [ebp + 0x14]
add ecx, 0x2c
cmp dword [eax], ecx
je 0x498809
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4987e3
jmp 0x49880f
movzx eax, byte [eax + 0x57ac38]
movzx ecx, byte [ecx + 0x57ac38]
sub ecx, eax
jne 0x498a7a
inc edx
jmp 0x4987b3
mov dword [eax], 0
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.00463600
mov edx, dword [esp + 0x38]
mov cl, al
xor edi, edi
mov byte [esp + 0xf], cl
mov dword [esp + 0x44], edi
movsx eax, word [edx + 0x22]
mov ebx, dword [edx + 4]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x40], eax
test eax, eax
jle 0x4988e9
cmp byte [ebx + 0xa], cl
jne 0x4988d1
mov edx, dword [ebx]
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x49891f
test ecx, ecx
jne 0x498931
mov edx, dword [esp + 0x10]
cmp edx, 1
jne 0x498965
mov eax, dword [esp + 0x1c]
test byte [eax + 0x24], 4
jne 0x4988c6
mov eax, dword [eax + 0x34]
test eax, eax
je 0x498965
mov ecx, dword [eax + 4]
xor ebx, ebx
mov dword [esp + 0x50], ecx
test ecx, ecx
jle 0x498965
mov edi, dword [eax]
nop dword [eax]
mov esi, dword [ebp + 0xc]
mov edx, dword [edi]
sub esi, edx
movzx eax, byte [edx]
movzx ecx, byte [esi + edx]
cmp eax, ecx
jne 0x498937
test eax, eax
jne 0x498949
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov cl, byte [esp + 0xf]
mov esi, dword [ebp + 0xc]
inc edi
add ebx, 0x10
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], ebx
cmp edi, eax
jl 0x498840
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
test edi, edi
jne 0x498a6d
test dword [edx + 0x1c], 0x200
mov edx, dword [esp + 0x14]
jne 0x498a8b
inc dword [esp + 0x28]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x24]
jmp 0x4989a8
movzx eax, byte [eax + 0x57ac38]
movzx ecx, byte [ecx + 0x57ac38]
sub ecx, eax
jne 0x4988c6
inc edx
jmp 0x498850
movzx ecx, byte [ecx + 0x57ac38]
movzx eax, byte [eax + 0x57ac38]
sub eax, ecx
jne 0x49894f
inc edx
jmp 0x4988a7
inc ebx
add edi, 8
cmp ebx, dword [esp + 0x50]
jl 0x4988a0
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc edx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
movsx eax, word [edx + 0x20]
cmp edi, eax
jne 0x49898d
mov ebx, dword [ebp + 0x14]
or eax, 0xffffffff
mov word [ebx + 0x20], ax
jmp 0x4988ed
mov ebx, dword [ebp + 0x14]
movzx eax, di
mov word [ebx + 0x20], ax
jmp 0x4988ed
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x54]
inc ecx
add ebx, 0x48
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ebx
cmp ecx, dword [eax]
jl 0x4986b0
mov esi, dword [ebp + 0x10]
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x4989ee
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebx + 0x2c]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebx + 0x10]
mov dword [ecx + 0x2c], eax
test byte [ebx + 0x24], 8
je 0x4989e7
or dword [ecx + 4], 0x100000
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x30], eax
test edi, edi
jne 0x498d42
test edx, edx
jne 0x498c4e
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x498b30
mov bl, byte [ecx + 0x94]
mov edi, dword [ebp + 8]
cmp byte [ecx + 0x95], dl
je 0x498aad
test dword [esi + 0x18], 0x400
je 0x498b33
test edi, edi
je 0x498a4f
mov esi, dword [eax]
mov edx, edi
sub esi, edi
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x498a94
test ecx, ecx
jne 0x498aaa
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov edx, dword [esp + 0x18]
cmp bl, 0x80
setne al
mov dword [ecx + 0x1c], eax
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
jmp 0x498b33
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
jmp 0x4989a8
mov ecx, dword [esp + 0x24]
jmp 0x4989a0
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
jmp 0x4989a8
movzx eax, byte [eax + 0x57ac38]
movzx ecx, byte [ecx + 0x57ac38]
sub ecx, eax
jne 0x498b33
inc edx
jmp 0x498a40
cmp bl, 0x80
je 0x498b00
test edi, edi
je 0x498afb
mov edx, 0x5855b4
mov esi, edi
sub esi, edx
nop
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x498ae6
test ecx, ecx
jne 0x498af8
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ecx + 0x1c], 1
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
jmp 0x498b33
movzx eax, byte [eax + 0x57ac38]
movzx ecx, byte [ecx + 0x57ac38]
sub ecx, eax
jne 0x498afb
inc edx
jmp 0x498ac0
cmp bl, 0x7f
je 0x498b33
test edi, edi
je 0x498b33
mov edx, 0x5875bc
sub edi, edx
nop dword [eax + eax]
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x498b76
test eax, eax
jne 0x498b88
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ecx + 0x1c], eax
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
test dword [eax + 0x18], 0x200
je 0x498ba0
test edi, edi
je 0x498ba0
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x498ba0
mov edx, str.excluded
sub edi, edx
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x498b8b
test eax, eax
jne 0x498b9d
mov eax, dword [ebx + 0x20]
mov edi, dword [eax + 0x18]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], edi
mov dword [eax + 0x1c], 2
jmp 0x498ba4
movzx ecx, byte [eax + 0x57ac38]
movzx eax, byte [esi + 0x57ac38]
sub ecx, eax
jne 0x498b30
inc edx
jmp 0x498b10
movzx ecx, byte [eax + 0x57ac38]
movzx eax, byte [esi + 0x57ac38]
sub ecx, eax
jne 0x498ba0
inc edx
jmp 0x498b51
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x498c4a
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.00463600
mov edx, dword [esp + 0x1c]
mov cl, al
inc dword [esp + 0x28]
xor ebx, ebx
mov byte [esp + 0xf], cl
mov eax, dword [edx + 0x3c]
movsx esi, word [edx + 0x22]
mov dword [esp + 0x30], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], esi
test esi, esi
jle 0x498c1e
cmp byte [eax + 0xa], cl
jne 0x498ce3
mov edx, dword [eax]
sub edi, edx
nop dword [eax]
movzx eax, byte [edx]
movzx esi, byte [edi + edx]
cmp eax, esi
jne 0x498cbc
test eax, eax
jne 0x498cce
mov edx, dword [esp + 0x1c]
movsx eax, word [edx + 0x20]
cmp ebx, eax
je 0x498d56
mov esi, dword [esp + 0x44]
mov edi, dword [ebp + 0xc]
cmp ebx, esi
jl 0x498c40
mov ecx, edi
call fcn.0049e030
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x498c40
test dword [edx + 0x1c], 0x200
mov eax, 0xffffffff
cmove ebx, eax
mov eax, ebx
cmp ebx, esi
jl 0x498d5b
mov ebx, dword [esp + 0x20]
cmp dword [esp + 0x28], 1
mov esi, dword [ebp + 0x10]
jne 0x498c7e
test ebx, ebx
je 0x498c7e
test byte [esi + 0x18], 0x28
jne 0x498c7e
mov ecx, dword [ebp + 0xc]
call fcn.0049e030
test eax, eax
je 0x498c7e
mov eax, dword [ebx + 0x10]
test dword [eax + 0x1c], 0x200
je 0x498e8e
test byte [esi + 0x18], 0x80
mov ebx, dword [ebp + 8]
je 0x498d1f
test ebx, ebx
jne 0x498d1f
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov dword [esp + 0x54], ecx
test ecx, ecx
jle 0x498d1c
lea esi, [eax + 0x14]
test byte [esi], 3
mov edi, dword [esi - 8]
jne 0x498d11
mov eax, dword [ebp + 0xc]
test edi, edi
jne 0x498cf8
neg eax
sbb eax, eax
jmp 0x498d09
movzx ecx, byte [eax + 0x57ac38]
movzx eax, byte [esi + 0x57ac38]
sub ecx, eax
jne 0x498cd4
inc edx
jmp 0x498bf0
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
mov cl, byte [esp + 0xf]
mov edi, dword [ebp + 0xc]
inc ebx
add eax, 0x10
mov dword [esp + 0x4c], eax
cmp ebx, esi
jl 0x498be0
jmp 0x498c22
test eax, eax
je 0x498d11
mov edx, eax
mov ecx, edi
call fcn.00463540
mov ecx, dword [esp + 0x54]
test eax, eax
je 0x498ea6
inc ebx
add esi, 0x14
cmp ebx, ecx
jl 0x498ca7
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov esi, dword [esi + 0xc]
inc dword [esp + 0x48]
mov dword [ebp + 0x10], esi
test esi, esi
je 0x498f8c
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
jmp 0x498683
mov esi, dword [ebp + 0x14]
cmp edi, 1
je 0x4990ec
mov ebx, dword [ebp + 8]
jmp 0x49905c
or ebx, 0xffffffff
or eax, ebx
mov ecx, dword [ebp + 0x14]
xor esi, esi
mov dword [esp + 0x20], esi
mov edi, 1
mov dword [esp + 0x10], edi
movzx eax, ax
mov esi, dword [ecx + 0x1c]
cmp esi, 2
jne 0x498dcd
mov edx, eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xd0], 2
jb 0x498da5
mov edi, dword [esp + 0x1c]
mov esi, ecx
mov dword [esp + 0x34], 0xa7
mov dword [esi + 0x2c], edi
mov edi, dword [esp + 0x10]
mov word [esi + 0x20], dx
jmp 0x4990e8
mov ecx, dword [esp + 0x1c]
call fcn.004aec90
mov esi, dword [ebp + 0x14]
movsx ecx, ax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x34], 0xb0
mov eax, dword [eax + 8]
add ecx, dword [eax + 0x24]
mov dword [esi + 0x1c], ecx
jmp 0x4990e8
mov dword [ecx + 0x2c], edx
mov edx, dword [esp + 0x18]
cmp byte [edx + 0x95], 0
je 0x498e1b
mov edi, dword [esp + 0x1c]
mov edx, eax
mov byte [ecx + 2], 0xa7
mov ecx, edi
mov dword [esp + 0x34], 0xb0
call fcn.004aec90
movsx ecx, ax
movsx eax, word [edi + 0x22]
mov edi, dword [esp + 0x10]
inc eax
imul eax, esi
mov esi, dword [ebp + 0x14]
add ecx, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
inc eax
add eax, ecx
mov dword [esi + 0x1c], eax
jmp 0x4990e8
mov word [ecx + 0x20], ax
mov dword [esp + 0x34], 0x4d
test ebx, ebx
jns 0x498e36
mov esi, ecx
mov byte [esi + 1], 0x44
jmp 0x4990e8
test esi, esi
jne 0x498e64
cmp ebx, 0x20
jl 0x498e50
mov esi, dword [ebp + 0x14]
or eax, 0xffffffff
or dword [edx + 0x8c], eax
jmp 0x4990e8
mov esi, dword [ebp + 0x14]
mov eax, edi
mov ecx, ebx
shl eax, cl
or dword [edx + 0x8c], eax
jmp 0x4990e8
cmp ebx, 0x20
jl 0x498e7a
mov esi, dword [ebp + 0x14]
or eax, 0xffffffff
or dword [edx + 0x90], eax
jmp 0x4990e8
mov esi, dword [ebp + 0x14]
mov eax, edi
mov ecx, ebx
shl eax, cl
or dword [edx + 0x90], eax
jmp 0x4990e8
mov esi, dword [ebp + 0x14]
or eax, 0xffffffff
mov edi, 1
mov word [esi + 0x20], ax
mov byte [esi + 1], 0x44
jmp 0x4990ec
mov esi, dword [ebp + 0x10]
lea eax, [ebx + ebx*4]
test byte [esi + 0x18], 1
mov edx, dword [esi + 8]
mov eax, dword [edx + eax*4 + 8]
jne 0x498edd
test byte [eax + 4], 0x10
je 0x498edd
push edi
push str.misuse_of_aliased_aggregate__s
push dword [esp + 0x20]
call fcn.004633a0
add esp, 0xc
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [eax + 4], 0x8000
je 0x498efd
test dword [esi + 0x18], 0x4000
je 0x498ef5
cmp esi, dword [esp + 0x3c]
je 0x498efd
push edi
push str.misuse_of_aliased_window_function__s
jmp 0x498ec5
mov cl, byte [eax]
cmp cl, 0xb0
jne 0x498f07
mov cl, byte [eax + 2]
cmp cl, 0xb1
jne 0x498f11
mov eax, dword [eax + 0x14]
jmp 0x498f1c
cmp cl, 0x8a
jne 0x498f3e
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
je 0x498f3e
push str.row_value_misused
push dword [esp + 0x1c]
call fcn.004633a0
add esp, 8
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x48]
mov esi, dword [ebp + 0x14]
mov edi, dword [esp + 0x18]
mov ecx, edi
push eax
push esi
push ebx
call fcn.00498180
add esp, 0xc
cmp byte [edi + 0xd0], 2
jb 0x4991d0
mov eax, dword [edi + 0x10c]
test eax, eax
je 0x4991d0
cmp dword [eax], esi
je 0x498f81
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x498f71
jmp 0x4991d0
mov dword [eax], 0
jmp 0x4991d0
mov esi, dword [ebp + 0x14]
test ebx, ebx
jne 0x499058
mov ebx, dword [esi + 4]
test bl, 0x40
je 0x49902d
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0xb1], 0
jne 0x499004
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x3c]
test dword [eax + 0x18], 0x10000
je 0x498ff9
mov eax, ecx
and eax, 0x10000001
cmp eax, 1
jne 0x498fdf
mov eax, ecx
and eax, 0x40000000
or eax, 0
jne 0x499004
and ecx, 0x20000000
or ecx, 0
je 0x498ff3
mov eax, 1
test eax, eax
jmp 0x499002
xor eax, eax
test eax, eax
jmp 0x499002
and ecx, 0x40000000
or ecx, 0
je 0x49902d
push dword [ebp + 0xc]
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.00462980
xorps xmm0, xmm0
mov byte [esi], 0x75
add esp, 0xc
movq qword [esi + 0x2c], xmm0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, 0x4000400
jne 0x499055
mov ecx, dword [esi + 8]
call fcn.0049dad0
test eax, eax
je 0x499055
or ebx, eax
mov byte [esi], 0xaa
mov dword [esi + 4], ebx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test edi, edi
mov ecx, str.ambiguous_column_name
mov eax, str.no_such_column
cmovne eax, ecx
mov ecx, dword [ebp + 0xc]
push ecx
test edx, edx
je 0x49908d
push ebx
push edx
push eax
push str._s:__s._s._s
push dword [esp + 0x2c]
call fcn.004633a0
add esp, 0x18
jmp 0x4990b8
test ebx, ebx
je 0x4990a6
push ebx
push eax
push str._s:__s._s
push dword [esp + 0x28]
call fcn.004633a0
add esp, 0x14
jmp 0x4990b8
push eax
push str._s:__s
push dword [esp + 0x24]
call fcn.004633a0
add esp, 0x10
mov edx, dword [esp + 0x18]
mov eax, esi
mov edx, dword [edx]
test byte [eax + 4], 1
jne 0x4990cd
mov ecx, dword [eax + 0x24]
test ecx, ecx
jg 0x4990d6
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4990c0
jmp 0x4990d9
mov dword [edx + 0x44], ecx
mov eax, dword [esp + 0x18]
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x3c]
inc dword [eax + 0x14]
mov ebx, dword [esp + 0x20]
movzx eax, word [esi + 0x20]
test ax, ax
js 0x499177
test ebx, ebx
je 0x499177
movsx esi, ax
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0x2c]
test byte [edx + 0x1c], 0x60
je 0x49914e
mov eax, dword [edx + 4]
mov ecx, esi
add ecx, ecx
test byte [eax + ecx*8 + 0xe], 0x60
je 0x49914e
movzx eax, word [edx + 0x22]
cmp ax, 0x40
jl 0x499130
or ecx, 0xffffffff
or edx, 0xffffffff
jmp 0x49916e
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 0x49916e
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
or dword [ebx + 0x38], ecx
or dword [ebx + 0x3c], edx
mov esi, dword [ebp + 0x14]
mov eax, dword [esi + 4]
test eax, 0x804000
jne 0x4991b5
mov edx, dword [esi + 0xc]
mov ebx, dword [esp + 0x2c]
test edx, edx
je 0x499196
mov ecx, ebx
call fcn.0049c740
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x10]
mov dword [esi + 0xc], 0
test edx, edx
je 0x4991ae
mov ecx, ebx
call fcn.0049c740
mov eax, dword [esi + 4]
mov dword [esi + 0x10], 0
mov ecx, dword [esp + 0x34]
or eax, 0x800000
mov byte [esi], cl
mov dword [esi + 4], eax
cmp edi, 1
jne 0x498ed1
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
cmp dword [eax + 0x168], 0
je 0x4992b4
mov bl, byte [esi]
cmp bl, 0xa7
je 0x4991ef
cmp bl, 0x4d
jne 0x4992b4
mov ecx, dword [ebp + 0x10]
mov esi, dword [esp + 0x30]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x4c], ecx
test esi, esi
je 0x4992b4
mov eax, dword [eax + 0x10]
xor edx, edx
add eax, 0xc
cmp dword [eax], esi
je 0x499227
inc edx
lea eax, [eax + 0x10]
mov ecx, edx
cmp dword [eax], esi
jne 0x499211
test ecx, ecx
js 0x4992b4
mov ecx, dword [esp + 0x4c]
cmp bl, 0x4d
jne 0x499234
mov esi, dword [edi + 0x78]
mov ebx, dword [ebp + 0x14]
jmp 0x49926d
mov esi, dword [ecx]
xor eax, eax
test esi, esi
jle 0x4992b4
mov ebx, dword [ebp + 0x14]
add ecx, 0x34
mov edi, dword [ebx + 0x1c]
nop dword [eax]
cmp edi, dword [ecx]
je 0x49925e
inc eax
add ecx, 0x48
cmp eax, esi
jl 0x499250
jmp 0x4992b4
mov esi, dword [esp + 0x4c]
lea eax, [eax + eax*8]
mov edi, dword [esp + 0x18]
mov esi, dword [esi + eax*8 + 0x18]
test esi, esi
je 0x4992b4
movsx ecx, word [ebx + 0x20]
test ecx, ecx
js 0x499283
mov eax, dword [esi + 4]
add ecx, ecx
mov eax, dword [eax + ecx*8]
jmp 0x49929e
movzx eax, word [esi + 0x20]
test ax, ax
js 0x499299
movsx ecx, ax
mov eax, dword [esi + 4]
add ecx, ecx
mov eax, dword [eax + ecx*8]
jmp 0x49929e
mov eax, str.ROWID
push edx
mov edx, dword [esi]
mov ecx, edi
push eax
call fcn.004acdf0
add esp, 8
cmp eax, 2
jne 0x4992b4
mov byte [ebx], 0x79
mov ecx, dword [esp + 0x3c]
mov eax, dword [ebp + 0x10]
inc dword [ecx + 0x10]
cmp ecx, eax
je 0x4992cc
mov ecx, dword [ecx + 0xc]
inc dword [ecx + 0x10]
cmp ecx, eax
jne 0x4992c2
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret