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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov ecx, dword [ebp + 0xc]
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x1c]
xor esi, esi
mov edx, dword [ebx]
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x1c], eax
mov eax, 0xa4
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x20], edx
mov dword [ebp - 8], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov dword [edi + 0x1c], 0xffffffff
test ecx, ecx
je 0x4f1e88
test byte [ebx + 0x18], 6
je 0x4f1e16
mov dword [ebp + 0xc], esi
jmp 0x4f1e88
mov ebx, dword [edx + 0x14]
xor esi, esi
test ebx, ebx
jle 0x4f1e55
mov edi, dword [edx + 0x10]
push ecx
push dword [edi]
call fcn.0052a4f0
add esp, 8
test eax, eax
je 0x4f1e3e
mov ecx, dword [ebp + 0xc]
inc esi
add edi, 0x10
cmp esi, ebx
jl 0x4f1e22
jmp 0x4f1e52
mov edx, dword [ebp - 0x20]
mov eax, esi
add eax, eax
mov ecx, dword [edx + 0x10]
mov eax, dword [ecx + eax*8 + 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp + 0x1c]
cmp esi, ebx
jne 0x4f1e83
push ecx
push str.main
call fcn.0052a4f0
mov ebx, dword [ebp + 0x18]
add esp, 8
xor esi, esi
test eax, eax
jne 0x4f1e88
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x1c], ecx
mov dword [ebp + 0xc], eax
jmp 0x4f1e88
xor esi, esi
mov ebx, dword [ebp + 0x18]
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x4f2174
xor edx, edx
lea eax, [ecx + 8]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
cmp dword [ecx], edx
jle 0x4f2151
lea esp, [esp]
mov ebx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x34], ecx
test ebx, ebx
je 0x4f1f40
test dword [ebx + 4], 0x800
je 0x4f1f40
mov ebx, dword [ebx + 0x1c]
xor esi, esi
mov dword [ebp - 0x30], 0
cmp dword [ebx], esi
jle 0x4f1f33
lea edi, [ebx + 4]
lea ecx, [ecx]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push edi
call fcn.0051c710
add esp, 0x10
test eax, eax
je 0x4f1f17
mov eax, dword [ebp - 0x14]
inc dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], 2
mov word [eax + 0x20], si
mov eax, 1
mov dword [ebp - 0x30], eax
jmp 0x4f1f1a
mov eax, dword [ebp - 0x30]
inc esi
add edi, 0x14
cmp esi, dword [ebx]
jl 0x4f1ee0
mov edx, dword [ebp - 0x18]
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x4f2136
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4f2136
jmp 0x4f1f43
mov esi, dword [ebp + 0x10]
cmp dword [ebp + 0xc], 0
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x3c], ebx
je 0x4f1f5b
mov ebx, dword [ebp - 0x1c]
cmp dword [ecx + 0x48], ebx
jne 0x4f2136
test esi, esi
je 0x4f1fcc
mov ebx, dword [eax + 0xc]
mov edx, ebx
test ebx, ebx
jne 0x4f1f6a
mov edx, dword [ecx]
mov edi, esi
sub edi, edx
mov edi, edi
movzx eax, byte [edx]
movzx esi, byte [edi + edx]
cmp eax, esi
jne 0x4f1fad
test eax, eax
jne 0x4f1fc3
mov eax, dword [ebp + 8]
cmp byte [eax + 0xc8], 2
jb 0x4f1fcc
test ebx, ebx
je 0x4f1fcc
mov eax, dword [eax + 0x110]
test eax, eax
je 0x4f1fcc
mov ecx, dword [ebp + 0x1c]
add ecx, 0x2c
nop
cmp dword [eax], ecx
je 0x4f1fc6
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4f1fa0
jmp 0x4f1fcc
movzx ecx, byte [eax + 0x58c540]
movzx eax, byte [esi + 0x58c540]
sub ecx, eax
jne 0x4f2130
inc edx
jmp 0x4f1f70
mov dword [eax], 0
inc dword [ebp - 0xc]
cmp dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x14]
cmovne eax, dword [ebp - 8]
mov esi, dword [ebp + 0x14]
push esi
mov dword [ebp - 8], eax
call fcn.0052a530
mov cl, al
xor edi, edi
mov eax, dword [ebp - 0x34]
add esp, 4
mov byte [ebp - 1], cl
mov dword [ebp - 0x30], edi
mov ebx, dword [eax + 4]
movsx eax, word [eax + 0x2a]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x2c], eax
test eax, eax
jle 0x4f2130
jmp 0x4f2010
cmp byte [ebx + 0xf], cl
jne 0x4f2095
mov edx, dword [ebx]
sub esi, edx
lea ecx, [ecx]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4f20b8
test ecx, ecx
jne 0x4f20ca
mov esi, dword [ebp - 0x10]
cmp esi, 1
jne 0x4f20f8
mov eax, dword [ebp - 0x14]
test byte [eax + 0x24], 4
jne 0x4f208c
mov eax, dword [eax + 0x34]
test eax, eax
je 0x4f20f8
mov ecx, dword [eax + 4]
xor ebx, ebx
mov dword [ebp - 0x40], ecx
test ecx, ecx
jle 0x4f20f8
mov edi, dword [eax]
lea esp, [esp]
mov esi, dword [ebp + 0x14]
mov edx, dword [edi]
sub esi, edx
movzx eax, byte [edx]
movzx ecx, byte [edx + esi]
cmp eax, ecx
jne 0x4f20d0
test eax, eax
jne 0x4f20e2
mov ebx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov cl, byte [ebp - 1]
mov esi, dword [ebp + 0x14]
inc edi
add ebx, 0x14
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x3c], ebx
cmp edi, eax
jl 0x4f2010
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], esi
jmp 0x4f2139
movzx eax, byte [eax + 0x58c540]
movzx ecx, byte [ecx + 0x58c540]
sub ecx, eax
jne 0x4f208c
inc edx
jmp 0x4f2020
movzx ecx, byte [ecx + 0x58c540]
movzx eax, byte [eax + 0x58c540]
sub eax, ecx
jne 0x4f20e5
inc edx
jmp 0x4f2077
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x40]
jl 0x4f2070
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x34]
inc esi
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 8], esi
movsx eax, word [eax + 0x28]
cmp edi, eax
jne 0x4f211e
mov edi, dword [ebp + 0x1c]
or eax, 0xffffffff
mov edx, dword [ebp - 0x18]
mov word [edi + 0x20], ax
mov eax, esi
jmp 0x4f213c
mov edx, dword [ebp - 0x18]
movzx eax, di
mov edi, dword [ebp + 0x1c]
mov word [edi + 0x20], ax
mov eax, dword [ebp - 0x14]
jmp 0x4f213c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x44]
inc edx
add eax, 0x48
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
cmp edx, dword [ecx]
jl 0x4f1eb0
test esi, esi
je 0x4f2174
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x2c], eax
test byte [esi + 0x24], 8
je 0x4f216e
or dword [edi + 4], 0x100000
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0xc], 0
mov ecx, dword [ebp - 0xc]
jne 0x4f243c
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4f243c
test ecx, ecx
jne 0x4f243c
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp dword [ecx + 0x78], ebx
je 0x4f223c
mov bl, byte [ecx + 0x90]
cmp bl, 0x7e
je 0x4f21f9
mov edx, 0x592808
mov esi, eax
sub esi, edx
lea esp, [esp]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4f21e1
test ecx, ecx
jne 0x4f21f3
mov ebx, dword [ebp + 8]
mov dword [edi + 0x1c], 1
mov ebx, dword [ebx + 0x78]
mov dword [ebp - 0x14], ebx
jmp 0x4f223c
movzx eax, byte [eax + 0x58c540]
movzx ecx, byte [ecx + 0x58c540]
sub ecx, eax
jne 0x4f21f6
inc edx
jmp 0x4f21c0
mov eax, dword [ebp + 0x10]
cmp bl, 0x7d
je 0x4f2239
mov edx, 0x59280c
mov esi, eax
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4f2224
test ecx, ecx
jne 0x4f2236
mov ebx, dword [ebp + 8]
mov dword [edi + 0x1c], ecx
mov ebx, dword [ebx + 0x78]
mov dword [ebp - 0x14], ebx
jmp 0x4f223c
movzx eax, byte [eax + 0x58c540]
movzx ecx, byte [ecx + 0x58c540]
sub ecx, eax
jne 0x4f2239
inc edx
jmp 0x4f2207
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x18]
test dword [eax + 0x18], 0x200
je 0x4f228a
mov edi, dword [eax + 8]
test edi, edi
je 0x4f228a
mov esi, dword [ebp + 0x10]
mov edx, str.excluded
sub esi, edx
lea esp, [esp]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4f22f5
test ecx, ecx
jne 0x4f2307
mov eax, dword [edi + 0x14]
mov ebx, dword [eax + 0x18]
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], ebx
mov dword [eax + 0x1c], 2
test ebx, ebx
je 0x4f2441
push dword [ebp + 0x14]
call fcn.0052a530
mov ecx, dword [ebx + 0x48]
add esp, 4
mov ebx, dword [ebx + 4]
xor esi, esi
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 1], al
mov dword [ebp - 0xc], 1
movsx edi, word [ecx + 0x2a]
mov dword [ebp - 0x3c], edi
test edi, edi
jle 0x4f2330
cmp byte [ebx + 0xf], al
jne 0x4f2328
mov edi, dword [ebp + 0x14]
mov edx, dword [ebx]
sub edi, edx
lea esp, [esp]
movzx ecx, byte [edx]
movzx eax, byte [edx + edi]
cmp ecx, eax
jne 0x4f230d
test ecx, ecx
jne 0x4f231f
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x3c]
movsx eax, word [ebx + 0x28]
cmp esi, eax
mov eax, 0xffffffff
cmove esi, eax
jmp 0x4f2333
movzx eax, byte [eax + 0x58c540]
movzx ecx, byte [ecx + 0x58c540]
sub ecx, eax
jne 0x4f228a
inc edx
jmp 0x4f2260
movzx eax, byte [eax + 0x58c540]
movzx ecx, byte [ecx + 0x58c540]
sub ecx, eax
jne 0x4f2322
inc edx
jmp 0x4f22d0
mov edi, dword [ebp - 0x3c]
mov al, byte [ebp - 1]
inc esi
add ebx, 0x14
cmp esi, edi
jl 0x4f22c0
mov ebx, dword [ebp - 0x14]
cmp esi, edi
jl 0x4f235d
push dword [ebp + 0x14]
call fcn.0051ac20
add esp, 4
test eax, eax
je 0x4f2355
test dword [ebx + 0x24], 0x200
mov eax, 0xffffffff
cmove esi, eax
cmp esi, edi
jge 0x4f2441
mov edi, dword [ebp + 0x1c]
inc dword [ebp - 0x10]
mov eax, dword [edi + 0x1c]
cmp eax, 2
jne 0x4f23ae
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0x18]
cmp byte [eax + 0xc8], 2
jb 0x4f2390
mov word [edi + 0x20], si
mov dword [edi + 0x2c], ebx
mov dword [ebp - 0x24], 0xa4
jmp 0x4f244a
mov eax, dword [edx + 8]
mov dword [ebp - 0x24], 0xad
mov eax, dword [eax + 0x18]
add eax, esi
or dword [edi + 4], 0x400000
mov dword [edi + 0x1c], eax
jmp 0x4f244a
test esi, esi
jns 0x4f23c9
mov byte [edi + 1], 0x44
mov dword [edi + 0x2c], ebx
mov word [edi + 0x20], si
mov dword [ebp - 0x24], 0x4d
jmp 0x4f2444
test eax, eax
jne 0x4f2410
cmp esi, 0x20
jl 0x4f23ee
mov ecx, dword [ebp + 8]
or eax, 0xffffffff
mov dword [ebp - 0x24], 0x4d
or dword [ecx + 0x88], eax
mov dword [edi + 0x2c], ebx
mov word [edi + 0x20], si
jmp 0x4f2444
mov ecx, esi
mov dword [ebp - 0x24], 0x4d
mov eax, 1
shl eax, cl
mov ecx, dword [ebp + 8]
or dword [ecx + 0x88], eax
mov dword [edi + 0x2c], ebx
mov word [edi + 0x20], si
jmp 0x4f2444
cmp esi, 0x20
jl 0x4f241a
or eax, 0xffffffff
jmp 0x4f2423
mov eax, 1
mov ecx, esi
shl eax, cl
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], 0x4d
or dword [ecx + 0x8c], eax
mov dword [edi + 0x2c], ebx
mov word [edi + 0x20], si
jmp 0x4f2444
mov edi, dword [ebp + 0x1c]
jmp 0x4f2447
mov edi, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0x18]
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp + 0x14]
test ebx, ebx
jne 0x4f2493
cmp ecx, 1
jne 0x4f2493
cmp dword [ebp - 8], ebx
je 0x4f2493
test byte [edx + 0x18], 0x28
jne 0x4f2493
push esi
call fcn.0051ac20
add esp, 4
test eax, eax
je 0x4f2493
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
test dword [eax + 0x24], 0x200
jne 0x4f2493
mov ebx, 1
mov byte [edi + 1], 0x44
or eax, 0xffffffff
mov dword [ebp - 0x10], ebx
mov word [edi + 0x20], ax
mov edi, dword [ebp + 0x18]
test byte [edi + 0x18], 0x80
je 0x4f2525
test ebx, ebx
jne 0x4f2757
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0x4f2530
mov ecx, dword [edi + 8]
mov dword [ebp - 0x3c], edx
mov eax, dword [ecx]
mov dword [ebp - 0x44], eax
test eax, eax
jle 0x4f252d
lea edi, [ecx + 0x10]
test byte [edi], 3
mov ebx, dword [edi - 8]
jne 0x4f24fd
test ebx, ebx
jne 0x4f24d9
mov ecx, esi
neg ecx
sbb ecx, ecx
jmp 0x4f24f9
test esi, esi
je 0x4f24fd
mov edx, ebx
sub esi, ebx
movzx ecx, byte [edx]
movzx eax, byte [edx + esi]
cmp ecx, eax
jne 0x4f2510
test ecx, ecx
jne 0x4f2522
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp + 0x14]
test ecx, ecx
je 0x4f254c
inc edx
add edi, 0x14
mov dword [ebp - 0x3c], edx
cmp edx, eax
jl 0x4f24c5
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp + 0x18]
jmp 0x4f252d
movzx eax, byte [eax + 0x58c540]
movzx ecx, byte [ecx + 0x58c540]
sub ecx, eax
jne 0x4f24f0
inc edx
jmp 0x4f24e1
test ebx, ebx
jne 0x4f2757
mov edx, dword [ebp + 0x10]
mov edi, dword [edi + 0xc]
inc dword [ebp - 0x38]
mov dword [ebp + 0x18], edi
test edi, edi
je 0x4f2632
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp - 8]
jmp 0x4f1e85
mov ecx, dword [ebp + 0x18]
lea eax, [edx + edx*4]
test byte [ecx + 0x18], 1
mov esi, dword [ecx + 8]
mov eax, dword [esi + eax*4 + 4]
jne 0x4f2582
test byte [eax + 4], 0x10
je 0x4f2582
push ebx
push str.misuse_of_aliased_aggregate__s
push dword [ebp + 8]
call fcn.0050dd30
add esp, 0xc
pop edi
pop esi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret
test dword [eax + 4], 0x8000
je 0x4f25a1
test dword [ecx + 0x18], 0x4000
je 0x4f2599
cmp ecx, dword [ebp - 0x28]
je 0x4f25a1
push ebx
push str.misuse_of_aliased_window_function__s
jmp 0x4f256b
mov cl, byte [eax]
cmp cl, 0xad
jne 0x4f25ab
mov cl, byte [eax + 2]
cmp cl, 0xae
jne 0x4f25b5
mov eax, dword [eax + 0x14]
jmp 0x4f25c0
cmp cl, 0x88
jne 0x4f25e1
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
je 0x4f25e1
push str.row_value_misused
push dword [ebp + 8]
call fcn.0050dd30
add esp, 8
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp + 0x1c]
push eax
push 0x56beb0
push edi
push edx
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.004fd4c0
add esp, 0x18
cmp byte [esi + 0xc8], 2
jb 0x4f28a9
mov eax, dword [esi + 0x110]
test eax, eax
je 0x4f28a9
cmp dword [eax], edi
je 0x4f2627
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4f2617
jmp 0x4f28a9
mov dword [eax], 0
jmp 0x4f28a9
test edx, edx
jne 0x4f276d
mov edi, dword [ebp + 0x1c]
mov ebx, dword [edi + 4]
test bl, 0x40
je 0x4f26b5
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xa5], dl
jne 0x4f268f
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x28]
test dword [eax + 0x18], 0x10000
je 0x4f2684
mov eax, ecx
and eax, 0x10000001
cmp eax, 1
jne 0x4f267c
mov eax, ecx
and eax, 0x40000000
or eax, edx
jne 0x4f268f
and ecx, 0x20000000
jmp 0x4f268a
and ecx, 0x40000000
or ecx, 0
je 0x4f26b5
push esi
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.004d8010
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 0x4f2762
mov edx, dword [edi + 8]
mov edi, str.true
mov esi, edx
sub edi, edx
lea ecx, [ecx]
movzx ecx, byte [esi]
movzx eax, byte [edi + esi]
cmp ecx, eax
jne 0x4f26fb
test ecx, ecx
jne 0x4f270d
mov ecx, dword [ebp + 0x1c]
mov eax, 0x10000000
or ebx, eax
mov eax, 1
pop edi
pop esi
mov dword [ecx + 4], ebx
mov byte [ecx], 0xa7
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [eax + 0x58c540]
movzx ecx, byte [ecx + 0x58c540]
sub ecx, eax
jne 0x4f2710
inc esi
jmp 0x4f26d0
mov esi, str.false
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4f2742
test ecx, ecx
jne 0x4f2754
mov ecx, dword [ebp + 0x1c]
mov eax, 0x20000000
or ebx, eax
mov eax, 1
pop edi
pop esi
mov dword [ecx + 4], ebx
mov byte [ecx], 0xa7
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [eax + 0x58c540]
movzx ecx, byte [ecx + 0x58c540]
sub ecx, eax
jne 0x4f2767
inc edx
jmp 0x4f2717
cmp ebx, 1
je 0x4f27d2
jmp 0x4f276a
mov ebx, dword [ebp - 0x10]
jmp 0x4f276d
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
test ebx, ebx
mov ecx, str.ambiguous_column_name
mov eax, str.no_such_column
cmovne eax, ecx
mov ecx, dword [ebp + 0x14]
push ecx
test esi, esi
je 0x4f279c
push edx
push esi
push eax
push str._s:__s._s._s
push dword [ebp + 8]
call fcn.0050dd30
add esp, 0x18
jmp 0x4f27c5
test edx, edx
je 0x4f27b4
push edx
push eax
push str._s:__s._s
push dword [ebp + 8]
call fcn.0050dd30
add esp, 0x14
jmp 0x4f27c5
push eax
push str._s:__s
push dword [ebp + 8]
call fcn.0050dd30
add esp, 0x10
mov eax, dword [ebp + 8]
mov byte [eax + 0x11], 1
mov eax, dword [ebp - 0x28]
inc dword [eax + 0x14]
mov edi, dword [ebp + 0x1c]
movzx eax, word [edi + 0x20]
test ax, ax
js 0x4f285e
cmp dword [ebp - 8], 0
je 0x4f285e
mov edx, dword [edi + 0x2c]
movsx esi, ax
test byte [edx + 0x24], 0x60
je 0x4f2835
mov eax, dword [edx + 4]
lea ecx, [esi + esi*4]
test byte [eax + ecx*4 + 0x10], 0x60
je 0x4f2835
movzx eax, word [edx + 0x2a]
cmp ax, 0x40
jl 0x4f2817
or ecx, 0xffffffff
or edx, 0xffffffff
jmp 0x4f2855
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 0x4f2855
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 [ebp - 8]
or dword [eax + 0x38], ecx
or dword [eax + 0x3c], edx
mov eax, dword [edi + 0xc]
mov esi, dword [ebp - 0x20]
test eax, eax
je 0x4f2872
push eax
push esi
call fcn.00511210
add esp, 8
mov eax, dword [edi + 0x10]
mov dword [edi + 0xc], 0
test eax, eax
je 0x4f288a
push eax
push esi
call fcn.00511210
add esp, 8
mov eax, dword [ebp - 0x24]
or dword [edi + 4], 0x800000
mov dword [edi + 0x10], 0
mov byte [edi], al
cmp ebx, 1
jne 0x4f2576
mov esi, dword [ebp + 8]
test dword [edi + 4], 0x400000
jne 0x4f2970
mov eax, dword [esi]
mov ebx, dword [ebp + 0x18]
cmp dword [eax + 0x150], 0
mov ebx, dword [ebx + 4]
je 0x4f2970
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4f2970
mov eax, dword [eax + 0x10]
xor edx, edx
add eax, 0xc
cmp dword [eax], ecx
je 0x4f28f2
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4f28e2
test edx, edx
js 0x4f2970
cmp byte [edi], 0x4d
jne 0x4f28fc
mov esi, dword [esi + 0x78]
jmp 0x4f2928
mov esi, dword [ebx]
xor eax, eax
test esi, esi
jle 0x4f2970
mov edi, dword [edi + 0x1c]
lea ecx, [ebx + 0x34]
lea ebx, [ebx]
cmp edi, dword [ecx]
je 0x4f291e
inc eax
add ecx, 0x48
cmp eax, esi
jl 0x4f2910
jmp 0x4f2970
mov edi, dword [ebp + 0x1c]
lea eax, [eax + eax*8]
mov esi, dword [ebx + eax*8 + 0x18]
test esi, esi
je 0x4f2970
movsx eax, word [edi + 0x20]
test eax, eax
js 0x4f293f
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
jmp 0x4f2959
movzx eax, word [esi + 0x28]
test ax, ax
js 0x4f2954
cwde
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
jmp 0x4f2959
mov eax, str.ROWID
push edx
push eax
push dword [esi]
push dword [ebp + 8]
call fcn.00503d50
add esp, 0x10
cmp eax, 2
jne 0x4f2970
mov byte [edi], 0x77
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp + 0x18]
inc dword [ecx + 0x10]
cmp ecx, eax
je 0x4f298a
lea ecx, [ecx]
mov ecx, dword [ecx + 0xc]
inc dword [ecx + 0x10]
cmp ecx, eax
jne 0x4f2980
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret