Function at 0x4f2190
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 0x4f2258
test byte [ebx + 0x18], 6
je 0x4f21e6
mov dword [ebp + 0xc], esi
jmp 0x4f2258
mov ebx, dword [edx + 0x14]
xor esi, esi
test ebx, ebx
jle 0x4f2225
mov edi, dword [edx + 0x10]
push ecx
push dword [edi]
call fcn.0052a8d0
add esp, 8
test eax, eax
je 0x4f220e
mov ecx, dword [ebp + 0xc]
inc esi
add edi, 0x10
cmp esi, ebx
jl 0x4f21f2
jmp 0x4f2222
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 0x4f2253
push ecx
push str.main
call fcn.0052a8d0
mov ebx, dword [ebp + 0x18]
add esp, 8
xor esi, esi
test eax, eax
jne 0x4f2258
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 0x4f2258
xor esi, esi
mov ebx, dword [ebp + 0x18]
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x4f2544
xor edx, edx
lea eax, [ecx + 8]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
cmp dword [ecx], edx
jle 0x4f2521
lea esp, [esp]
mov ebx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x34], ecx
test ebx, ebx
je 0x4f2310
test dword [ebx + 4], 0x800
je 0x4f2310
mov ebx, dword [ebx + 0x1c]
xor esi, esi
mov dword [ebp - 0x30], 0
cmp dword [ebx], esi
jle 0x4f2303
lea edi, [ebx + 4]
lea ecx, [ecx]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push edi
call fcn.0051cae0
add esp, 0x10
test eax, eax
je 0x4f22e7
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 0x4f22ea
mov eax, dword [ebp - 0x30]
inc esi
add edi, 0x14
cmp esi, dword [ebx]
jl 0x4f22b0
mov edx, dword [ebp - 0x18]
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x4f2506
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4f2506
jmp 0x4f2313
mov esi, dword [ebp + 0x10]
cmp dword [ebp + 0xc], 0
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x3c], ebx
je 0x4f232b
mov ebx, dword [ebp - 0x1c]
cmp dword [ecx + 0x48], ebx
jne 0x4f2506
test esi, esi
je 0x4f239c
mov ebx, dword [eax + 0xc]
mov edx, ebx
test ebx, ebx
jne 0x4f233a
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 0x4f237d
test eax, eax
jne 0x4f2393
mov eax, dword [ebp + 8]
cmp byte [eax + 0xc8], 2
jb 0x4f239c
test ebx, ebx
je 0x4f239c
mov eax, dword [eax + 0x110]
test eax, eax
je 0x4f239c
mov ecx, dword [ebp + 0x1c]
add ecx, 0x2c
nop
cmp dword [eax], ecx
je 0x4f2396
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4f2370
jmp 0x4f239c
movzx ecx, byte [eax + 0x58c4c0]
movzx eax, byte [esi + 0x58c4c0]
sub ecx, eax
jne 0x4f2500
inc edx
jmp 0x4f2340
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.0052a910
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 0x4f2500
jmp 0x4f23e0
cmp byte [ebx + 0xf], cl
jne 0x4f2465
mov edx, dword [ebx]
sub esi, edx
lea ecx, [ecx]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4f2488
test ecx, ecx
jne 0x4f249a
mov esi, dword [ebp - 0x10]
cmp esi, 1
jne 0x4f24c8
mov eax, dword [ebp - 0x14]
test byte [eax + 0x24], 4
jne 0x4f245c
mov eax, dword [eax + 0x34]
test eax, eax
je 0x4f24c8
mov ecx, dword [eax + 4]
xor ebx, ebx
mov dword [ebp - 0x40], ecx
test ecx, ecx
jle 0x4f24c8
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 0x4f24a0
test eax, eax
jne 0x4f24b2
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 0x4f23e0
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], esi
jmp 0x4f2509
movzx eax, byte [eax + 0x58c4c0]
movzx ecx, byte [ecx + 0x58c4c0]
sub ecx, eax
jne 0x4f245c
inc edx
jmp 0x4f23f0
movzx ecx, byte [ecx + 0x58c4c0]
movzx eax, byte [eax + 0x58c4c0]
sub eax, ecx
jne 0x4f24b5
inc edx
jmp 0x4f2447
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x40]
jl 0x4f2440
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 0x4f24ee
mov edi, dword [ebp + 0x1c]
or eax, 0xffffffff
mov edx, dword [ebp - 0x18]
mov word [edi + 0x20], ax
mov eax, esi
jmp 0x4f250c
mov edx, dword [ebp - 0x18]
movzx eax, di
mov edi, dword [ebp + 0x1c]
mov word [edi + 0x20], ax
mov eax, dword [ebp - 0x14]
jmp 0x4f250c
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 0x4f2280
test esi, esi
je 0x4f2544
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 0x4f253e
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 0x4f280c
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4f280c
test ecx, ecx
jne 0x4f280c
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp dword [ecx + 0x78], ebx
je 0x4f260c
mov bl, byte [ecx + 0x90]
cmp bl, 0x7e
je 0x4f25c9
mov edx, 0x592788
mov esi, eax
sub esi, edx
lea esp, [esp]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4f25b1
test ecx, ecx
jne 0x4f25c3
mov ebx, dword [ebp + 8]
mov dword [edi + 0x1c], 1
mov ebx, dword [ebx + 0x78]
mov dword [ebp - 0x14], ebx
jmp 0x4f260c
movzx eax, byte [eax + 0x58c4c0]
movzx ecx, byte [ecx + 0x58c4c0]
sub ecx, eax
jne 0x4f25c6
inc edx
jmp 0x4f2590
mov eax, dword [ebp + 0x10]
cmp bl, 0x7d
je 0x4f2609
mov edx, 0x59278c
mov esi, eax
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4f25f4
test ecx, ecx
jne 0x4f2606
mov ebx, dword [ebp + 8]
mov dword [edi + 0x1c], ecx
mov ebx, dword [ebx + 0x78]
mov dword [ebp - 0x14], ebx
jmp 0x4f260c
movzx eax, byte [eax + 0x58c4c0]
movzx ecx, byte [ecx + 0x58c4c0]
sub ecx, eax
jne 0x4f2609
inc edx
jmp 0x4f25d7
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x18]
test dword [eax + 0x18], 0x200
je 0x4f265a
mov edi, dword [eax + 8]
test edi, edi
je 0x4f265a
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 0x4f26c5
test ecx, ecx
jne 0x4f26d7
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 0x4f2811
push dword [ebp + 0x14]
call fcn.0052a910
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 0x4f2700
cmp byte [ebx + 0xf], al
jne 0x4f26f8
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 0x4f26dd
test ecx, ecx
jne 0x4f26ef
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 0x4f2703
movzx eax, byte [eax + 0x58c4c0]
movzx ecx, byte [ecx + 0x58c4c0]
sub ecx, eax
jne 0x4f265a
inc edx
jmp 0x4f2630
movzx eax, byte [eax + 0x58c4c0]
movzx ecx, byte [ecx + 0x58c4c0]
sub ecx, eax
jne 0x4f26f2
inc edx
jmp 0x4f26a0
mov edi, dword [ebp - 0x3c]
mov al, byte [ebp - 1]
inc esi
add ebx, 0x14
cmp esi, edi
jl 0x4f2690
mov ebx, dword [ebp - 0x14]
cmp esi, edi
jl 0x4f272d
push dword [ebp + 0x14]
call fcn.0051aff0
add esp, 4
test eax, eax
je 0x4f2725
test dword [ebx + 0x24], 0x200
mov eax, 0xffffffff
cmove esi, eax
cmp esi, edi
jge 0x4f2811
mov edi, dword [ebp + 0x1c]
inc dword [ebp - 0x10]
mov eax, dword [edi + 0x1c]
cmp eax, 2
jne 0x4f277e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0x18]
cmp byte [eax + 0xc8], 2
jb 0x4f2760
mov word [edi + 0x20], si
mov dword [edi + 0x2c], ebx
mov dword [ebp - 0x24], 0xa4
jmp 0x4f281a
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 0x4f281a
test esi, esi
jns 0x4f2799
mov byte [edi + 1], 0x44
mov dword [edi + 0x2c], ebx
mov word [edi + 0x20], si
mov dword [ebp - 0x24], 0x4d
jmp 0x4f2814
test eax, eax
jne 0x4f27e0
cmp esi, 0x20
jl 0x4f27be
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 0x4f2814
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 0x4f2814
cmp esi, 0x20
jl 0x4f27ea
or eax, 0xffffffff
jmp 0x4f27f3
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 0x4f2814
mov edi, dword [ebp + 0x1c]
jmp 0x4f2817
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 0x4f2863
cmp ecx, 1
jne 0x4f2863
cmp dword [ebp - 8], ebx
je 0x4f2863
test byte [edx + 0x18], 0x28
jne 0x4f2863
push esi
call fcn.0051aff0
add esp, 4
test eax, eax
je 0x4f2863
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
test dword [eax + 0x24], 0x200
jne 0x4f2863
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 0x4f28f5
test ebx, ebx
jne 0x4f2b27
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0x4f2900
mov ecx, dword [edi + 8]
mov dword [ebp - 0x3c], edx
mov eax, dword [ecx]
mov dword [ebp - 0x44], eax
test eax, eax
jle 0x4f28fd
lea edi, [ecx + 0x10]
test byte [edi], 3
mov ebx, dword [edi - 8]
jne 0x4f28cd
test ebx, ebx
jne 0x4f28a9
mov ecx, esi
neg ecx
sbb ecx, ecx
jmp 0x4f28c9
test esi, esi
je 0x4f28cd
mov edx, ebx
sub esi, ebx
movzx ecx, byte [edx]
movzx eax, byte [edx + esi]
cmp ecx, eax
jne 0x4f28e0
test ecx, ecx
jne 0x4f28f2
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp + 0x14]
test ecx, ecx
je 0x4f291c
inc edx
add edi, 0x14
mov dword [ebp - 0x3c], edx
cmp edx, eax
jl 0x4f2895
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp + 0x18]
jmp 0x4f28fd
movzx eax, byte [eax + 0x58c4c0]
movzx ecx, byte [ecx + 0x58c4c0]
sub ecx, eax
jne 0x4f28c0
inc edx
jmp 0x4f28b1
test ebx, ebx
jne 0x4f2b27
mov edx, dword [ebp + 0x10]
mov edi, dword [edi + 0xc]
inc dword [ebp - 0x38]
mov dword [ebp + 0x18], edi
test edi, edi
je 0x4f2a02
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp - 8]
jmp 0x4f2255
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 0x4f2952
test byte [eax + 4], 0x10
je 0x4f2952
push ebx
push str.misuse_of_aliased_aggregate__s
push dword [ebp + 8]
call fcn.0050e100
add esp, 0xc
pop edi
pop esi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret
test dword [eax + 4], 0x8000
je 0x4f2971
test dword [ecx + 0x18], 0x4000
je 0x4f2969
cmp ecx, dword [ebp - 0x28]
je 0x4f2971
push ebx
push str.misuse_of_aliased_window_function__s
jmp 0x4f293b
mov cl, byte [eax]
cmp cl, 0xad
jne 0x4f297b
mov cl, byte [eax + 2]
cmp cl, 0xae
jne 0x4f2985
mov eax, dword [eax + 0x14]
jmp 0x4f2990
cmp cl, 0x88
jne 0x4f29b1
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
je 0x4f29b1
push str.row_value_misused
push dword [ebp + 8]
call fcn.0050e100
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.004fd890
add esp, 0x18
cmp byte [esi + 0xc8], 2
jb 0x4f2c79
mov eax, dword [esi + 0x110]
test eax, eax
je 0x4f2c79
cmp dword [eax], edi
je 0x4f29f7
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4f29e7
jmp 0x4f2c79
mov dword [eax], 0
jmp 0x4f2c79
test edx, edx
jne 0x4f2b3d
mov edi, dword [ebp + 0x1c]
mov ebx, dword [edi + 4]
test bl, 0x40
je 0x4f2a85
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xa5], dl
jne 0x4f2a5f
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 0x4f2a54
mov eax, ecx
and eax, 0x10000001
cmp eax, 1
jne 0x4f2a4c
mov eax, ecx
and eax, 0x40000000
or eax, edx
jne 0x4f2a5f
and ecx, 0x20000000
jmp 0x4f2a5a
and ecx, 0x40000000
or ecx, 0
je 0x4f2a85
push esi
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.004d83d0
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 0x4f2b32
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 0x4f2acb
test ecx, ecx
jne 0x4f2add
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 + 0x58c4c0]
movzx ecx, byte [ecx + 0x58c4c0]
sub ecx, eax
jne 0x4f2ae0
inc esi
jmp 0x4f2aa0
mov esi, str.false
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4f2b12
test ecx, ecx
jne 0x4f2b24
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 + 0x58c4c0]
movzx ecx, byte [ecx + 0x58c4c0]
sub ecx, eax
jne 0x4f2b37
inc edx
jmp 0x4f2ae7
cmp ebx, 1
je 0x4f2ba2
jmp 0x4f2b3a
mov ebx, dword [ebp - 0x10]
jmp 0x4f2b3d
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 0x4f2b6c
push edx
push esi
push eax
push str._s:__s._s._s
push dword [ebp + 8]
call fcn.0050e100
add esp, 0x18
jmp 0x4f2b95
test edx, edx
je 0x4f2b84
push edx
push eax
push str._s:__s._s
push dword [ebp + 8]
call fcn.0050e100
add esp, 0x14
jmp 0x4f2b95
push eax
push str._s:__s
push dword [ebp + 8]
call fcn.0050e100
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 0x4f2c2e
cmp dword [ebp - 8], 0
je 0x4f2c2e
mov edx, dword [edi + 0x2c]
movsx esi, ax
test byte [edx + 0x24], 0x60
je 0x4f2c05
mov eax, dword [edx + 4]
lea ecx, [esi + esi*4]
test byte [eax + ecx*4 + 0x10], 0x60
je 0x4f2c05
movzx eax, word [edx + 0x2a]
cmp ax, 0x40
jl 0x4f2be7
or ecx, 0xffffffff
or edx, 0xffffffff
jmp 0x4f2c25
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 0x4f2c25
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 0x4f2c42
push eax
push esi
call fcn.005115e0
add esp, 8
mov eax, dword [edi + 0x10]
mov dword [edi + 0xc], 0
test eax, eax
je 0x4f2c5a
push eax
push esi
call fcn.005115e0
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 0x4f2946
mov esi, dword [ebp + 8]
test dword [edi + 4], 0x400000
jne 0x4f2d40
mov eax, dword [esi]
mov ebx, dword [ebp + 0x18]
cmp dword [eax + 0x150], 0
mov ebx, dword [ebx + 4]
je 0x4f2d40
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4f2d40
mov eax, dword [eax + 0x10]
xor edx, edx
add eax, 0xc
cmp dword [eax], ecx
je 0x4f2cc2
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4f2cb2
test edx, edx
js 0x4f2d40
cmp byte [edi], 0x4d
jne 0x4f2ccc
mov esi, dword [esi + 0x78]
jmp 0x4f2cf8
mov esi, dword [ebx]
xor eax, eax
test esi, esi
jle 0x4f2d40
mov edi, dword [edi + 0x1c]
lea ecx, [ebx + 0x34]
lea ebx, [ebx]
cmp edi, dword [ecx]
je 0x4f2cee
inc eax
add ecx, 0x48
cmp eax, esi
jl 0x4f2ce0
jmp 0x4f2d40
mov edi, dword [ebp + 0x1c]
lea eax, [eax + eax*8]
mov esi, dword [ebx + eax*8 + 0x18]
test esi, esi
je 0x4f2d40
movsx eax, word [edi + 0x20]
test eax, eax
js 0x4f2d0f
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
jmp 0x4f2d29
movzx eax, word [esi + 0x28]
test ax, ax
js 0x4f2d24
cwde
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
jmp 0x4f2d29
mov eax, str.ROWID
push edx
push eax
push dword [esi]
push dword [ebp + 8]
call fcn.00504120
add esp, 0x10
cmp eax, 2
jne 0x4f2d40
mov byte [edi], 0x77
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp + 0x18]
inc dword [ecx + 0x10]
cmp ecx, eax
je 0x4f2d5a
lea ecx, [ecx]
mov ecx, dword [ecx + 0xc]
inc dword [ecx + 0x10]
cmp ecx, eax
jne 0x4f2d50
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret